[ https://issues.apache.org/jira/browse/HBASE-19379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16271871#comment-16271871 ]
Andrew Purtell edited comment on HBASE-19379 at 11/30/17 12:44 AM: ------------------------------------------------------------------- This stems from a change I made to fix an error-prone warning. Before we were doing {{selectedLoc == thisLoc}} in RegionLocations. I changed that to {{Objects.equals(selectedLoc, thisLoc)}} and so HRegionLocation#compareTo now has to handle the case where its {{serverName}} field was set to null. This is a trivial change. I will commit the fix momentarily to branch-1.4 and branch-1. Let me also check if the failure [~stack] mentioned with TestGlobalThrottler is related. was (Author: apurtell): This stems from a change I made to fix an error-prone warning. Before we were doing {{selectedLoc == thisLoc}} in RegionLocations. I changed that to {{Objects.equals(selectedLoc, thisLoc)}} and so HRegionLocation#compareTo now has to handle the case where what it's testing is {{null}} if its {{serverName}} field wasn't initialized. This is a trivial change. I will commit the fix momentarily to branch-1.4 and branch-1. Let me also check if the failure [~stack] mentioned with TestGlobalThrottler is related. > TestEndToEndSplitTransaction fails with NPE > ------------------------------------------- > > Key: HBASE-19379 > URL: https://issues.apache.org/jira/browse/HBASE-19379 > Project: HBase > Issue Type: Bug > Reporter: Andrew Purtell > Assignee: Andrew Purtell > Priority: Trivial > Fix For: 1.4.0 > > Attachments: HBASE-19379-branch-1.patch > > > TestEndToEndSplitTransaction > ------------------------------------------------------------------------------- > Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 44.71 s <<< > FAILURE! - in > org.apache.hadoop.hbase.regionserver.TestEndToEndSplitTransaction > testFromClientSideWhileSplitting(org.apache.hadoop.hbase.regionserver.TestEndToEndSplitTransaction) > Time elapsed: 18.913 s <<< ERROR! > java.lang.NullPointerException -- This message was sent by Atlassian JIRA (v6.4.14#64029)