Skip to content

Conversation

@casuallc
Copy link

if regionIndex not in regions, there will be ArrayIndexOutOfBoundsException.
such as
2019-07-25 15:19:59,828 ERROR [master/nna:16000.Chore.1] hbase.ScheduledChore: Caught error
java.lang.ArrayIndexOutOfBoundsException: 3171
at org.apache.hadoop.hbase.master.balancer.BaseLoadBalancer$Cluster.removeRegion(BaseLoadBalancer.java:873)
at org.apache.hadoop.hbase.master.balancer.BaseLoadBalancer$Cluster.doAction(BaseLoadBalancer.java:716)
at org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer.balanceCluster(StochasticLoadBalancer.java:407)
at org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer.balanceCluster(StochasticLoadBalancer.java:318)
at org.apache.hadoop.hbase.master.HMaster.balance(HMaster.java:1650)
at org.apache.hadoop.hbase.master.HMaster.balance(HMaster.java:1567)
at org.apache.hadoop.hbase.master.balancer.BalancerChore.chore(BalancerChore.java:49)
at org.apache.hadoop.hbase.ScheduledChore.run(ScheduledChore.java:186)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at org.apache.hadoop.hbase.JitterScheduledThreadPoolExecutorImpl$JitteredRunnableScheduledFuture.run(JitterScheduledThreadPoolExecutorImpl.java:111)
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)

if regionIndex not in regions, there will be ArrayIndexOutOfBoundsException.
such as 
 2019-07-25 15:19:59,828 ERROR [master/nna:16000.Chore.1] hbase.ScheduledChore: Caught error
 java.lang.ArrayIndexOutOfBoundsException: 3171
     at org.apache.hadoop.hbase.master.balancer.BaseLoadBalancer$Cluster.removeRegion(BaseLoadBalancer.java:873)
     at org.apache.hadoop.hbase.master.balancer.BaseLoadBalancer$Cluster.doAction(BaseLoadBalancer.java:716)
     at org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer.balanceCluster(StochasticLoadBalancer.java:407)
     at org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer.balanceCluster(StochasticLoadBalancer.java:318)
     at org.apache.hadoop.hbase.master.HMaster.balance(HMaster.java:1650)
     at org.apache.hadoop.hbase.master.HMaster.balance(HMaster.java:1567)
     at org.apache.hadoop.hbase.master.balancer.BalancerChore.chore(BalancerChore.java:49)
     at org.apache.hadoop.hbase.ScheduledChore.run(ScheduledChore.java:186)
     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
     at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
     at org.apache.hadoop.hbase.JitterScheduledThreadPoolExecutorImpl$JitteredRunnableScheduledFuture.run(JitterScheduledThreadPoolExecutorImpl.java:111)
     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)
@Reidddddd
Copy link
Contributor

Please file a JIRA first.

@casuallc
Copy link
Author

Please file a JIRA first.

I did not do this before, what should I do?

@Reidddddd
Copy link
Contributor

Please refer to Getting Involved

@casuallc casuallc closed this Jul 26, 2019
@casuallc casuallc deleted the patch-1 branch July 26, 2019 03:53
@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 45 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
-0 test4tests 0 The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ branch-2.2 Compile Tests _
+1 mvninstall 275 branch-2.2 passed
+1 compile 50 branch-2.2 passed
+1 checkstyle 71 branch-2.2 passed
+1 shadedjars 234 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 33 branch-2.2 passed
0 spotbugs 156 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 154 branch-2.2 passed
_ Patch Compile Tests _
+1 mvninstall 277 the patch passed
+1 compile 49 the patch passed
+1 javac 49 the patch passed
+1 checkstyle 70 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 229 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 857 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 32 the patch passed
+1 findbugs 172 the patch passed
_ Other Tests _
-1 unit 8705 hbase-server in the patch failed.
+1 asflicense 21 The patch does not generate ASF License warnings.
11635
Reason Tests
Failed junit tests hadoop.hbase.master.balancer.TestStochasticLoadBalancerRegionReplicaMidCluster
hadoop.hbase.master.balancer.TestStochasticLoadBalancerRegionReplicaHighReplication
hadoop.hbase.master.balancer.TestStochasticLoadBalancerBalanceCluster
hadoop.hbase.master.balancer.TestStochasticLoadBalancerRegionReplica
hadoop.hbase.master.procedure.TestProcedurePriority
hadoop.hbase.TestRegionRebalancing
hadoop.hbase.master.balancer.TestStochasticLoadBalancerMidCluster
hadoop.hbase.master.balancer.TestStochasticLoadBalancerRegionReplicaWithRacks
hadoop.hbase.master.balancer.TestBaseLoadBalancer
hadoop.hbase.master.balancer.TestStochasticLoadBalancerSmallCluster
hadoop.hbase.master.balancer.TestStochasticLoadBalancerRegionReplicaReplicationGreaterThanNumNodes
hadoop.hbase.master.balancer.TestStochasticLoadBalancerLargeCluster
hadoop.hbase.master.balancer.TestStochasticLoadBalancerRegionReplicaSameHosts
hadoop.hbase.master.balancer.TestStochasticLoadBalancer
hadoop.hbase.master.balancer.TestStochasticLoadBalancerRegionReplicaLargeCluster
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-410/1/artifact/out/Dockerfile
GITHUB PR #410
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux ae5cf5096655 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-410/out/precommit/personality/provided.sh
git revision branch-2.2 / ac03756
Default Java 1.8.0_181
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-410/1/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-410/1/testReport/
Max. process+thread count 4570 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-410/1/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants