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

Samir Ahmic commented on HBASE-13580:
-------------------------------------

Well this script keeps breaking :), i have just build hbase from master branch 
and now we have this exception:
{code}
NoMethodError: undefined method `getServerInfo' for 
#<Java::OrgApacheHadoopHbase::ClusterStatus:0x244d35d7>
     getServers at region_mover.rb:186
  unloadRegions at region_mover.rb:322
         (root) at region_mover.rb:509
{code} 
Should i continue with fixing this new issues on this ticket  or open new 
ticket saying "adopt region_mover.rb to api changes" ? Or maybe we can start 
thinking to port some of this scripts to java ?  

> region_mover.rb broken with TypeError: no public constructors for 
> Java::OrgApacheHadoopHbaseClient::HTable
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-13580
>                 URL: https://issues.apache.org/jira/browse/HBASE-13580
>             Project: HBase
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 2.0.0
>         Environment: x86_64 GNU/Linux
>            Reporter: Samir Ahmic
>            Assignee: Samir Ahmic
>         Attachments: HBASE-13580-v2.patch, HBASE-13580-v3.patch, 
> HBASE-13580.patch
>
>
> I was testing region_mover.rb on master branch  in distributed cluster and 
> hit this error. I have fixed this by using Connection#getTable instead of 
> HTable but look like this script needs some additional work:
> 1. Remove master server from region move targets list
> 2. --exclude=FILE option is not  working for me 
> I will try to get this script in functional state if there is no objections ?
>   



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

Reply via email to