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

Enis Soztutar commented on HBASE-12675:
---------------------------------------

Blated +1. Was looking at this as well. Solomon did you test {{list}} command. 
I am asking because:
{code}
-      @admin.listTableNames(regex).map { |t| t.getNameAsString }
+      @admin.listTables(regex).map { |t| t.getNameAsString }
{code}

Admin.listTables() returns HTableDescriptor[]. But HTableDescriptor does not 
have getNameAsString() method. 

> Use interface methods in shell scripts
> --------------------------------------
>
>                 Key: HBASE-12675
>                 URL: https://issues.apache.org/jira/browse/HBASE-12675
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Solomon Duskis
>            Assignee: Solomon Duskis
>             Fix For: 1.0.0, 2.0.0
>
>         Attachments: HBASE-12675.patch
>
>
> There are places in the shell script code that use methods from HTable or 
> HConnection or etc.  This patch will fix at least some of them.



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

Reply via email to