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

HBASE-23021 [hbase-operator-tools] README edits in prep for release #32

Closed
wants to merge 1 commit into from

Conversation

@saintstack
Copy link
Contributor

saintstack commented Sep 13, 2019

No description provided.


To assign the namespace table region, you cannot use the shell. If you use the shell, it will fail with a `PleaseHoldException` because the master is not yet up (it is waiting for the namepace table to come online before it declares itself ‘up’). You have to use the `HBCK2` _assigns_ command. To assign, you will need the namespace encoded name. It shows in the log quoted above: i.e. _725a0fe6c2c869d3d0a9ed82bfa80fa3_ in this case. You will also have to pass the -skip command to ‘skip’ the master version check (without it, your `HBCK2` invocation will also elicit the above `PleaseHoldException` because the master is not yet up). Here is an example adding an assign of the namespace table:
```$ HBASE_CLASSPATH_PREFIX=~/checkouts/hbase-operator-tools/hbase-hbck2/target/hbase-hbck2-1.0.0-SNAPSHOT.jar ./bin/hbase org.apache.hbase.HBCK2 -skip assigns 725a0fe6c2c869d3d0a9ed82bfa80fa3```
```
$ HBASE_CLASSPATH_PREFIX=~/checkouts/hbase-operator-tools/hbase-hbck2/target/hbase-hbck2-1.0.0-SNAPSHOT.jar ./bin/hbase org.apache.hbase.HBCK2 -skip assigns 725a0fe6c2c869d3d0a9ed82bfa80fa3

This comment has been minimized.

Copy link
@busbey

busbey Sep 13, 2019

Contributor

We back to this instead of hbase hbck -j ?

This comment has been minimized.

Copy link
@saintstack

saintstack Sep 13, 2019

Author Contributor

Thats wrong. Thats old doc. Let me fix. Thanks.

@asf-ci

This comment has been minimized.

Copy link

asf-ci commented Sep 13, 2019

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/PreCommit-HBASE-OPERATOR-TOOLS-Build/103/

Main changes:

 * Underline how hbck1 differs from hbck2 and hbck2 philosophy.
 * Make entry and section transitions ore palatable.
 * Try to talk up repair process. Explain fix hbase:meta first and then
 everything else. Bulk up general rules.
@saintstack saintstack force-pushed the saintstack:HBASE-23021 branch from f000123 to 139d0e0 Sep 13, 2019
@saintstack

This comment has been minimized.

Copy link
Contributor Author

saintstack commented Sep 13, 2019

New push addresses what @busbey found (and checkstyle complaint).

@asf-ci

This comment has been minimized.

Copy link

asf-ci commented Sep 13, 2019

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/PreCommit-HBASE-OPERATOR-TOOLS-Build/104/

@busbey
busbey approved these changes Sep 13, 2019
@busbey

This comment has been minimized.

Copy link
Contributor

busbey commented Sep 13, 2019

For some reason merging this is failing without an explanation. Will check again when at a laptop.

@saintstack saintstack closed this Sep 13, 2019
@saintstack

This comment has been minimized.

Copy link
Contributor Author

saintstack commented Sep 13, 2019

It is failing because I just pushed locally instead.... Thanks for review @busbey

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.