Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add metric to count connected clients to ganglia zookeeper module #9

Closed
wants to merge 1 commit into from

Conversation

maplebed
Copy link

@maplebed maplebed commented Dec 5, 2013

zhaxiancheng pushed a commit to zhaxiancheng/zookeeper that referenced this pull request Sep 8, 2016
ivmaykov pushed a commit to ivmaykov/zookeeper that referenced this pull request Oct 15, 2018
…ed snapshot and logs

Summary:
This is a tool used to check the integrity of downloaded files, it will check:

1. whether the logs file covers the last zxid of snapshot
2. whether the logs file are continuous

Since we don't know last processed zxid during epoch changing, we can not verify
whether there is data missing or not during epoch changing, in the future we may
rely on the digest hash to verify the integrity in ZooKeeper itself when loading data.

Test Plan:
Download the latest snapshot:
$ buck-out/dev/gen/zeus/tools/backup_manager.par download -d ~/temp/data_dir -s snapshot.2a001a34d0.snappy -e zeus-globalwo-49 hdfs -p hdfs://dw-snc1-dfsiron.VOL6:9000/namespace/zeus_test/

Build the tool and check the integrity:
$ buck build src/contrib/fatjar:
$ buck-out/gen/src/contrib/fatjar/zkcli/zkcli --x datadirCheck ~/temp/data_dir

Output:
the data in data_dir is intact, last zxid is: 0x2e00bf84bc

Reviewers: #zeus, jdb, br33d, nixon

Reviewed By: nixon

Subscribers: nixon, zeus-diffs@, suhas, thom

Differential Revision: https://phabricator.intern.facebook.com/D4188770

Tasks: 14043038, 14409213

Signature: t1:4188770:1480963033:8e528317bbd67d6ed9a6ca6cebad35caa87582ee
@anmolnar anmolnar closed this Jan 30, 2019
ztzg pushed a commit to ztzg/zookeeper that referenced this pull request Nov 20, 2019
Use IZooKeeper instead of ZooKeeper directly to permit mocking.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants