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/10 23:29:00 UTC

[jira] [Updated] (HBASE-19755) Error message for non-existent namespace is inaccurate

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

Sergey Soldatov updated HBASE-19755:
------------------------------------
    Attachment: HBASE-19755-master.patch

Obvious fix.

> Error message for non-existent namespace is inaccurate
> ------------------------------------------------------
>
>                 Key: HBASE-19755
>                 URL: https://issues.apache.org/jira/browse/HBASE-19755
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>         Attachments: HBASE-19755-master.patch
>
>
> On a secure cluster, when I issued this command where ns1 didn't exist:
> {code}
> hbase(main):002:0> create 'ns1:t1', 'f1', SPLITS => ['10', '20', '30', '40']
> ERROR: Unknown namespace ns1:t1!
> Creates a table. Pass a table name, and a set of column family
> specifications (at least one), and, optionally, table configuration
> {code}
> Here is related code:
> {code}
>           raise "Unknown namespace #{args.first}!"
> {code}
> Simply quoting the argument is not accurate - namespace should be extracted from the argument



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