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

Nick Dimiduk commented on HBASE-9337:
-------------------------------------

[~yuzhih...@gmail.com] posted an addendum patch for this issue over on 
HBASE-9281. Have a look at my 
[comment|https://issues.apache.org/jira/browse/HBASE-9281?focusedCommentId=13750344&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13750344];
 I think {{getNameAsString}} should be used instead of {{toString}}.
                
> shell 'user_permission' throws no method 'toStringBinary' for 
> (o.a.h.h.TableName) 
> ----------------------------------------------------------------------------------
>
>                 Key: HBASE-9337
>                 URL: https://issues.apache.org/jira/browse/HBASE-9337
>             Project: HBase
>          Issue Type: Bug
>          Components: security, shell
>    Affects Versions: 0.95.2
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>             Fix For: 0.98.0, 0.96.0
>
>         Attachments: HBASE-9337-v0.patch
>
>
> the user_permission shell code is trying to convert a TableName object to a 
> string, and it throws
> {code}
> hbase(main):010:0> user_permission 
> User                                        Table,Family,Qualifier:Permission 
>                                                                               
>             
> ERROR: no method 'toStringBinary' for arguments 
> (org.apache.hadoop.hbase.TableName) on Java::OrgApacheHadoopHbaseUtil::Bytes
>   available overloads:
>     (java.nio.ByteBuffer)
>     (byte[])
> {code}

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

Reply via email to