hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12675) Use interface methods in shell scripts
Date Mon, 15 Dec 2014 23:31:14 GMT

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

Mime
View raw message