hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Drob (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-19776) shell gives unfriendly errors for nonexistant table
Date Thu, 11 Jan 2018 22:41:00 GMT

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

Mike Drob edited comment on HBASE-19776 at 1/11/18 10:40 PM:

Beat to the punch by [~sergey.soldatov] on HBASE-19775

was (Author: mdrob):
Beat to the punch by [~romil.choksi] on 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

View raw message