[ https://issues.apache.org/jira/browse/HBASE-21215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16662898#comment-16662898 ]
Sean Busbey commented on HBASE-21215: ------------------------------------- Default logging leaves a lot to be desired since the ZooKeeper noise is all mixed in with the program's expected output, but I think that's an HBCK2 thing and not an issue with this ticket: {code} hbase-3.0.0-SNAPSHOT busbey$ ./bin/hbase hbck --jar="$(echo ~/.m2/repository/org/apache/hbase/hbase-hbck2/1.0.0-SNAPSHOT/hbase-hbck2-1.0.0-SNAPSHOT.jar)" setTableState test ENABLED 2>/dev/null 16:39:58.361 [main] WARN org.apache.hadoop.util.NativeCodeLoader - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 16:39:58.775 [main] INFO org.apache.hadoop.hbase.zookeeper.ReadOnlyZKClient - Connect 0x687e99d8 to localhost:2181 with session timeout=90000ms, retries 30, retry interval 1000ms, keepAlive=60000ms 16:39:58.799 [ReadOnlyZKClient-localhost:2181@0x687e99d8] INFO org.apache.hadoop.hbase.shaded.org.apache.zookeeper.ZooKeeper - Client environment:zookeeper.version=3.4.10-39d3a4f269333c922ed3db283be479f9deacaa0f, built on 03/23/2017 10:13 GMT 16:39:58.800 [ReadOnlyZKClient-localhost:2181@0x687e99d8] INFO org.apache.hadoop.hbase.shaded.org.apache.zookeeper.ZooKeeper - Client environment:host.name=loaner-atx4968-mba 16:39:58.800 [ReadOnlyZKClient-localhost:2181@0x687e99d8] INFO org.apache.hadoop.hbase.shaded.org.apache.zookeeper.ZooKeeper - Client environment:java.version=1.8.0_181 16:39:58.800 [ReadOnlyZKClient-localhost:2181@0x687e99d8] INFO org.apache.hadoop.hbase.shaded.org.apache.zookeeper.ZooKeeper - Client environment:java.vendor=Oracle Corporation 16:39:58.800 [ReadOnlyZKClient-localhost:2181@0x687e99d8] INFO org.apache.hadoop.hbase.shaded.org.apache.zookeeper.ZooKeeper - Client environment:java.home=/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre 16:39:58.800 [ReadOnlyZKClient-localhost:2181@0x687e99d8] INFO org.apache.hadoop.hbase.shaded.org.apache.zookeeper.ZooKeeper - Client environment:java.class.path=/Users/busbey/.m2/repository/org/apache/hbase/hbase-hbck2/1.0.0-SNAPSHOT/hbase-hbck2-1.0.0-SNAPSHOT.jar:/Users/busbey/projects/hbase-project/hbase/hbase-assembly/target/hbase-3.0.0-SNAPSHOT/bin/../conf:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home//lib/tools.jar:/Users/busbey/projects/hbase-project/hbase/hbase-assembly/target/hbase-3.0.0-SNAPSHOT/bin/..:/Users/busbey/projects/hbase-project/hbase/hbase-assembly/target/hbase-3.0.0-SNAPSHOT/bin/../lib/shaded-clients/hbase-shaded-mapreduce-3.0.0-SNAPSHOT.jar:/Users/busbey/projects/hbase-project/hbase/hbase-assembly/target/hbase-3.0.0-SNAPSHOT/bin/../lib/client-facing-thirdparty/audience-annotations-0.5.0.jar:/Users/busbey/projects/hbase-project/hbase/hbase-assembly/target/hbase-3.0.0-SNAPSHOT/bin/../lib/client-facing-thirdparty/commons-logging-1.2.jar:/Users/busbey/projects/hbase-project/hbase/hbase-assembly/target/hbase-3.0.0-SNAPSHOT/bin/../lib/client-facing-thirdparty/findbugs-annotations-1.3.9-1.jar:/Users/busbey/projects/hbase-project/hbase/hbase-assembly/target/hbase-3.0.0-SNAPSHOT/bin/../lib/client-facing-thirdparty/htrace-core4-4.2.0-incubating.jar:/Users/busbey/projects/hbase-project/hbase/hbase-assembly/target/hbase-3.0.0-SNAPSHOT/bin/../lib/client-facing-thirdparty/log4j-1.2.17.jar:/Users/busbey/projects/hbase-project/hbase/hbase-assembly/target/hbase-3.0.0-SNAPSHOT/bin/../lib/client-facing-thirdparty/slf4j-api-1.7.25.jar:/Users/busbey/projects/hbase-project/hbase/hbase-assembly/target/hbase-3.0.0-SNAPSHOT/bin/../lib/client-facing-thirdparty/htrace-core-3.1.0-incubating.jar:/Users/busbey/projects/hbase-project/hbase/hbase-assembly/target/hbase-3.0.0-SNAPSHOT/bin/../lib/shaded-clients/hbase-shaded-client-3.0.0-SNAPSHOT.jar:/Users/busbey/projects/hbase-project/hbase/hbase-assembly/target/hbase-3.0.0-SNAPSHOT/bin/../lib/client-facing-thirdparty/slf4j-log4j12-1.7.25.jar 16:39:58.801 [ReadOnlyZKClient-localhost:2181@0x687e99d8] INFO org.apache.hadoop.hbase.shaded.org.apache.zookeeper.ZooKeeper - Client environment:java.library.path=/Users/busbey/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:. 16:39:58.801 [ReadOnlyZKClient-localhost:2181@0x687e99d8] INFO org.apache.hadoop.hbase.shaded.org.apache.zookeeper.ZooKeeper - Client environment:java.io.tmpdir=/var/folders/n9/nmmnl94n343bqxpgvk7w98s00000gn/T/ 16:39:58.801 [ReadOnlyZKClient-localhost:2181@0x687e99d8] INFO org.apache.hadoop.hbase.shaded.org.apache.zookeeper.ZooKeeper - Client environment:java.compiler=<NA> 16:39:58.801 [ReadOnlyZKClient-localhost:2181@0x687e99d8] INFO org.apache.hadoop.hbase.shaded.org.apache.zookeeper.ZooKeeper - Client environment:os.name=Mac OS X 16:39:58.801 [ReadOnlyZKClient-localhost:2181@0x687e99d8] INFO org.apache.hadoop.hbase.shaded.org.apache.zookeeper.ZooKeeper - Client environment:os.arch=x86_64 16:39:58.801 [ReadOnlyZKClient-localhost:2181@0x687e99d8] INFO org.apache.hadoop.hbase.shaded.org.apache.zookeeper.ZooKeeper - Client environment:os.version=10.13.6 16:39:58.801 [ReadOnlyZKClient-localhost:2181@0x687e99d8] INFO org.apache.hadoop.hbase.shaded.org.apache.zookeeper.ZooKeeper - Client environment:user.name=busbey 16:39:58.801 [ReadOnlyZKClient-localhost:2181@0x687e99d8] INFO org.apache.hadoop.hbase.shaded.org.apache.zookeeper.ZooKeeper - Client environment:user.home=/Users/busbey 16:39:58.801 [ReadOnlyZKClient-localhost:2181@0x687e99d8] INFO org.apache.hadoop.hbase.shaded.org.apache.zookeeper.ZooKeeper - Client environment:user.dir=/Users/busbey/projects/hbase-project/hbase/hbase-assembly/target/hbase-3.0.0-SNAPSHOT 16:39:58.803 [ReadOnlyZKClient-localhost:2181@0x687e99d8] INFO org.apache.hadoop.hbase.shaded.org.apache.zookeeper.ZooKeeper - Initiating client connection, connectString=localhost:2181 sessionTimeout=90000 watcher=org.apache.hadoop.hbase.zookeeper.ReadOnlyZKClient$$Lambda$11/170682283@3d92cdd4 16:39:58.843 [ReadOnlyZKClient-localhost:2181@0x687e99d8-SendThread(localhost:2181)] INFO org.apache.hadoop.hbase.shaded.org.apache.zookeeper.ClientCnxn - Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error) 16:39:58.871 [ReadOnlyZKClient-localhost:2181@0x687e99d8-SendThread(localhost:2181)] INFO org.apache.hadoop.hbase.shaded.org.apache.zookeeper.ClientCnxn - Socket connection established to localhost/127.0.0.1:2181, initiating session 16:39:58.884 [ReadOnlyZKClient-localhost:2181@0x687e99d8-SendThread(localhost:2181)] INFO org.apache.hadoop.hbase.shaded.org.apache.zookeeper.ClientCnxn - Session establishment complete on server localhost/127.0.0.1:2181, sessionid = 0x166a7f59cc40010, negotiated timeout = 40000 16:39:59.909 [main] INFO org.apache.hadoop.hbase.client.ConnectionImplementation - Closing master protocol: MasterService 16:39:59.910 [main] INFO org.apache.hadoop.hbase.zookeeper.ReadOnlyZKClient - Close zookeeper connection 0x687e99d8 to localhost:2181 16:39:59.911 [ReadOnlyZKClient-localhost:2181@0x687e99d8] INFO org.apache.hadoop.hbase.shaded.org.apache.zookeeper.ZooKeeper - Session: 0x166a7f59cc40010 closed 16:39:59.911 [ReadOnlyZKClient-localhost:2181@0x687e99d8-EventThread] INFO org.apache.hadoop.hbase.shaded.org.apache.zookeeper.ClientCnxn - EventThread shut down for session: 0x166a7f59cc40010 tableName=test, state=ENABLED {code} > Figure how to invoke hbck2; make it easy to find > ------------------------------------------------ > > Key: HBASE-21215 > URL: https://issues.apache.org/jira/browse/HBASE-21215 > Project: HBase > Issue Type: Sub-task > Components: amv2, hbck2 > Reporter: stack > Assignee: stack > Priority: Major > Fix For: 2.1.1 > > Attachments: HBASE-21215.branch-2.1.001.patch, > HBASE-21215.branch-2.1.002.patch > > > In > https://docs.google.com/document/d/1Oun4G3M5fyrM0OxXcCKYF8td0KD7gJQjnU9Ad-2t-uk/edit#, > the doc on hbck2 'form', one item to figure is how to invoke hbck2. Related, > how to make it easy to find? [~busbey] has some ideas (posted in doc). This > issue is for implementation. -- This message was sent by Atlassian JIRA (v7.6.3#76005)