Commit Graph

51 Commits

Author SHA1 Message Date
Björn Busse
ce8a99be20 protobuf: Add workaround for imports in generated files 2020-06-25 01:03:59 +02:00
Björn Busse
66679c8a8e Update requirements 2020-06-25 00:58:50 +02:00
Björn Busse
dfbbbef684 Add Makefile for protobuf bindings 2020-06-25 00:54:20 +02:00
Björn Busse
241b41cbcb Improve log messages, optionally remove hbck lockfile 2020-06-17 23:00:19 +02:00
Björn Busse
2e6e541d14 Move protobuf bindings to protobuf/ and add them to .gitignore 2020-06-17 18:00:04 +02:00
Björn Busse
a2cd13af23 Remove unnecessary import, Update TODO 2020-06-17 17:16:25 +02:00
Björn Busse
1030701cb5 Make exporter update rate and hbck frequency configurable, add args 2020-06-17 16:33:14 +02:00
Björn Busse
a890dbc154 Ask ZooKeeper directly for active HBase Master 2020-06-16 20:58:51 +02:00
Björn Busse
739cfc6b42 Rename some methods 2020-06-10 22:18:38 +02:00
Björn Busse
56af422a4b Change PATH for hbase-write.py 2020-06-10 21:51:10 +02:00
Björn Busse
47a1eb1f72 Add check if hbase is writeable 2020-06-10 21:49:30 +02:00
Björn Busse
a2c4ecc70d Add hbase-write script 2020-06-10 21:47:56 +02:00
Björn Busse
25f85cda33 Add happybase as requirement 2020-06-10 21:47:33 +02:00
Björn Busse
9c1b309164 zookeeper: Add health check 2020-06-09 17:22:52 +02:00
Björn Busse
58b34f86c4 hbase: Detect duplicate hbck 2020-06-08 23:06:32 +02:00
Björn Busse
e6e004e801 Update TODO 2020-06-08 16:13:47 +02:00
Björn Busse
ef38d5a417 jmx: Add option to relay all metrics 2020-06-08 15:53:57 +02:00
Björn Busse
dbd896eebe Bug fixes 2020-06-04 20:44:16 +02:00
Björn Busse
5af5afe57e Always convert num_inconsistencies to type int, add cli args, fix kazoo usage 2020-06-03 16:50:25 +02:00
Björn Busse
1d70df9e47 ZooKeeper: Initially try to connect to one of the given servers 2019-09-17 21:51:02 +02:00
Björn Busse
5899961e98 Improve argparse usage, take a variable amount of zookeeper servers 2019-09-17 20:51:13 +02:00
Björn Busse
86fa8e1335 Add prometheus exporter port to cli args 2019-09-17 13:34:13 +02:00
Björn Busse
1242adf613 You shall always write proper commit messages 2019-04-18 19:47:33 +02:00
Björn Busse
49467b6885 Update README 2019-04-15 17:20:52 +02:00
Björn Busse
7c27f4360c zookeeper: Add a listener and log events 2019-04-15 17:18:17 +02:00
Björn Busse
de010e9561 Check for existence of vars 2019-04-15 11:30:01 +02:00
Björn Busse
6948563812 Update requirements with kazoo 2019-04-13 01:16:00 +02:00
Björn Busse
37a13044d0 Add ZooKeeper class 2019-04-13 01:15:06 +02:00
Björn Busse
decb0bf9a8 Update TODO 2019-04-12 23:23:01 +02:00
Björn Busse
13f83685c7 Fix log msg 2019-04-12 23:18:13 +02:00
Björn Busse
b94f145c42 Fix log msg 2019-04-12 23:16:15 +02:00
Björn Busse
12ad6fa7a8 Return early if hbck fails 2019-04-12 23:12:22 +02:00
Björn Busse
d93f9d65c3 Log active master 2019-04-12 22:57:01 +02:00
Björn Busse
962ec23200 Use rstrip() on hostname 2019-04-12 22:47:48 +02:00
Björn Busse
8858b5d46f Fix import 2019-04-12 22:31:45 +02:00
Björn Busse
38ed83424c Whitespace changes 2019-04-12 21:47:58 +02:00
Björn Busse
408e3d8ac9 Fix import, add hbase up/health vars 2019-04-12 21:44:40 +02:00
Björn Busse
6138487566 Remove debug msg 2019-04-12 19:21:12 +02:00
Björn Busse
3f689740f4 Improve error handling, add which() and use it 2019-04-12 18:05:50 +02:00
Björn Busse
0ba0005892 Fix logging, add some vars 2019-04-12 05:04:15 +02:00
Björn Busse
e2a650e9f6 Add and rename some vars 2019-04-11 13:39:58 +02:00
Björn Busse
17fbfc4376 hbase-hbck: Change timer to 20 minutes 2019-04-10 21:04:46 +02:00
Björn Busse
d8ce2293f5 Only compare the end of our jmx keys since the prefixes change 2019-04-10 16:19:46 +02:00
Björn Busse
46ff5e3f02 Use logger consistently 2019-04-10 15:33:00 +02:00
Björn Busse
bac1723bb4 Update README 2019-04-10 14:49:46 +02:00
Björn Busse
8d1a2cab37 Change service user to hdfs 2019-04-10 13:14:37 +02:00
Björn Busse
a2b179459f Do not use sudo for privilege escalation 2019-04-10 13:12:14 +02:00
Björn Busse
fbe73920ef systemd-service: Move user to the right section, change type to lowercase 2019-04-10 12:22:53 +02:00
Björn Busse
4463c38562 systemd-timer: Change service name 2019-04-10 12:21:50 +02:00
Björn Busse
14483ad274 README: Fix typo 2019-04-04 15:55:45 +02:00