Update README
This commit is contained in:
parent
e32816a1dc
commit
d63eba51c3
11
README.md
11
README.md
@ -16,10 +16,10 @@ Marking Hbase unhealthy requires one of the following conditions to be true
|
|||||||
- A ZooKeeper leader can not be determined
|
- A ZooKeeper leader can not be determined
|
||||||
|
|
||||||
|
|
||||||
### Dependencies
|
### Build/Install Dependencies
|
||||||
For python module requirements see requirements.txt
|
For python module requirements see requirements.txt
|
||||||
```sh
|
```sh
|
||||||
$ sudo dnf/pkg install python36
|
$ sudo dnf/pkg install python3
|
||||||
```
|
```
|
||||||
|
|
||||||
As the user executing the exporter (e.g. hdfs):
|
As the user executing the exporter (e.g. hdfs):
|
||||||
@ -35,12 +35,17 @@ Install the protobuf compiler
|
|||||||
$ sudo dnf/pkg install protobuf-c protobuf-devel
|
$ sudo dnf/pkg install protobuf-c protobuf-devel
|
||||||
```
|
```
|
||||||
|
|
||||||
### Build
|
#### Build the protobuf bindings
|
||||||
To generate the necessary HBase Python Protobuf bindings, run make
|
To generate the necessary HBase Python Protobuf bindings, run make
|
||||||
```
|
```
|
||||||
$ make
|
$ make
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Install the protobuf bindings
|
||||||
|
```
|
||||||
|
$ cp -R hbase-protobuf-python /usr/local/lib
|
||||||
|
```
|
||||||
|
|
||||||
### Run
|
### Run
|
||||||
The exporter needs to know about the ZooKeeper servers to connect to, so start
|
The exporter needs to know about the ZooKeeper servers to connect to, so start
|
||||||
the exporter with e.g.
|
the exporter with e.g.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user