hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Heng Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14254) Wrong error message when throwing NamespaceNotFoundException in shell
Date Wed, 19 Aug 2015 10:56:45 GMT

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

Heng Chen commented on HBASE-14254:
-----------------------------------

{code}
hbase(main):004:0> create 'ns:t1', {NAME => 'f1'}

ERROR: org.apache.hadoop.hbase.NamespaceNotFoundException: ns
	at org.apache.hadoop.hbase.master.HMaster.ensureNamespaceExists(HMaster.java:2378)
	at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:1444)
	at org.apache.hadoop.hbase.master.MasterRpcServices.createTable(MasterRpcServices.java:422)
	at org.apache.hadoop.hbase.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java:48502)
	at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2112)
	at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:101)
	at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:130)
	at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:107)
	at java.lang.Thread.run(Thread.java:745)
{code}

I use branch 1.1.1

> Wrong error message when throwing NamespaceNotFoundException in shell
> ---------------------------------------------------------------------
>
>                 Key: HBASE-14254
>                 URL: https://issues.apache.org/jira/browse/HBASE-14254
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Liu Shaohui
>            Assignee: Liu Shaohui
>            Priority: Minor
>
> Wrong error message when throwing NamespaceNotFoundException in shell
> {code}
> hbase(main):004:0> create 'ns:t1', {NAME => 'f1'}
> ERROR: Unknown namespace ns:t1!
> {code}
> The namespace shoud be {color:red}ns {color}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message