[ 
https://issues.apache.org/jira/browse/HBASE-12495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Solomon Duskis updated HBASE-12495:
-----------------------------------
    Attachment: HBASE-12495B.patch

TestShell should now pass.  However, I had to revert one of two places in order 
to make the tests pass.  admin.rb has a change from HBaseAdmin.new() to 
ConnectionFactory.createConnection().getAdmin() and table.rb has a change from 
HTable.new() to ConnectionFactory.createConnection().getTable().  That 
combination causes some initialization error to happen.  Removing either change 
fixes the problem.  I commented out the table.rb changes so that tests will 
pass.

The underlying problem in initalization ought to be fixed.  This isn't the 
first time I've seen this type of issue.  Once this patch makes it into master, 
I'll create another issue to describe the initialization problem.

> Use interfaces in the shell scripts
> -----------------------------------
>
>                 Key: HBASE-12495
>                 URL: https://issues.apache.org/jira/browse/HBASE-12495
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Solomon Duskis
>            Assignee: Solomon Duskis
>             Fix For: 2.0.0, 0.99.2
>
>         Attachments: HBASE-12495.patch, HBASE-12495B.patch
>
>
> Change some explicit calls to HBaseAdmin and HTable to interface counterparts 
> in the hbase shell scripts



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

Reply via email to