hbase icon indicating copy to clipboard operation
hbase copied to clipboard

HBASE-26032 Make HRegion.getStores() an O(1) operation

Open jojochuang opened this issue 4 years ago • 19 comments

See the corresponding jira HBASE-26032 for the details and the visualvm output.

jojochuang avatar Jun 25 '21 02:06 jojochuang

:confetti_ball: +1 overall

Vote Subsystem Runtime Comment
+0 :ok: reexec 0m 29s Docker mode activated.
_ Prechecks _
+1 :green_heart: dupname 0m 0s No case conflicting files found.
+1 :green_heart: hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 :green_heart: @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+0 :ok: mvndep 0m 24s Maven dependency ordering for branch
+1 :green_heart: mvninstall 3m 51s master passed
+1 :green_heart: compile 3m 52s master passed
+1 :green_heart: checkstyle 1m 25s master passed
+1 :green_heart: spotbugs 2m 47s master passed
_ Patch Compile Tests _
+0 :ok: mvndep 0m 13s Maven dependency ordering for patch
+1 :green_heart: mvninstall 3m 41s the patch passed
+1 :green_heart: compile 3m 46s the patch passed
+1 :green_heart: javac 3m 46s the patch passed
-0 :warning: checkstyle 1m 7s hbase-server: The patch generated 2 new + 249 unchanged - 0 fixed = 251 total (was 249)
-0 :warning: checkstyle 0m 15s hbase-examples: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 :green_heart: whitespace 0m 0s The patch has no whitespace issues.
+1 :green_heart: hadoopcheck 18m 5s Patch does not cause any errors with Hadoop 3.1.2 3.2.1 3.3.0.
+1 :green_heart: spotbugs 3m 8s the patch passed
_ Other Tests _
+1 :green_heart: asflicense 0m 27s The patch does not generate ASF License warnings.
51m 40s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR https://github.com/apache/hbase/pull/3426
Optional Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile
uname Linux c5a62929da1b 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 / d11dc81721
Default Java AdoptOpenJDK-1.8.0_282-b08
checkstyle https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt
checkstyle https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-examples.txt
Max. process+thread count 96 (vs. ulimit of 30000)
modules C: hbase-server hbase-examples U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/1/console
versions git=2.17.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Apache-HBase avatar Jun 25 '21 03:06 Apache-HBase

:confetti_ball: +1 overall

Vote Subsystem Runtime Comment
+0 :ok: reexec 0m 33s Docker mode activated.
-0 :warning: 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 :ok: mvndep 0m 25s Maven dependency ordering for branch
+1 :green_heart: mvninstall 3m 53s master passed
+1 :green_heart: compile 1m 28s master passed
+1 :green_heart: shadedjars 8m 17s branch has no errors when building our shaded downstream artifacts.
+1 :green_heart: javadoc 1m 2s master passed
_ Patch Compile Tests _
+0 :ok: mvndep 0m 17s Maven dependency ordering for patch
+1 :green_heart: mvninstall 3m 41s the patch passed
+1 :green_heart: compile 1m 25s the patch passed
+1 :green_heart: javac 1m 25s the patch passed
+1 :green_heart: shadedjars 8m 19s patch has no errors when building our shaded downstream artifacts.
+1 :green_heart: javadoc 0m 59s the patch passed
_ Other Tests _
+1 :green_heart: unit 143m 13s hbase-server in the patch passed.
+1 :green_heart: unit 2m 9s hbase-examples in the patch passed.
177m 48s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR https://github.com/apache/hbase/pull/3426
Optional Tests javac javadoc unit shadedjars compile
uname Linux 2e4810b8a05a 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 / d11dc81721
Default Java AdoptOpenJDK-1.8.0_282-b08
Test Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/1/testReport/
Max. process+thread count 3257 (vs. ulimit of 30000)
modules C: hbase-server hbase-examples U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/1/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Apache-HBase avatar Jun 25 '21 05:06 Apache-HBase

:confetti_ball: +1 overall

Vote Subsystem Runtime Comment
+0 :ok: reexec 1m 37s Docker mode activated.
-0 :warning: 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 :ok: mvndep 0m 27s Maven dependency ordering for branch
+1 :green_heart: mvninstall 5m 56s master passed
+1 :green_heart: compile 2m 0s master passed
+1 :green_heart: shadedjars 9m 54s branch has no errors when building our shaded downstream artifacts.
+1 :green_heart: javadoc 1m 20s master passed
_ Patch Compile Tests _
+0 :ok: mvndep 0m 18s Maven dependency ordering for patch
+1 :green_heart: mvninstall 5m 34s the patch passed
+1 :green_heart: compile 2m 4s the patch passed
+1 :green_heart: javac 2m 4s the patch passed
+1 :green_heart: shadedjars 9m 49s patch has no errors when building our shaded downstream artifacts.
+1 :green_heart: javadoc 1m 11s the patch passed
_ Other Tests _
+1 :green_heart: unit 186m 56s hbase-server in the patch passed.
+1 :green_heart: unit 2m 3s hbase-examples in the patch passed.
231m 17s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR https://github.com/apache/hbase/pull/3426
Optional Tests javac javadoc unit shadedjars compile
uname Linux 9df722d8df4a 4.15.0-136-generic #140-Ubuntu SMP Thu Jan 28 05:20:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / d11dc81721
Default Java AdoptOpenJDK-11.0.10+9
Test Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/1/testReport/
Max. process+thread count 2387 (vs. ulimit of 30000)
modules C: hbase-server hbase-examples U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/1/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Apache-HBase avatar Jun 25 '21 06:06 Apache-HBase

We can have an internal method which can expose as this patch does. Internally within HBase classes, we refer HRegion directly not Region interface. Something to explore to solve the concern being raised.

anoopsjohn avatar Jun 25 '21 18:06 anoopsjohn

We can have an internal method which can expose as this patch does. Internally within HBase classes, we refer HRegion directly not Region interface. Something to explore to solve the concern being raised.

Yep, that was my thinking as well.

z-york avatar Jun 25 '21 20:06 z-york

:broken_heart: -1 overall

Vote Subsystem Runtime Comment
+0 :ok: reexec 1m 12s Docker mode activated.
-0 :warning: yetus 0m 4s Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 :ok: mvndep 0m 25s Maven dependency ordering for branch
+1 :green_heart: mvninstall 4m 28s master passed
+1 :green_heart: compile 1m 39s master passed
+1 :green_heart: shadedjars 8m 15s branch has no errors when building our shaded downstream artifacts.
+1 :green_heart: javadoc 1m 4s master passed
_ Patch Compile Tests _
+0 :ok: mvndep 0m 15s Maven dependency ordering for patch
+1 :green_heart: mvninstall 4m 15s the patch passed
+1 :green_heart: compile 1m 40s the patch passed
+1 :green_heart: javac 1m 40s the patch passed
+1 :green_heart: shadedjars 8m 11s patch has no errors when building our shaded downstream artifacts.
+1 :green_heart: javadoc 1m 3s the patch passed
_ Other Tests _
-1 :x: unit 9m 11s hbase-server in the patch failed.
+1 :green_heart: unit 1m 32s hbase-examples in the patch passed.
44m 50s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR https://github.com/apache/hbase/pull/3426
Optional Tests javac javadoc unit shadedjars compile
uname Linux 3739287dfcd2 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / bffe8957c5
Default Java AdoptOpenJDK-11.0.10+9
unit https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/2/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-server.txt
Test Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/2/testReport/
Max. process+thread count 2334 (vs. ulimit of 30000)
modules C: hbase-server hbase-examples U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/2/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Apache-HBase avatar Jun 27 '21 03:06 Apache-HBase

:confetti_ball: +1 overall

Vote Subsystem Runtime Comment
+0 :ok: reexec 3m 53s Docker mode activated.
_ Prechecks _
+1 :green_heart: dupname 0m 0s No case conflicting files found.
+1 :green_heart: hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 :green_heart: @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+0 :ok: mvndep 0m 26s Maven dependency ordering for branch
+1 :green_heart: mvninstall 3m 54s master passed
+1 :green_heart: compile 3m 43s master passed
+1 :green_heart: checkstyle 1m 24s master passed
+1 :green_heart: spotbugs 2m 48s master passed
_ Patch Compile Tests _
+0 :ok: mvndep 0m 13s Maven dependency ordering for patch
+1 :green_heart: mvninstall 3m 39s the patch passed
+1 :green_heart: compile 3m 47s the patch passed
+1 :green_heart: javac 3m 47s the patch passed
-0 :warning: checkstyle 1m 7s hbase-server: The patch generated 6 new + 249 unchanged - 0 fixed = 255 total (was 249)
-0 :warning: checkstyle 0m 15s hbase-examples: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 :green_heart: whitespace 0m 0s The patch has no whitespace issues.
+1 :green_heart: hadoopcheck 18m 11s Patch does not cause any errors with Hadoop 3.1.2 3.2.1 3.3.0.
+1 :green_heart: spotbugs 3m 8s the patch passed
_ Other Tests _
+1 :green_heart: asflicense 0m 27s The patch does not generate ASF License warnings.
55m 1s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR https://github.com/apache/hbase/pull/3426
Optional Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile
uname Linux 3513a92f6f34 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 / bffe8957c5
Default Java AdoptOpenJDK-1.8.0_282-b08
checkstyle https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/2/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt
checkstyle https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/2/artifact/yetus-general-check/output/diff-checkstyle-hbase-examples.txt
Max. process+thread count 96 (vs. ulimit of 30000)
modules C: hbase-server hbase-examples U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/2/console
versions git=2.17.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Apache-HBase avatar Jun 27 '21 03:06 Apache-HBase

:confetti_ball: +1 overall

Vote Subsystem Runtime Comment
+0 :ok: reexec 3m 59s Docker mode activated.
-0 :warning: 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 :ok: mvndep 0m 24s Maven dependency ordering for branch
+1 :green_heart: mvninstall 3m 49s master passed
+1 :green_heart: compile 1m 29s master passed
+1 :green_heart: shadedjars 8m 7s branch has no errors when building our shaded downstream artifacts.
+1 :green_heart: javadoc 1m 0s master passed
_ Patch Compile Tests _
+0 :ok: mvndep 0m 15s Maven dependency ordering for patch
+1 :green_heart: mvninstall 3m 41s the patch passed
+1 :green_heart: compile 1m 25s the patch passed
+1 :green_heart: javac 1m 25s the patch passed
+1 :green_heart: shadedjars 8m 11s patch has no errors when building our shaded downstream artifacts.
+1 :green_heart: javadoc 1m 0s the patch passed
_ Other Tests _
+1 :green_heart: unit 132m 53s hbase-server in the patch passed.
+1 :green_heart: unit 1m 59s hbase-examples in the patch passed.
170m 37s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/2/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR https://github.com/apache/hbase/pull/3426
Optional Tests javac javadoc unit shadedjars compile
uname Linux 18078ca4d86f 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 / bffe8957c5
Default Java AdoptOpenJDK-1.8.0_282-b08
Test Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/2/testReport/
Max. process+thread count 3224 (vs. ulimit of 30000)
modules C: hbase-server hbase-examples U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/2/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Apache-HBase avatar Jun 27 '21 05:06 Apache-HBase

Ok I came up with a hack to maintain backward compat:

We can retain the return type of getStores. For HRegion, it returns a special List subclass that behaves just like a Collection: pass the Collection object, delegate operations to it, and reject any List-only operation.

There is no operation in the HBase code that must require performing List operations on the stores. If a coprocessor need List semantics, it can easily convert to a real list.

See if you guys like this approach.

jojochuang avatar Jun 28 '21 10:06 jojochuang

:confetti_ball: +1 overall

Vote Subsystem Runtime Comment
+0 :ok: reexec 0m 27s Docker mode activated.
_ Prechecks _
+1 :green_heart: dupname 0m 0s No case conflicting files found.
+1 :green_heart: hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 :green_heart: @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+0 :ok: mvndep 0m 22s Maven dependency ordering for branch
+1 :green_heart: mvninstall 3m 50s master passed
+1 :green_heart: compile 3m 43s master passed
+1 :green_heart: checkstyle 1m 25s master passed
+1 :green_heart: spotbugs 2m 51s master passed
_ Patch Compile Tests _
+0 :ok: mvndep 0m 14s Maven dependency ordering for patch
+1 :green_heart: mvninstall 3m 37s the patch passed
+1 :green_heart: compile 3m 48s the patch passed
+1 :green_heart: javac 3m 48s the patch passed
-0 :warning: checkstyle 1m 10s hbase-server: The patch generated 6 new + 249 unchanged - 0 fixed = 255 total (was 249)
+1 :green_heart: whitespace 0m 0s The patch has no whitespace issues.
+1 :green_heart: hadoopcheck 18m 14s Patch does not cause any errors with Hadoop 3.1.2 3.2.1 3.3.0.
+1 :green_heart: spotbugs 3m 8s the patch passed
_ Other Tests _
+1 :green_heart: asflicense 0m 27s The patch does not generate ASF License warnings.
51m 32s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/3/artifact/yetus-general-check/output/Dockerfile
GITHUB PR https://github.com/apache/hbase/pull/3426
Optional Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile
uname Linux 5d14063c651a 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 / 22ec681ad9
Default Java AdoptOpenJDK-1.8.0_282-b08
checkstyle https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/3/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt
Max. process+thread count 96 (vs. ulimit of 30000)
modules C: hbase-server hbase-examples U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/3/console
versions git=2.17.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Apache-HBase avatar Jun 28 '21 11:06 Apache-HBase

:confetti_ball: +1 overall

Vote Subsystem Runtime Comment
+0 :ok: reexec 0m 29s Docker mode activated.
-0 :warning: 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 :ok: mvndep 0m 26s Maven dependency ordering for branch
+1 :green_heart: mvninstall 4m 7s master passed
+1 :green_heart: compile 1m 38s master passed
+1 :green_heart: shadedjars 8m 10s branch has no errors when building our shaded downstream artifacts.
+1 :green_heart: javadoc 1m 3s master passed
_ Patch Compile Tests _
+0 :ok: mvndep 0m 15s Maven dependency ordering for patch
+1 :green_heart: mvninstall 4m 16s the patch passed
+1 :green_heart: compile 1m 43s the patch passed
+1 :green_heart: javac 1m 43s the patch passed
+1 :green_heart: shadedjars 8m 9s patch has no errors when building our shaded downstream artifacts.
+1 :green_heart: javadoc 1m 2s the patch passed
_ Other Tests _
+1 :green_heart: unit 122m 48s hbase-server in the patch passed.
+1 :green_heart: unit 1m 45s hbase-examples in the patch passed.
158m 17s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/3/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR https://github.com/apache/hbase/pull/3426
Optional Tests javac javadoc unit shadedjars compile
uname Linux 80c06df244ed 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 22ec681ad9
Default Java AdoptOpenJDK-11.0.10+9
Test Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/3/testReport/
Max. process+thread count 3444 (vs. ulimit of 30000)
modules C: hbase-server hbase-examples U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/3/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Apache-HBase avatar Jun 28 '21 13:06 Apache-HBase

:confetti_ball: +1 overall

Vote Subsystem Runtime Comment
+0 :ok: reexec 0m 36s Docker mode activated.
-0 :warning: 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 :ok: mvndep 0m 30s Maven dependency ordering for branch
+1 :green_heart: mvninstall 4m 21s master passed
+1 :green_heart: compile 1m 34s master passed
+1 :green_heart: shadedjars 9m 29s branch has no errors when building our shaded downstream artifacts.
+1 :green_heart: javadoc 1m 3s master passed
_ Patch Compile Tests _
+0 :ok: mvndep 0m 16s Maven dependency ordering for patch
+1 :green_heart: mvninstall 4m 19s the patch passed
+1 :green_heart: compile 1m 36s the patch passed
+1 :green_heart: javac 1m 36s the patch passed
+1 :green_heart: shadedjars 9m 14s patch has no errors when building our shaded downstream artifacts.
+1 :green_heart: javadoc 1m 5s the patch passed
_ Other Tests _
+1 :green_heart: unit 137m 42s hbase-server in the patch passed.
+1 :green_heart: unit 1m 59s hbase-examples in the patch passed.
176m 9s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/3/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR https://github.com/apache/hbase/pull/3426
Optional Tests javac javadoc unit shadedjars compile
uname Linux b65a89dcbea7 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 / 22ec681ad9
Default Java AdoptOpenJDK-1.8.0_282-b08
Test Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/3/testReport/
Max. process+thread count 3339 (vs. ulimit of 30000)
modules C: hbase-server hbase-examples U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/3/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Apache-HBase avatar Jun 28 '21 13:06 Apache-HBase

:confetti_ball: +1 overall

Vote Subsystem Runtime Comment
+0 :ok: reexec 0m 33s Docker mode activated.
_ Prechecks _
+1 :green_heart: dupname 0m 0s No case conflicting files found.
+1 :green_heart: hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 :green_heart: @author 0m 0s The patch does not contain any @author tags.
_ master Compile Tests _
+0 :ok: mvndep 0m 21s Maven dependency ordering for branch
+1 :green_heart: mvninstall 3m 58s master passed
+1 :green_heart: compile 3m 54s master passed
+1 :green_heart: checkstyle 1m 26s master passed
+1 :green_heart: spotbugs 2m 59s master passed
_ Patch Compile Tests _
+0 :ok: mvndep 0m 14s Maven dependency ordering for patch
+1 :green_heart: mvninstall 3m 56s the patch passed
+1 :green_heart: compile 4m 4s the patch passed
+1 :green_heart: javac 4m 4s the patch passed
-0 :warning: checkstyle 1m 8s hbase-server: The patch generated 4 new + 249 unchanged - 0 fixed = 253 total (was 249)
+1 :green_heart: whitespace 0m 0s The patch has no whitespace issues.
+1 :green_heart: hadoopcheck 19m 27s Patch does not cause any errors with Hadoop 3.1.2 3.2.1 3.3.0.
+1 :green_heart: spotbugs 3m 13s the patch passed
_ Other Tests _
+1 :green_heart: asflicense 0m 26s The patch does not generate ASF License warnings.
54m 11s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/4/artifact/yetus-general-check/output/Dockerfile
GITHUB PR https://github.com/apache/hbase/pull/3426
Optional Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile
uname Linux ec843b9bf275 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 4c7da496ad
Default Java AdoptOpenJDK-1.8.0_282-b08
checkstyle https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/4/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt
Max. process+thread count 96 (vs. ulimit of 30000)
modules C: hbase-server hbase-examples U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/4/console
versions git=2.17.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Apache-HBase avatar Jul 01 '21 10:07 Apache-HBase

:confetti_ball: +1 overall

Vote Subsystem Runtime Comment
+0 :ok: reexec 0m 40s Docker mode activated.
-0 :warning: 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 :ok: mvndep 0m 21s Maven dependency ordering for branch
+1 :green_heart: mvninstall 4m 48s master passed
+1 :green_heart: compile 1m 42s master passed
+1 :green_heart: shadedjars 8m 17s branch has no errors when building our shaded downstream artifacts.
+1 :green_heart: javadoc 1m 3s master passed
_ Patch Compile Tests _
+0 :ok: mvndep 0m 15s Maven dependency ordering for patch
+1 :green_heart: mvninstall 4m 34s the patch passed
+1 :green_heart: compile 1m 51s the patch passed
+1 :green_heart: javac 1m 51s the patch passed
+1 :green_heart: shadedjars 8m 19s patch has no errors when building our shaded downstream artifacts.
+1 :green_heart: javadoc 1m 3s the patch passed
_ Other Tests _
+1 :green_heart: unit 136m 15s hbase-server in the patch passed.
+1 :green_heart: unit 2m 10s hbase-examples in the patch passed.
173m 34s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/4/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR https://github.com/apache/hbase/pull/3426
Optional Tests javac javadoc unit shadedjars compile
uname Linux 4cc173c2ff31 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 / 4c7da496ad
Default Java AdoptOpenJDK-11.0.10+9
Test Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/4/testReport/
Max. process+thread count 3381 (vs. ulimit of 30000)
modules C: hbase-server hbase-examples U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/4/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Apache-HBase avatar Jul 01 '21 12:07 Apache-HBase

:confetti_ball: +1 overall

Vote Subsystem Runtime Comment
+0 :ok: reexec 0m 44s Docker mode activated.
-0 :warning: 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 :ok: mvndep 0m 35s Maven dependency ordering for branch
+1 :green_heart: mvninstall 4m 47s master passed
+1 :green_heart: compile 1m 43s master passed
+1 :green_heart: shadedjars 11m 11s branch has no errors when building our shaded downstream artifacts.
+1 :green_heart: javadoc 1m 9s master passed
_ Patch Compile Tests _
+0 :ok: mvndep 0m 17s Maven dependency ordering for patch
+1 :green_heart: mvninstall 4m 52s the patch passed
+1 :green_heart: compile 1m 45s the patch passed
+1 :green_heart: javac 1m 45s the patch passed
+1 :green_heart: shadedjars 10m 50s patch has no errors when building our shaded downstream artifacts.
+1 :green_heart: javadoc 1m 8s the patch passed
_ Other Tests _
+1 :green_heart: unit 135m 44s hbase-server in the patch passed.
+1 :green_heart: unit 2m 0s hbase-examples in the patch passed.
179m 26s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/4/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR https://github.com/apache/hbase/pull/3426
Optional Tests javac javadoc unit shadedjars compile
uname Linux f5e3c7d82e18 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 / 4c7da496ad
Default Java AdoptOpenJDK-1.8.0_282-b08
Test Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/4/testReport/
Max. process+thread count 3257 (vs. ulimit of 30000)
modules C: hbase-server hbase-examples U: .
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3426/4/console
versions git=2.17.1 maven=3.6.3
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Apache-HBase avatar Jul 01 '21 12:07 Apache-HBase

Kicking @anoopsjohn again!!!

saintstack avatar Aug 16 '21 18:08 saintstack

Sorry I dont think my concern is addressed yet.
This method of getStores() is an API in Region which is an exposed interface for CPs. So if a CP calls this, we will get the new CollectionAsList object which wraps the original data structure in HRegion object. But a CP code can change this data structure by calling add() or remove() APIs. In this new patch also this is possible. Now to solve this issue of avoiding creation of new ArrayList every time this API been called internally within RS code, we can have another way. We can keep this method and its implementation as is in HRegion. Add a new method in HRegion (Not added in Region) which can return the stores.values() itself. And within HBase code base, use this new API instead of old one..

anoopsjohn avatar Aug 24 '21 13:08 anoopsjohn

Sorry Stack.. Was extreme busy last few days and did not notice this ping.

anoopsjohn avatar Aug 24 '21 13:08 anoopsjohn

LGTM

VincentChoiCN avatar Jul 02 '22 01:07 VincentChoiCN