You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Gavin (JIRA)" <ji...@apache.org> on 2018/08/01 06:22:21 UTC

[jira] [Issue Comment Deleted] (HBASE-19776) shell gives unfriendly errors for nonexistant table

     [ https://issues.apache.org/jira/browse/HBASE-19776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gavin updated HBASE-19776:
--------------------------
    Comment: was deleted

(was: A comment with security level 'jira-users' was removed.)

> 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
>            Priority: Major
>
> 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
(v7.6.3#76005)