You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2013/08/16 21:59:57 UTC

[jira] [Comment Edited] (HBASE-9251) list_namespace_tables seems to fail

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

Andrew Purtell edited comment on HBASE-9251 at 8/16/13 7:59 PM:
----------------------------------------------------------------

Will add coverage to TestShell for this. 
                
      was (Author: apurtell):
    I'm going to split the difference and add an option to TableName to disable this check on a per object basis, and will add coverage to TestShell for this. 
                  
> list_namespace_tables seems to fail
> -----------------------------------
>
>                 Key: HBASE-9251
>                 URL: https://issues.apache.org/jira/browse/HBASE-9251
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.95.2
>            Reporter: Devaraj Das
>
> I was trying the RC0 of 0.95.2. and was on the shell trying to list tables in a namespace. I tried listing tables in the 'hbase' namespace and in a namespace I created. The listing fails:
> {noformat}
> hbase(main):008:0> list_namespace_tables 'hbase'
> TABLE
> ERROR: org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=7, exceptions:
> Fri Aug 16 17:47:17 UTC 2013, org.apache.hadoop.hbase.client.RpcRetryingCaller@2313b44d, org.apache.hadoop.hbase.ipc.RemoteWithExtrasException(java.io.IOException): java.io.IOException: Illegal character <58> at 5. User-space table qualifiers can only contain 'alphanumeric characters': i.e. [a-zA-Z_0-9-.]: hbase:meta
>         at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2194)
>         at org.apache.hadoop.hbase.ipc.RpcServer$Handler.run(RpcServer.java:1861)
> Caused by: java.lang.IllegalArgumentException: Illegal character <58> at 5. User-space table qualifiers can only contain 'alphanumeric characters': i.e. [a-zA-Z_0-9-.]: hbase:meta
>         at org.apache.hadoop.hbase.TableName.isLegalTableQualifierName(TableName.java:155)
>         at org.apache.hadoop.hbase.TableName.isLegalTableQualifierName(TableName.java:125)
>         at org.apache.hadoop.hbase.TableName.finishValueOf(TableName.java:249)
>         at org.apache.hadoop.hbase.TableName.valueOf(TableName.java:242)
>         at org.apache.hadoop.hbase.master.HMaster.listTableNamesByNamespace(HMaster.java:3130)
>         at org.apache.hadoop.hbase.master.HMaster.listTableNamesByNamespace(HMaster.java:3063)
>         at org.apache.hadoop.hbase.protobuf.generated.MasterAdminProtos$MasterAdminService$2.callBlockingMethod(MasterAdminProtos.java:27764)
>         at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2156)
>         ... 1 more
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira