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

Hudson commented on HBASE-23040:
--------------------------------

Results for branch branch-2.2
        [build #618 on 
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.2/618/]: 
(x) *{color:red}-1 overall{color}*
----
details (if available):

(x) {color:red}-1 general checks{color}
-- For more information [see general 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.2/618//General_Nightly_Build_Report/]




(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.2/618//JDK8_Nightly_Build_Report_(Hadoop2)/]


(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.2/618//JDK8_Nightly_Build_Report_(Hadoop3)/]


(x) {color:red}-1 source release artifact{color}
-- See build output for details.


(x) {color:red}-1 client integration test{color}
-- Something went wrong with this stage, [check relevant console 
output|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.2/618//console].


> region mover gives NullPointerException instead of saying a host isn't in the 
> cluster
> -------------------------------------------------------------------------------------
>
>                 Key: HBASE-23040
>                 URL: https://issues.apache.org/jira/browse/HBASE-23040
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 2.1.0, 2.2.0, 2.3.0
>            Reporter: Sean Busbey
>            Assignee: Sean Busbey
>            Priority: Minor
>             Fix For: 3.0.0, 2.3.0, 2.1.7, 2.2.2
>
>
> if passed a host that isn't in the cluster we get a NPE
> {code}
> 2019-09-17 21:50:45,595 ERROR [pool-2-thread-1] util.RegionMover: Error while 
> unloading regions 
> java.lang.NullPointerException: serverName is null
>       at 
> org.apache.hbase.thirdparty.com.google.common.base.Preconditions.checkNotNull(Preconditions.java:897)
>       at 
> org.apache.hadoop.hbase.client.AsyncRpcRetryingCallerFactory$AdminRequestCallerBuilder.build(AsyncRpcRetryingCallerFactory.java:518)
>       at 
> org.apache.hadoop.hbase.client.AsyncRpcRetryingCallerFactory$AdminRequestCallerBuilder.call(AsyncRpcRetryingCallerFactory.java:522)
>       at 
> org.apache.hadoop.hbase.client.RawAsyncHBaseAdmin.getRegions(RawAsyncHBaseAdmin.java:842)
>       at 
> org.apache.hadoop.hbase.client.AdminOverAsyncAdmin.getRegions(AdminOverAsyncAdmin.java:229)
>       at 
> org.apache.hadoop.hbase.util.RegionMover.unloadRegions(RegionMover.java:448)
>       at 
> org.apache.hadoop.hbase.util.RegionMover.lambda$unload$1(RegionMover.java:431)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>       at java.lang.Thread.run(Thread.java:748)
> {code}
> Should instead give some kind of "I don't know what this host is 
> 'foobar.example.com'" and maybe a debug message with what hosts were in the 
> cluster.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to