AnsweredAssumed Answered

HBase hbck and other issues

Question asked by auchan on Jun 8, 2017
Latest reply on Jun 19, 2017 by maprcommunity

When trying to run hbase hbck on Mapr 5.2.1 sandbox VM, I get the following error:

[mapr@maprdemo ~]$ hbase hbck
HBaseFsck command line options:
2017-06-08 22:54:22,390 INFO [main] util.HBaseFsck: Launching hbck
2017-06-08 22:54:22,402 INFO [main] client.ConnectionFactory: ConnectionFactory receives mapr.hbase.default.db(hbase), set clusterType(HBASE_ONLY), user(mapr), hbase_admin_connect_at_construction(false)
Exception in thread "main" java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: hbase:meta
at org.apache.hadoop.fs.Path.initialize(Path.java:217)
at org.apache.hadoop.fs.Path.<init>(Path.java:183)
at org.apache.hadoop.fs.Path.<init>(Path.java:92)
at com.mapr.fs.hbase.MapRTableMappingRules.makePath(MapRTableMappingRules.java:312)
at com.mapr.fs.hbase.MapRTableMappingRules.getTablePath(MapRTableMappingRules.java:293)
at com.mapr.fs.hbase.MapRTableMappingRules.getMaprTablePath(MapRTableMappingRules.java:264)
at com.mapr.fs.hbase.MapRTableMappingRules.isMapRTable(MapRTableMappingRules.java:217)
at org.apache.hadoop.hbase.client.mapr.BaseTableMappingRules.isMapRTable(BaseTableMappingRules.java:106)
at org.apache.hadoop.hbase.client.HTable.initIfMapRTableImpl(HTable.java:490)
at org.apache.hadoop.hbase.client.HTable.initIfMapRTable(HTable.java:473)
at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:349)
at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.getTable(ConnectionManager.java:762)
at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.getTable(ConnectionManager.java:744)
at org.apache.hadoop.hbase.util.HBaseFsck.connect(HBaseFsck.java:506)
at org.apache.hadoop.hbase.util.HBaseFsck.exec(HBaseFsck.java:4658)
at org.apache.hadoop.hbase.util.HBaseFsck$HBaseFsckTool.run(HBaseFsck.java:4484)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:4472)
Caused by: java.net.URISyntaxException: Relative path in absolute URI: hbase:meta
at java.net.URI.checkPath(URI.java:1804)
at java.net.URI.<init>(URI.java:752)
at org.apache.hadoop.fs.Path.initialize(Path.java:214)
... 18 more
2017-06-08 22:54:22,569 INFO [Thread-3] util.HBaseFsck: Finishing hbck
[mapr@maprdemo ~]$

 


I'm also seeing issues where I can view tables from the hbase shell 'list' command, but they are not available from the MapR console hbase portion being managed by warden.  These same tables arent viewable from running the hbase zkcli ls /hbase command either.

 

Where can I find details on how hue and hbase shell views HBase tables vs. what's being shown by the MapR console and hbase zkcli 'ls /hbase' command?

 

Thanks

Outcomes