You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sergey Soldatov (JIRA)" <ji...@apache.org> on 2018/01/11 23:04:00 UTC

[jira] [Commented] (HBASE-19776) shell gives unfriendly errors for nonexistant table

    [ https://issues.apache.org/jira/browse/HBASE-19776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16323167#comment-16323167 ] 

Sergey Soldatov commented on HBASE-19776:
-----------------------------------------

Just in case, actually that scary error more related to HBASE-19774, but we see it because HBASE-19775.

> shell gives unfriendly errors for nonexistant table
> ---------------------------------------------------
>
>                 Key: HBASE-19776
>                 URL: https://issues.apache.org/jira/browse/HBASE-19776
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Mike Drob
>
> When attempting operations against a non-existent table, some of the errors that we get are very unintuitive.
> {noformat}
> $ bin/hbase shell -n <<< "count 'no_such_table'"
> 2018-01-11 16:22:54,499 WARN  [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
> Took 0.4709 seconds                                                                                                                                                                                                                           java exception
> ERROR Java::OrgApacheHadoopHbase::TableNotFoundException: Region of 'hbase:namespace,,1515709347596.af9aaacccc132e8baa3dcf2874ce6d93.' is expected in the table of 'no_such_table', but hbase:meta says it is in the table of 'hbase:namespace'. hbase:meta might be damaged.
> {noformat}
> Similar errors from scan, and from interactive shell instead on noninteractive mode.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)