systemd-unit: Change env file name
This commit is contained in:
parent
25bb24930b
commit
d78e4ceffc
|
@ -599,7 +599,7 @@ class hbase_exporter():
|
|||
|
||||
|
||||
def hbase_read_write_test(self, zk_server):
|
||||
table = os.environ["HBASE_TABLE"]
|
||||
table = os.environ['HBASE_TABLE']
|
||||
key = "0x42devoops".encode('utf-8')
|
||||
pybase_client = pybase.NewClient(zk_server)
|
||||
cf = "t".encode('utf-8')
|
||||
|
|
|
@ -4,7 +4,7 @@ After=network-online.target
|
|||
|
||||
[Service]
|
||||
User=hdfs
|
||||
EnvironmentFile=/etc/env-hbase-exporter
|
||||
EnvironmentFile=/etc/systemd-env-hbase-exporter
|
||||
ExecStart=/usr/local/bin/hbase-exporter --zookeeper-server-address=${ZOOKEEPER_SERVER_1} \
|
||||
--zookeeper-server-address=${ZOOKEEPER_SERVER_2} \
|
||||
--zookeeper-server-address=${ZOOKEEPER_SERVER_3} \
|
||||
|
|
Loading…
Reference in New Issue