Skip to content

HBASE-23073 Add an optional costFunction to balance regions according to a capacity rule - #894

Merged
wchevreuil merged 2 commits into
apache:branch-1from
PierreZ:23073-backport
Dec 9, 2019
Merged

HBASE-23073 Add an optional costFunction to balance regions according to a capacity rule#894
wchevreuil merged 2 commits into
apache:branch-1from
PierreZ:23073-backport

Conversation

@PierreZ

Copy link
Copy Markdown
Contributor

Backport of HBASE-23073

@wchevreuil

Copy link
Copy Markdown
Contributor

Thanks! Waiting on the pre-commit job to run, before merging it.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec7m 25sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 2 new or modified test files.
_ branch-1 Compile Tests _
+1 💚mvninstall8m 41sbranch-1 passed
+1 💚compile0m 41sbranch-1 passed with JDK v1.8.0_232
+1 💚compile0m 45sbranch-1 passed with JDK v1.7.0_242
+1 💚checkstyle1m 34sbranch-1 passed
+1 💚shadedjars2m 52sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 37sbranch-1 passed with JDK v1.8.0_232
+1 💚javadoc0m 42sbranch-1 passed with JDK v1.7.0_242
+0 🆗spotbugs2m 52sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs2m 49sbranch-1 passed
_ Patch Compile Tests _
+1 💚mvninstall1m 55sthe patch passed
+1 💚compile0m 38sthe patch passed with JDK v1.8.0_232
+1 💚javac0m 38sthe patch passed
+1 💚compile0m 47sthe patch passed with JDK v1.7.0_242
+1 💚javac0m 47sthe patch passed
+1 💚checkstyle1m 31sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars2m 48spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck4m 59sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 💚javadoc0m 31sthe patch passed with JDK v1.8.0_232
+1 💚javadoc0m 41sthe patch passed with JDK v1.7.0_242
-1 ❌findbugs2m 55shbase-server generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
-1 ❌unit130m 56shbase-server in the patch failed.
+1 💚asflicense0m 32sThe patch does not generate ASF License warnings.
178m 2s
ReasonTests
FindBugsmodule:hbase-server
Primitive value is unboxed and coerced for ternary operator in org.apache.hadoop.hbase.master.balancer.HeterogeneousRegionCountCostFunction.cost() At HeterogeneousRegionCountCostFunction.java:coerced for ternary operator in org.apache.hadoop.hbase.master.balancer.HeterogeneousRegionCountCostFunction.cost() At HeterogeneousRegionCountCostFunction.java:[line 134]
Failed junit testshadoop.hbase.client.TestAdmin2
SubsystemReport/Notes
DockerClient=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-894/1/artifact/out/Dockerfile
GITHUB PR#894
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 0527a7129e19 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-894/out/precommit/personality/provided.sh
git revisionbranch-1 / da9f6bf
Default Java1.7.0_242
Multi-JDK versions/usr/lib/jvm/zulu-8-amd64:1.8.0_232 /usr/lib/jvm/zulu-7-amd64:1.7.0_242
findbugshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-894/1/artifact/out/new-findbugs-hbase-server.html
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-894/1/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-894/1/testReport/
Max. process+thread count4057 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-894/1/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 39sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 1sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 2 new or modified test files.
_ branch-1 Compile Tests _
+1 💚mvninstall8m 45sbranch-1 passed
+1 💚compile0m 41sbranch-1 passed with JDK v1.8.0_232
+1 💚compile0m 44sbranch-1 passed with JDK v1.7.0_242
+1 💚checkstyle1m 33sbranch-1 passed
+1 💚shadedjars2m 51sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 37sbranch-1 passed with JDK v1.8.0_232
+1 💚javadoc0m 42sbranch-1 passed with JDK v1.7.0_242
+0 🆗spotbugs2m 52sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs2m 49sbranch-1 passed
_ Patch Compile Tests _
+1 💚mvninstall1m 56sthe patch passed
+1 💚compile0m 38sthe patch passed with JDK v1.8.0_232
+1 💚javac0m 38sthe patch passed
+1 💚compile0m 44sthe patch passed with JDK v1.7.0_242
+1 💚javac0m 44sthe patch passed
+1 💚checkstyle1m 30sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars2m 46spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck5m 3sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 💚javadoc0m 30sthe patch passed with JDK v1.8.0_232
+1 💚javadoc0m 41sthe patch passed with JDK v1.7.0_242
+1 💚findbugs2m 52sthe patch passed
_ Other Tests _
+1 💚unit128m 57shbase-server in the patch passed.
+1 💚asflicense0m 33sThe patch does not generate ASF License warnings.
169m 3s
SubsystemReport/Notes
DockerClient=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-894/2/artifact/out/Dockerfile
GITHUB PR#894
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux cfb517ec40df 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-894/out/precommit/personality/provided.sh
git revisionbranch-1 / da9f6bf
Default Java1.7.0_242
Multi-JDK versions/usr/lib/jvm/zulu-8-amd64:1.8.0_232 /usr/lib/jvm/zulu-7-amd64:1.7.0_242
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-894/2/testReport/
Max. process+thread count4056 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-894/2/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@wchevreuil
wchevreuil merged commit f5171b4 into apache:branch-1Dec 9, 2019
Sign up for freeto 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

@PierreZ@wchevreuil@Apache-HBase