You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2018/01/10 22:26:00 UTC

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

Ted Yu created HBASE-19755:
------------------------------

             Summary: 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


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)