天天看点

org.apache.hadoop.hbase.client.RetriesExhaustedException: Can't get the locations

Hbase API操作表时报出异常

Exception in thread “main” org.apache.hadoop.hbase.client.RetriesExhaustedException: Can’t get the locations
org.apache.hadoop.hbase.client.RetriesExhaustedException: Can't get the locations
问题解决:
其他博客中所说的要在/etc/hosts中添加的映射关系已经添加,所以不是这里的问题
org.apache.hadoop.hbase.client.RetriesExhaustedException: Can't get the locations
使用ping 命令在cmd中尝试网络连接,也可以进行ping通