AsyncRequestFutureImpl:490 - Cannot get replica 0 location for .....................................
org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException: Failed 1 action: xxx:xxxxx 1 time, servers with issues: null
at org.apache.hadoop.hbase.client.BatchErrors.makeException(BatchErrors.java:54)
at org.apache.hadoop.hbase.client.AsyncRequestFutureImpl.getErrors(AsyncRequestFutureImpl.java:1204)
at org.apache.hadoop.hbase.client.HTable.batch(HTable.java:453)
at org.apache.hadoop.hbase.client.HTable.put(HTable.java:551)
如下图,看到这个错误得时候一脸懵逼,根本不知道发生了什么。错误提示也很不明确;
下面我们debug一步步看下,问题到底出在哪里,可以看到其实debug得时候,错误信息是能够直观看出来得,tableNotFound
最终修改成小写得表名写入就OK了