Skip to content

HBASE-22335 do add hfile ref only when replication_scope is 1 - #203

Closed
chenxu14 wants to merge 4 commits into
apache:masterfrom
chenxu14:HBASE-22335
Closed

HBASE-22335 do add hfile ref only when replication_scope is 1#203
chenxu14 wants to merge 4 commits into
apache:masterfrom
chenxu14:HBASE-22335

Conversation

@chenxu14

Copy link
Copy Markdown
Contributor

When bulkload replication enabled, every hfile's znode will add to /hbase/replication/hfile-refs, no matter what the REPLICATION_SCOPE is.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec47Docker mode activated.
_ Prechecks _
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
-0test4tests0The 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.
_ master Compile Tests _
+1mvninstall254master passed
+1compile56master passed
+1checkstyle68master passed
+1shadedjars267branch has no errors when building our shaded downstream artifacts.
+1findbugs227master passed
+1javadoc34master passed
_ Patch Compile Tests _
+1mvninstall246the patch passed
+1compile55the patch passed
+1javac55the patch passed
+1checkstyle68the patch passed
+1whitespace0The patch has no whitespace issues.
+1shadedjars273patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck502Patch does not cause any errors with Hadoop 2.7.4 or 3.0.0.
+1findbugs229the patch passed
+1javadoc32the patch passed
_ Other Tests _
-1unit16165hbase-server in the patch failed.
+1asflicense61The patch does not generate ASF License warnings.
18660
ReasonTests
Failed junit testshadoop.hbase.master.TestAssignmentManagerMetrics
hadoop.hbase.quotas.TestSpaceQuotas
hadoop.hbase.client.TestSnapshotTemporaryDirectoryWithRegionReplicas
hadoop.hbase.client.TestFromClientSide3
hadoop.hbase.client.TestFromClientSide
hadoop.hbase.client.TestSnapshotDFSTemporaryDirectory
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-203/1/artifact/out/Dockerfile
GITHUB PR#203
Optional Testsdupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux ffcc1c450236 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionmaster / f9f6354
mavenversion: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)
Default Java1.8.0_181
findbugsv3.1.11
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-203/1/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-203/1/testReport/
Max. process+thread count5075 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-203/1/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

getCoprocessors().contains(ReplicationObserver.class.getSimpleName()));
}

@Test

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whitespace:end of line

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

leaving feadback on the PR lines instead of making someone dig into the reporting worked! oh man that's great.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's only whitespace I think... It will be good if we could also make findbugs and checkstyle work like this...

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec44Docker mode activated.
_ Prechecks _
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 1 new or modified test files.
_ master Compile Tests _
+1mvninstall274master passed
+1compile55master passed
+1checkstyle71master passed
+1shadedjars273branch has no errors when building our shaded downstream artifacts.
+1findbugs191master passed
+1javadoc35master passed
_ Patch Compile Tests _
+1mvninstall251the patch passed
+1compile55the patch passed
+1javac55the patch passed
-1checkstyle70hbase-server: The patch generated 3 new + 31 unchanged - 0 fixed = 34 total (was 31)
-1whitespace0The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
+1shadedjars271patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck542Patch does not cause any errors with Hadoop 2.7.4 or 3.0.0.
+1findbugs244the patch passed
+1javadoc35the patch passed
_ Other Tests _
-1unit16621hbase-server in the patch failed.
+1asflicense24The patch does not generate ASF License warnings.
19129
ReasonTests
Failed junit testshadoop.hbase.client.TestCloneSnapshotFromClientNormal
hadoop.hbase.client.TestFromClientSide3
hadoop.hbase.client.replication.TestReplicationAdminWithClusters
hadoop.hbase.client.TestSnapshotDFSTemporaryDirectory
hadoop.hbase.client.TestSnapshotTemporaryDirectory
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-203/2/artifact/out/Dockerfile
GITHUB PR#203
Optional Testsdupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 64b83a022696 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionmaster / 420fbba
mavenversion: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)
Default Java1.8.0_181
findbugsv3.1.11
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-203/2/artifact/out/diff-checkstyle-hbase-server.txt
whitespacehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-203/2/artifact/out/whitespace-eol.txt
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-203/2/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-203/2/testReport/
Max. process+thread count5186 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-203/2/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec52Docker mode activated.
_ Prechecks _
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 1 new or modified test files.
_ master Compile Tests _
+1mvninstall257master passed
+1compile49master passed
+1checkstyle64master passed
+1shadedjars262branch has no errors when building our shaded downstream artifacts.
+1findbugs189master passed
+1javadoc32master passed
_ Patch Compile Tests _
+1mvninstall236the patch passed
+1compile52the patch passed
+1javac52the patch passed
+1checkstyle67the patch passed
+1whitespace0The patch has no whitespace issues.
+1shadedjars262patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck479Patch does not cause any errors with Hadoop 2.7.4 or 3.0.0.
+1findbugs193the patch passed
+1javadoc33the patch passed
_ Other Tests _
-1unit16521hbase-server in the patch failed.
+1asflicense33The patch does not generate ASF License warnings.
18862
ReasonTests
Failed junit testshadoop.hbase.master.procedure.TestSCPWithReplicasWithoutZKCoordinated
hadoop.hbase.client.TestSnapshotTemporaryDirectoryWithRegionReplicas
hadoop.hbase.client.TestFromClientSideWithCoprocessor
hadoop.hbase.master.procedure.TestSCPWithReplicas
hadoop.hbase.master.TestAssignmentManagerMetrics
hadoop.hbase.util.TestFromClientSide3WoUnsafe
hadoop.hbase.client.TestAdmin1
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-203/3/artifact/out/Dockerfile
GITHUB PR#203
Optional Testsdupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 971ab43678ca 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionmaster / 62ad94c
mavenversion: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)
Default Java1.8.0_181
findbugsv3.1.11
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-203/3/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-203/3/testReport/
Max. process+thread count4880 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-203/3/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@saintstack

Copy link
Copy Markdown
Contributor

@chenxu14 You up for fixing the conflict when you get a chance? Thanks.

@saintstack

Copy link
Copy Markdown
Contributor

I'll close this PR in the next week or so unless updates. Thanks.

@Apache9

Copy link
Copy Markdown
Contributor

Close since the PR is stale. Feel free to reopen.

@Apache9Apache9 closed this Jul 23, 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.

5 participants

@chenxu14@Apache-HBase@saintstack@Apache9@busbey