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

Jean-Marc Spaggiari commented on HBASE-10682:
---------------------------------------------

Are we sure that currentServer.to_s will not throw an exception if 
currentServer is null? It will try to call the to_string to it, no? So we might 
fail with the same issue? We might want to put a if before the log and log 2 
different messages in case currentServer or/and servername is/are null?

> region_mover.rb throws "can't convert nil into String" for regions moved
> ------------------------------------------------------------------------
>
>                 Key: HBASE-10682
>                 URL: https://issues.apache.org/jira/browse/HBASE-10682
>             Project: HBase
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.98.0, 0.99.0, 0.96.1.1, 0.94.17
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>             Fix For: 0.96.2, 0.98.1, 0.99.0, 0.94.18
>
>         Attachments: HBASE-10682-0.94-v0.patch, HBASE-10682-v0.patch
>
>
> if we call unload to generate the region file and then one of the region in 
> the splits or we end up with a null pointer exception during one of the print.
> if we skip that NPE then we end up with the "split/moved" error message, 
> which is the expected one.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to