Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HBASE-24387 TableSnapshotInputFormatImpl support row limit on each InputSplit #1731

Merged
merged 1 commit into from
May 25, 2020

Conversation

nyl3532016
Copy link
Contributor

@nyl3532016 nyl3532016 commented May 18, 2020

In some scenario , We want to scan limited rows on each InputSplit for sampling data extraction

@nyl3532016 nyl3532016 changed the title HBASE-24387 TableSnapshotInputFormatImpl support scan limit on each I… HBASE-24387 TableSnapshotInputFormatImpl support scan limit on each InputSplit May 18, 2020
@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 0s Docker mode activated.
-1 ❌ docker 0m 1s Docker command '/usr/bin/docker' is too old ( < 17.0).
Subsystem Report/Notes
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/1/console
versions git=2.17.1
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 30s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 prototool 0m 0s prototool was not available.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗 mvndep 0m 20s Maven dependency ordering for branch
+1 💚 mvninstall 3m 39s master passed
+1 💚 checkstyle 1m 2s master passed
+1 💚 spotbugs 4m 51s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 13s Maven dependency ordering for patch
+1 💚 mvninstall 3m 21s the patch passed
-0 ⚠️ checkstyle 0m 18s hbase-mapreduce: The patch generated 2 new + 1 unchanged - 3 fixed = 3 total (was 4)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 hadoopcheck 10m 59s Patch does not cause any errors with Hadoop 3.1.2 3.2.1.
+1 💚 hbaseprotoc 1m 47s the patch passed
+1 💚 spotbugs 5m 25s the patch passed
_ Other Tests _
+1 💚 asflicense 0m 37s The patch does not generate ASF License warnings.
41m 27s
Subsystem Report/Notes
Docker Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #1731
Optional Tests dupname asflicense spotbugs hadoopcheck hbaseanti checkstyle cc hbaseprotoc prototool
uname Linux b434c1c1b390 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / af8398a
checkstyle https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-mapreduce.txt
Max. process+thread count 94 (vs. ulimit of 12500)
modules C: hbase-protocol-shaded hbase-client hbase-mapreduce U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/1/console
versions git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f) spotbugs=3.1.12
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 20s Docker mode activated.
-0 ⚠️ yetus 0m 2s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 20s Maven dependency ordering for branch
+1 💚 mvninstall 4m 43s master passed
+1 💚 compile 1m 58s master passed
+1 💚 shadedjars 6m 22s branch has no errors when building our shaded downstream artifacts.
-0 ⚠️ javadoc 0m 26s hbase-client in master failed.
-0 ⚠️ javadoc 0m 20s hbase-mapreduce in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 14s Maven dependency ordering for patch
+1 💚 mvninstall 4m 27s the patch passed
+1 💚 compile 2m 2s the patch passed
+1 💚 javac 2m 2s the patch passed
+1 💚 shadedjars 6m 27s patch has no errors when building our shaded downstream artifacts.
-0 ⚠️ javadoc 0m 25s hbase-client in the patch failed.
-0 ⚠️ javadoc 0m 20s hbase-mapreduce in the patch failed.
_ Other Tests _
+1 💚 unit 1m 0s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 33s hbase-client in the patch passed.
+1 💚 unit 19m 15s hbase-mapreduce in the patch passed.
53m 15s
Subsystem Report/Notes
Docker Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR #1731
Optional Tests javac javadoc unit shadedjars compile
uname Linux 94714898d587 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / af8398a
Default Java 2020-01-14
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/1/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-client.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/1/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-mapreduce.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/1/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-client.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/1/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-mapreduce.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/1/testReport/
Max. process+thread count 3793 (vs. ulimit of 12500)
modules C: hbase-protocol-shaded hbase-client hbase-mapreduce U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/1/console
versions git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 30s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 22s Maven dependency ordering for branch
+1 💚 mvninstall 3m 35s master passed
+1 💚 compile 1m 34s master passed
+1 💚 shadedjars 5m 29s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 0m 56s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 16s Maven dependency ordering for patch
+1 💚 mvninstall 3m 27s the patch passed
+1 💚 compile 1m 36s the patch passed
+1 💚 javac 1m 36s the patch passed
+1 💚 shadedjars 5m 36s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 0m 54s the patch passed
_ Other Tests _
+1 💚 unit 0m 44s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 1s hbase-client in the patch passed.
+1 💚 unit 13m 32s hbase-mapreduce in the patch passed.
41m 11s
Subsystem Report/Notes
Docker Client=19.03.9 Server=19.03.9 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/2/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR #1731
Optional Tests javac javadoc unit shadedjars compile
uname Linux 4f5a7e421b8b 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 0dae377
Default Java 1.8.0_232
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/2/testReport/
Max. process+thread count 5619 (vs. ulimit of 12500)
modules C: hbase-protocol-shaded hbase-client hbase-mapreduce U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/2/console
versions git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 10s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 prototool 0m 0s prototool was not available.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗 mvndep 0m 20s Maven dependency ordering for branch
+1 💚 mvninstall 3m 53s master passed
+1 💚 checkstyle 0m 59s master passed
+1 💚 spotbugs 5m 14s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 12s Maven dependency ordering for patch
+1 💚 mvninstall 3m 38s the patch passed
-0 ⚠️ checkstyle 0m 18s hbase-mapreduce: The patch generated 2 new + 1 unchanged - 3 fixed = 3 total (was 4)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 hadoopcheck 12m 4s Patch does not cause any errors with Hadoop 3.1.2 3.2.1.
+1 💚 hbaseprotoc 1m 48s the patch passed
+1 💚 spotbugs 5m 29s the patch passed
_ Other Tests _
+1 💚 asflicense 0m 31s The patch does not generate ASF License warnings.
44m 23s
Subsystem Report/Notes
Docker Client=19.03.9 Server=19.03.9 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #1731
Optional Tests dupname asflicense spotbugs hadoopcheck hbaseanti checkstyle cc hbaseprotoc prototool
uname Linux b5ff0b2db1a2 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 0dae377
checkstyle https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/2/artifact/yetus-general-check/output/diff-checkstyle-hbase-mapreduce.txt
Max. process+thread count 84 (vs. ulimit of 12500)
modules C: hbase-protocol-shaded hbase-client hbase-mapreduce U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/2/console
versions git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f) spotbugs=3.1.12
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 28s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 22s Maven dependency ordering for branch
+1 💚 mvninstall 4m 57s master passed
+1 💚 compile 2m 14s master passed
+1 💚 shadedjars 6m 37s branch has no errors when building our shaded downstream artifacts.
-0 ⚠️ javadoc 0m 32s hbase-client in master failed.
-0 ⚠️ javadoc 0m 29s hbase-mapreduce in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 17s Maven dependency ordering for patch
+1 💚 mvninstall 5m 51s the patch passed
+1 💚 compile 2m 38s the patch passed
+1 💚 javac 2m 38s the patch passed
+1 💚 shadedjars 7m 50s patch has no errors when building our shaded downstream artifacts.
-0 ⚠️ javadoc 0m 33s hbase-client in the patch failed.
-0 ⚠️ javadoc 0m 26s hbase-mapreduce in the patch failed.
_ Other Tests _
+1 💚 unit 1m 18s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 45s hbase-client in the patch passed.
+1 💚 unit 21m 4s hbase-mapreduce in the patch passed.
60m 28s
Subsystem Report/Notes
Docker Client=19.03.9 Server=19.03.9 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR #1731
Optional Tests javac javadoc unit shadedjars compile
uname Linux 42b451672f8b 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 0dae377
Default Java 2020-01-14
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/2/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-client.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/2/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-mapreduce.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/2/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-client.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/2/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-mapreduce.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/2/testReport/
Max. process+thread count 3724 (vs. ulimit of 12500)
modules C: hbase-protocol-shaded hbase-client hbase-mapreduce U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/2/console
versions git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@nyl3532016 nyl3532016 force-pushed the HBASE-24387 branch 2 times, most recently from 2e413d5 to c4c3e4c Compare May 19, 2020 05:53
@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 29s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 prototool 0m 1s prototool was not available.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗 mvndep 0m 22s Maven dependency ordering for branch
+1 💚 mvninstall 3m 36s master passed
+1 💚 checkstyle 1m 1s master passed
+1 💚 spotbugs 4m 49s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 13s Maven dependency ordering for patch
+1 💚 mvninstall 3m 26s the patch passed
+1 💚 checkstyle 0m 10s The patch passed checkstyle in hbase-protocol-shaded
+1 💚 checkstyle 0m 32s The patch passed checkstyle in hbase-client
+1 💚 checkstyle 0m 19s hbase-mapreduce: The patch generated 0 new + 1 unchanged - 3 fixed = 1 total (was 4)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 hadoopcheck 11m 2s Patch does not cause any errors with Hadoop 3.1.2 3.2.1.
+1 💚 hbaseprotoc 1m 47s the patch passed
+1 💚 spotbugs 5m 24s the patch passed
_ Other Tests _
+1 💚 asflicense 0m 38s The patch does not generate ASF License warnings.
41m 15s
Subsystem Report/Notes
Docker Client=19.03.9 Server=19.03.9 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/3/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #1731
Optional Tests dupname asflicense spotbugs hadoopcheck hbaseanti checkstyle cc hbaseprotoc prototool
uname Linux db62482136f0 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / 0dae377
Max. process+thread count 94 (vs. ulimit of 12500)
modules C: hbase-protocol-shaded hbase-client hbase-mapreduce U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/3/console
versions git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f) spotbugs=3.1.12
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 29s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 21s Maven dependency ordering for branch
+1 💚 mvninstall 4m 11s master passed
+1 💚 compile 1m 55s master passed
+1 💚 shadedjars 5m 50s branch has no errors when building our shaded downstream artifacts.
-0 ⚠️ javadoc 0m 26s hbase-client in master failed.
-0 ⚠️ javadoc 0m 22s hbase-mapreduce in master failed.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 15s Maven dependency ordering for patch
+1 💚 mvninstall 4m 4s the patch passed
+1 💚 compile 1m 56s the patch passed
+1 💚 javac 1m 56s the patch passed
+1 💚 shadedjars 5m 40s patch has no errors when building our shaded downstream artifacts.
-0 ⚠️ javadoc 0m 26s hbase-client in the patch failed.
-0 ⚠️ javadoc 0m 20s hbase-mapreduce in the patch failed.
_ Other Tests _
+1 💚 unit 0m 55s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 6s hbase-client in the patch passed.
+1 💚 unit 12m 15s hbase-mapreduce in the patch passed.
42m 27s
Subsystem Report/Notes
Docker Client=19.03.9 Server=19.03.9 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/3/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR #1731
Optional Tests javac javadoc unit shadedjars compile
uname Linux e777c4827e1f 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / 0dae377
Default Java 2020-01-14
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/3/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-client.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/3/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-mapreduce.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/3/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-client.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/3/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-mapreduce.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/3/testReport/
Max. process+thread count 5982 (vs. ulimit of 12500)
modules C: hbase-protocol-shaded hbase-client hbase-mapreduce U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/3/console
versions git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 2m 9s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗 mvndep 0m 21s Maven dependency ordering for branch
+1 💚 mvninstall 4m 9s master passed
+1 💚 compile 1m 39s master passed
+1 💚 shadedjars 6m 4s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 0m 52s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 14s Maven dependency ordering for patch
+1 💚 mvninstall 3m 47s the patch passed
+1 💚 compile 1m 38s the patch passed
+1 💚 javac 1m 38s the patch passed
+1 💚 shadedjars 6m 5s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 0m 53s the patch passed
_ Other Tests _
+1 💚 unit 0m 46s hbase-protocol-shaded in the patch passed.
+1 💚 unit 1m 14s hbase-client in the patch passed.
+1 💚 unit 18m 58s hbase-mapreduce in the patch passed.
50m 53s
Subsystem Report/Notes
Docker Client=19.03.9 Server=19.03.9 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/3/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR #1731
Optional Tests javac javadoc unit shadedjars compile
uname Linux 5ad62129ed68 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 0dae377
Default Java 1.8.0_232
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/3/testReport/
Max. process+thread count 3487 (vs. ulimit of 12500)
modules C: hbase-protocol-shaded hbase-client hbase-mapreduce U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/3/console
versions git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@nyl3532016
Copy link
Contributor Author

@HorizonNet @virajjasani mind help review this PR?

Copy link
Contributor

@virajjasani virajjasani left a comment

Choose a reason for hiding this comment

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

+1

Copy link
Contributor

@HorizonNet HorizonNet left a comment

Choose a reason for hiding this comment

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

LGTM overall. Let me kick off the build again to have a clean one.

}
}


Copy link
Contributor

Choose a reason for hiding this comment

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

NIT: Can you please remove this additional empty line?

@HorizonNet
Copy link
Contributor

Oh, was wrong. Jenkins already reports it as green.

@@ -274,6 +274,7 @@ message Scan {
}
optional ReadType readType = 23 [default = DEFAULT];
optional bool need_cursor_result = 24 [default = false];
optional uint32 limit = 25;
Copy link
Contributor

Choose a reason for hiding this comment

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

I thought this is duplicate with ScanRequest protobuf? We already have one field to means "limit".

Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to add a new filed to means "scan limit"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, duplicate field may confuse user

@nyl3532016 nyl3532016 force-pushed the HBASE-24387 branch 2 times, most recently from b4e1f97 to 3dcefa2 Compare May 20, 2020 10:41
@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 2m 10s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+1 💚 mvninstall 5m 10s master passed
+1 💚 checkstyle 0m 24s master passed
+1 💚 spotbugs 0m 53s master passed
_ Patch Compile Tests _
+1 💚 mvninstall 4m 48s the patch passed
+1 💚 checkstyle 0m 21s hbase-mapreduce: The patch generated 0 new + 1 unchanged - 3 fixed = 1 total (was 4)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 hadoopcheck 16m 25s Patch does not cause any errors with Hadoop 3.1.2 3.2.1.
+1 💚 spotbugs 0m 59s the patch passed
_ Other Tests _
+1 💚 asflicense 0m 18s The patch does not generate ASF License warnings.
40m 48s
Subsystem Report/Notes
Docker Client=19.03.9 Server=19.03.9 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/4/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #1731
Optional Tests dupname asflicense spotbugs hadoopcheck hbaseanti checkstyle
uname Linux 574ca3fc7295 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 86a2692
Max. process+thread count 84 (vs. ulimit of 12500)
modules C: hbase-mapreduce U: hbase-mapreduce
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/4/console
versions git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f) spotbugs=3.1.12
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@nyl3532016 nyl3532016 changed the title HBASE-24387 TableSnapshotInputFormatImpl support scan limit on each InputSplit HBASE-24387 TableSnapshotInputFormatImpl support row limit on each InputSplit May 20, 2020
Job job = new Job(UTIL.getConfiguration());
Path tmpTableDir = UTIL.getDataTestDirOnTestFS(snapshotName);
// limit the scan
Scan scan = new Scan().setLimit(10);
Copy link
Contributor

Choose a reason for hiding this comment

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

Not needed?

Copy link
Contributor

@infraio infraio left a comment

Choose a reason for hiding this comment

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

+1

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 33s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+1 💚 mvninstall 3m 31s master passed
+1 💚 checkstyle 0m 19s master passed
+1 💚 spotbugs 0m 42s master passed
_ Patch Compile Tests _
+1 💚 mvninstall 3m 19s the patch passed
+1 💚 checkstyle 0m 19s hbase-mapreduce: The patch generated 0 new + 1 unchanged - 3 fixed = 1 total (was 4)
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 hadoopcheck 11m 2s Patch does not cause any errors with Hadoop 3.1.2 3.2.1.
+1 💚 spotbugs 0m 50s the patch passed
_ Other Tests _
+1 💚 asflicense 0m 12s The patch does not generate ASF License warnings.
27m 57s
Subsystem Report/Notes
Docker Client=19.03.9 Server=19.03.9 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/5/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #1731
Optional Tests dupname asflicense spotbugs hadoopcheck hbaseanti checkstyle
uname Linux ceceb615aa00 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / 86a2692
Max. process+thread count 94 (vs. ulimit of 12500)
modules C: hbase-mapreduce U: hbase-mapreduce
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/5/console
versions git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f) spotbugs=3.1.12
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 38s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+1 💚 mvninstall 3m 39s master passed
+1 💚 compile 0m 24s master passed
+1 💚 shadedjars 5m 37s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 0m 19s master passed
_ Patch Compile Tests _
+1 💚 mvninstall 3m 31s the patch passed
+1 💚 compile 0m 25s the patch passed
+1 💚 javac 0m 25s the patch passed
+1 💚 shadedjars 5m 39s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 0m 17s the patch passed
_ Other Tests _
+1 💚 unit 15m 19s hbase-mapreduce in the patch passed.
37m 1s
Subsystem Report/Notes
Docker Client=19.03.9 Server=19.03.9 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/5/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR #1731
Optional Tests javac javadoc unit shadedjars compile
uname Linux 83f627c10cbd 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / 86a2692
Default Java 1.8.0_232
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/5/testReport/
Max. process+thread count 5847 (vs. ulimit of 12500)
modules C: hbase-mapreduce U: hbase-mapreduce
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/5/console
versions git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 38s Docker mode activated.
-0 ⚠️ yetus 0m 3s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+1 💚 mvninstall 4m 28s master passed
+1 💚 compile 0m 29s master passed
+1 💚 shadedjars 5m 51s branch has no errors when building our shaded downstream artifacts.
-0 ⚠️ javadoc 0m 23s hbase-mapreduce in master failed.
_ Patch Compile Tests _
+1 💚 mvninstall 4m 5s the patch passed
+1 💚 compile 0m 29s the patch passed
+1 💚 javac 0m 29s the patch passed
+1 💚 shadedjars 6m 20s patch has no errors when building our shaded downstream artifacts.
-0 ⚠️ javadoc 0m 23s hbase-mapreduce in the patch failed.
_ Other Tests _
+1 💚 unit 14m 54s hbase-mapreduce in the patch passed.
39m 16s
Subsystem Report/Notes
Docker Client=19.03.9 Server=19.03.9 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/5/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR #1731
Optional Tests javac javadoc unit shadedjars compile
uname Linux 9a4e3a435b3a 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 tool maven
Personality dev-support/hbase-personality.sh
git revision master / 86a2692
Default Java 2020-01-14
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/5/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-mapreduce.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/5/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-mapreduce.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/5/testReport/
Max. process+thread count 6023 (vs. ulimit of 12500)
modules C: hbase-mapreduce U: hbase-mapreduce
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1731/5/console
versions git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

Copy link
Contributor

@HorizonNet HorizonNet left a comment

Choose a reason for hiding this comment

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

LGTM overall. Left two minor points.

@@ -304,6 +305,56 @@ public void testWithMockedMapReduceWithNoStartRowStopRow() throws Exception {
}
}

@Test
public void testScanLimit() throws Exception {
setupCluster();
Copy link
Contributor

Choose a reason for hiding this comment

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

Does it make sense to move this one to a test initializer method? I see it used in several tests in here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is better to submit another PR to fix?after this one merged, I will amend it

Copy link
Contributor

Choose a reason for hiding this comment

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

It's up to you. We can also do it in a separate ticket.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Would you like to help merge this PR? Thanks

UTIL.getConfiguration().unset(SNAPSHOT_INPUTFORMAT_ROW_LIMIT_PER_INPUTSPLIT);
UTIL.getAdmin().deleteSnapshot(snapshotName);
UTIL.deleteTable(tableName);
tearDownCluster();
Copy link
Contributor

Choose a reason for hiding this comment

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

Ditto.

@infraio infraio merged commit 1be583f into apache:master May 25, 2020
asfgit pushed a commit that referenced this pull request May 25, 2020
…putSplit (#1731)

Signed-off-by: Guanghao Zhang <zghao@apache.org>
asfgit pushed a commit that referenced this pull request May 25, 2020
…putSplit (#1731)

Signed-off-by: Guanghao Zhang <zghao@apache.org>
@nyl3532016 nyl3532016 deleted the HBASE-24387 branch May 25, 2020 03:49
asfgit pushed a commit that referenced this pull request May 25, 2020
…putSplit (#1731)

Signed-off-by: Guanghao Zhang <zghao@apache.org>
HomminLee pushed a commit to HomminLee/hbase that referenced this pull request Jun 12, 2020
…putSplit (apache#1731)

Signed-off-by: Guanghao Zhang <zghao@apache.org>
clarax pushed a commit to clarax/hbase that referenced this pull request Nov 15, 2020
…putSplit (apache#1731)

Signed-off-by: Guanghao Zhang <zghao@apache.org>
wchevreuil pushed a commit to wchevreuil/hbase that referenced this pull request May 24, 2021
…putSplit (apache#1731)

Signed-off-by: Guanghao Zhang <zghao@apache.org>
(cherry picked from commit fff59f4)

Change-Id: I48ee436d0daa357af0d3d324ae80e334db450ddd
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.

5 participants