From e32816a1dc442e5d9037554f392c98e388e1edf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Busse?= Date: Thu, 19 Nov 2020 15:30:38 +0100 Subject: [PATCH] Update README --- README.md | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 5f8269f..78a50cf 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,10 @@ For python module requirements see requirements.txt $ sudo dnf/pkg install python36 ``` -As the user executing the exporter: +As the user executing the exporter (e.g. hdfs): ```sh -$ pip3[.6] install --user -r requirements.txt +$ sudo su - hdfs +$ pip3 install --user -r requirements.txt ``` The protobuf compiler is necessary to build the required bindings for Python @@ -50,6 +51,7 @@ $ hbase-exporter --zookeeper-server-address=zk-1.acme.internal --export-refresh-rate=60 --hbck-refresh-rate=1200 ``` +or use the systemd-unit and configure the zookeeper servers and refresh rates via the supplied environment file Run 'hbase-exporter --help' for all arguments ``` @@ -99,10 +101,3 @@ To see the log ``` $ sudo journalctl -afn100 -uhbase-exporter ``` - -## Issues -Import paths do not work in generated protobufs when used from a subdir
-https://github.com/protocolbuffers/protobuf/issues/1491
-The solution used here is mentioned in the comments:
-https://github.com/protocolbuffers/protobuf/issues/1491#issuecomment-547504972
-Unfortunately querying the active namenode requires superuser privileges