[
https://issues.apache.org/jira/browse/HBASE-19776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike Drob resolved HBASE-19776.
-------------------------------
Resolution: Duplicate
Fix Version/s: (was: 2.0.0-beta-2)
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
(v6.4.14#64029)