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

stack commented on HBASE-14749:
-------------------------------

I tried it on cluster and it did this...

{code}
...
2015-11-06 18:56:23,329 DEBUG [AsyncRpcChannel-pool2-t1] ipc.AsyncRpcChannel: 
Use SIMPLE authentication for service MasterService, sasl=false
2015-11-06 18:56:23,425 DEBUG [pool-1-thread-1] util.RegionMover: Online region 
servers:[c2024.halxg.cloudera.com,16020,1446752498130, 
c2021.halxg.cloudera.com,16020,1446752186044, 
c2023.halxg.cloudera.com,16020,1446752312106, 
c2025.halxg.cloudera.com,16020,1446751720865, 
c2022.halxg.cloudera.com,16020,1446750049559]
2015-11-06 18:56:23,435 WARN  [pool-1-thread-1] util.RegionMover: Error 
removing master from list of RS
java.lang.Exception: Server c2020.halxg.cloudera.com:16000 is not in list of 
online servers(Offline/Incorrect)
        at 
org.apache.hadoop.hbase.util.RegionMover.stripServer(RegionMover.java:815)
        at 
org.apache.hadoop.hbase.util.RegionMover.stripMaster(RegionMover.java:752)
        at 
org.apache.hadoop.hbase.util.RegionMover.access$1800(RegionMover.java:75)
        at 
org.apache.hadoop.hbase.util.RegionMover$Unload.call(RegionMover.java:338)
        at 
org.apache.hadoop.hbase.util.RegionMover$Unload.call(RegionMover.java:315)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
...
{code}

So, I have a master branch with your patch trying to do rolling restart of a 
branch-1 cluster. This may be the problem?  Otherwise, not sure what the 
complaint about master is about without digging in code. Perhaps you know 
[~abhishek.chouhan]?  Thank you.

> Make changes to region_mover.rb to use RegionMover Java tool
> ------------------------------------------------------------
>
>                 Key: HBASE-14749
>                 URL: https://issues.apache.org/jira/browse/HBASE-14749
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Abhishek Singh Chouhan
>            Assignee: Abhishek Singh Chouhan
>             Fix For: 2.0.0
>
>         Attachments: HBASE-14749.patch, HBASE-14749.patch
>
>
> With HBASE-13014 in, we can now replace the ruby script such that it invokes 
> the Java Tool. Also expose timeout and no-ack mode which were added.



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

Reply via email to