首页 新闻 会员 周边 捐助

java 远程连接 hbase ,链接不上

0
悬赏园豆:20 [已关闭问题] 关闭于 2015-11-04 09:08

log4j:WARN No appenders could be found for logger (org.apache.hadoop.hbase.HBaseConfiguration).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
org.apache.hadoop.hbase.client.RetriesExhaustedException: Can't get the locations
at org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.getRegionLocations(RpcRetryingCallerWithReadReplicas.java:301)
at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:131)
at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:56)
at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java:179)
at org.apache.hadoop.hbase.client.ClientScanner.call(ClientScanner.java:287)
at org.apache.hadoop.hbase.client.ClientScanner.nextScanner(ClientScanner.java:267)
at org.apache.hadoop.hbase.client.ClientScanner.initializeScannerInConstruction(ClientScanner.java:139)
at org.apache.hadoop.hbase.client.ClientScanner.<init>(ClientScanner.java:134)
at org.apache.hadoop.hbase.client.HTable.getScanner(HTable.java:763)
at org.apache.hadoop.hbase.MetaTableAccessor.fullScan(MetaTableAccessor.java:606)
at org.apache.hadoop.hbase.MetaTableAccessor.tableExists(MetaTableAccessor.java:364)
at org.apache.hadoop.hbase.client.HBaseAdmin.tableExists(HBaseAdmin.java:276)
at org.apache.hadoop.hbase.client.HBaseAdmin.tableExists(HBaseAdmin.java:286)
at com.tofax.hbase.HbaseTest.createTable(HbaseTest.java:43)
at com.tofax.hbase.HbaseTest.main(HbaseTest.java:158)

top_雨落的主页 top_雨落 | 初学一级 | 园豆:183
提问于:2015-11-03 11:28
< >
分享
所有回答(1)
0

提示,别就把错误提出来,没意义,贴一些你出问题的代码

稳稳的河 | 园豆:4216 (老鸟四级) | 2015-11-03 12:58
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册