Skip to content

HBASE-22036 Rewrite TestScannerHeartbeatMessages - #191

Merged
Apache9 merged 1 commit into
apache:HBASE-21512from
Apache9:HBASE-22036
Apr 28, 2019
Merged

HBASE-22036 Rewrite TestScannerHeartbeatMessages#191
Apache9 merged 1 commit into
apache:HBASE-21512from
Apache9:HBASE-22036

Conversation

@Apache9

Copy link
Copy Markdown
Contributor

Introduced a ScanPerNextResultScanner to simulate the ResultScanner in the old time.

@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 2 new or modified test files.
_ HBASE-21512 Compile Tests _
+1mvninstall264HBASE-21512 passed
+1compile53HBASE-21512 passed
+1checkstyle70HBASE-21512 passed
+1shadedjars260branch has no errors when building our shaded downstream artifacts.
+1findbugs223HBASE-21512 passed
+1javadoc33HBASE-21512 passed
_ Patch Compile Tests _
+1mvninstall255the patch passed
+1compile55the patch passed
+1javac55the patch passed
+1checkstyle67the patch passed
+1whitespace0The patch has no whitespace issues.
+1shadedjars276patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck494Patch does not cause any errors with Hadoop 2.7.4 or 3.0.0.
+1findbugs225the patch passed
+1javadoc31the patch passed
_ Other Tests _
-1unit14001hbase-server in the patch failed.
+1asflicense33The patch does not generate ASF License warnings.
16458
ReasonTests
Failed junit testshadoop.hbase.client.TestSnapshotTemporaryDirectoryWithRegionReplicas
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-191/1/artifact/out/Dockerfile
GITHUB PR#191
Optional Testsdupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 05c2201433f9 4.4.0-137-generic #163-Ubuntu SMP Mon Sep 24 13:14:43 UTC 2018 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionHBASE-21512 / 1465841
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-191/1/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-191/1/testReport/
Max. process+thread count5010 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-191/1/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
0reexec21Docker mode activated.
_ Prechecks _
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 2 new or modified test files.
_ HBASE-21512 Compile Tests _
+1mvninstall257HBASE-21512 passed
+1compile57HBASE-21512 passed
+1checkstyle75HBASE-21512 passed
+1shadedjars275branch has no errors when building our shaded downstream artifacts.
+1findbugs274HBASE-21512 passed
+1javadoc40HBASE-21512 passed
_ Patch Compile Tests _
+1mvninstall266the patch passed
-1compile32hbase-server in the patch failed.
-1javac32hbase-server in the patch failed.
+1checkstyle73the patch passed
+1whitespace0The patch has no whitespace issues.
+1shadedjars279patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck546Patch does not cause any errors with Hadoop 2.7.4 or 3.0.0.
+1findbugs257the patch passed
-1javadoc33hbase-server generated 4 new + 0 unchanged - 0 fixed = 4 total (was 0)
_ Other Tests _
-1unit36hbase-server in the patch failed.
+1asflicense11The patch does not generate ASF License warnings.
2606
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-191/2/artifact/out/Dockerfile
GITHUB PR#191
Optional Testsdupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux e43c2fdbab7c 4.4.0-131-generic #157~14.04.1-Ubuntu SMP Fri Jul 13 08:53:17 UTC 2018 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionHBASE-21512 / dfa4f47
mavenversion: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)
Default Java1.8.0_181
findbugsv3.1.11
compilehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-191/2/artifact/out/patch-compile-hbase-server.txt
javachttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-191/2/artifact/out/patch-compile-hbase-server.txt
javadochttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-191/2/artifact/out/diff-javadoc-javadoc-hbase-server.txt
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-191/2/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-191/2/testReport/
Max. process+thread count86 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-191/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
0reexec290Docker mode activated.
_ Prechecks _
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 2 new or modified test files.
_ HBASE-21512 Compile Tests _
+1mvninstall327HBASE-21512 passed
+1compile68HBASE-21512 passed
+1checkstyle80HBASE-21512 passed
+1shadedjars347branch has no errors when building our shaded downstream artifacts.
+1findbugs296HBASE-21512 passed
+1javadoc41HBASE-21512 passed
_ Patch Compile Tests _
+1mvninstall306the patch passed
+1compile69the patch passed
+1javac69the patch passed
+1checkstyle85the patch passed
+1whitespace0The patch has no whitespace issues.
+1shadedjars332patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck685Patch does not cause any errors with Hadoop 2.7.4 or 3.0.0.
+1findbugs320the patch passed
+1javadoc44the patch passed
_ Other Tests _
+1unit14937hbase-server in the patch passed.
+1asflicense32The patch does not generate ASF License warnings.
18338
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-191/3/artifact/out/Dockerfile
GITHUB PR#191
Optional Testsdupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 3b6e3628cced 4.4.0-145-generic #171-Ubuntu SMP Tue Mar 26 12:43:40 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionHBASE-21512 / dfa4f47
mavenversion: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)
Default Java1.8.0_181
findbugsv3.1.11
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-191/3/testReport/
Max. process+thread count4761 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-191/3/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

* background.
*/
@InterfaceAudience.Private
public class ScanPerNextResultScanner implements ResultScanner, AdvancedScanResultConsumer {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems this class is only used for testing ? I prefer to move this into test package, or other future packages will use this ?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

It is under the src/test/java?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

OK, my bad..

@Apache9
Apache9 merged commit cfdbbbc into apache:HBASE-21512Apr 28, 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

@Apache9@Apache-HBase@openinx