Remove unnecessary import, Update TODO
This commit is contained in:
parent
1030701cb5
commit
a2cd13af23
|
@ -7,6 +7,8 @@
|
||||||
#
|
#
|
||||||
# TODO:
|
# TODO:
|
||||||
#
|
#
|
||||||
|
# * Natively write to hbase instead of writing via Thrift
|
||||||
|
#
|
||||||
# * Remove timestamp from log msg or make them optional,
|
# * Remove timestamp from log msg or make them optional,
|
||||||
# we already have it in the journal -
|
# we already have it in the journal -
|
||||||
# at least when not running in a container
|
# at least when not running in a container
|
||||||
|
@ -22,7 +24,6 @@ import argparse
|
||||||
from bs4 import BeautifulSoup
|
from bs4 import BeautifulSoup
|
||||||
from flatten_json import flatten
|
from flatten_json import flatten
|
||||||
import datetime as dt
|
import datetime as dt
|
||||||
from google.protobuf import text_format
|
|
||||||
import io
|
import io
|
||||||
import json
|
import json
|
||||||
from kazoo.client import KazooClient
|
from kazoo.client import KazooClient
|
||||||
|
@ -719,7 +720,7 @@ if __name__ == '__main__':
|
||||||
run_hbck = True
|
run_hbck = True
|
||||||
|
|
||||||
hbase_active_master = hbase_exporter.zk_active_master()
|
hbase_active_master = hbase_exporter.zk_active_master()
|
||||||
logging.info("hbase: Active master: " + hbase_active_master)
|
logging.debug("hbase: Active master: {0}".format(hbase_active_master))
|
||||||
|
|
||||||
zk.active_servers(zk_server)
|
zk.active_servers(zk_server)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue