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

Ashish Singhi commented on HBASE-15043:
---------------------------------------

I think you missed to handle in draining_servers.rb
{code}
admin = HBaseAdmin.new(config) if not admin
{code}

Also the Admin and Connection objects are not closed, can we close them.

> region_status.rb broken with TypeError: no public constructors for 
> Java::OrgApacheHadoopHbaseClient::HBaseAdmin
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-15043
>                 URL: https://issues.apache.org/jira/browse/HBASE-15043
>             Project: HBase
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 2.0.0
>            Reporter: Samir Ahmic
>            Assignee: Samir Ahmic
>             Fix For: 2.0.0
>
>         Attachments: HBASE-15043-v2.patch, HBASE-15043.patch
>
>
> Here is full error:
> TypeError: no public constructors for 
> Java::OrgApacheHadoopHbaseClient::HBaseAdmin
>   (root) at bin/region_status.rb:75



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

Reply via email to