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-27296 Some Cell's implementation of toString() such as Individu… #4695

Merged
merged 1 commit into from
Aug 12, 2022

Conversation

huaxiangsun
Copy link
Contributor

…alBytesFieldCell prints out value and tags which is too verbose

…alBytesFieldCell prints out value and tags which is too verbose
@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 30s 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 _
+0 🆗 mvndep 0m 12s Maven dependency ordering for branch
+1 💚 mvninstall 3m 22s master passed
+1 💚 compile 3m 19s master passed
+1 💚 checkstyle 0m 49s master passed
+1 💚 spotless 0m 59s branch has no errors when running spotless:check.
+1 💚 spotbugs 2m 29s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 10s Maven dependency ordering for patch
+1 💚 mvninstall 2m 51s the patch passed
+1 💚 compile 3m 19s the patch passed
+1 💚 javac 3m 19s the patch passed
+1 💚 checkstyle 0m 44s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 hadoopcheck 13m 6s Patch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚 spotless 0m 43s patch has no errors when running spotless:check.
+1 💚 spotbugs 1m 56s the patch passed
_ Other Tests _
+1 💚 asflicense 0m 18s The patch does not generate ASF License warnings.
41m 44s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4695/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR #4695
Optional Tests dupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile
uname Linux 6a5ab2a59f4b 5.4.0-122-generic #138-Ubuntu SMP Wed Jun 22 15:00:31 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 39b496e
Default Java AdoptOpenJDK-1.8.0_282-b08
Max. process+thread count 64 (vs. ulimit of 30000)
modules C: hbase-common hbase-server U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4695/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
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 39s 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 14s Maven dependency ordering for branch
+1 💚 mvninstall 2m 41s master passed
+1 💚 compile 0m 55s master passed
+1 💚 shadedjars 3m 50s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 0m 36s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 11s Maven dependency ordering for patch
+1 💚 mvninstall 2m 25s the patch passed
+1 💚 compile 0m 54s the patch passed
+1 💚 javac 0m 54s the patch passed
+1 💚 shadedjars 3m 50s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 0m 35s the patch passed
_ Other Tests _
+1 💚 unit 1m 47s hbase-common in the patch passed.
+1 💚 unit 189m 38s hbase-server in the patch passed.
209m 52s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4695/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR #4695
Optional Tests javac javadoc unit shadedjars compile
uname Linux 03b22163d924 5.4.0-1071-aws #76~18.04.1-Ubuntu SMP Mon Mar 28 17:49:57 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 39b496e
Default Java AdoptOpenJDK-11.0.10+9
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4695/1/testReport/
Max. process+thread count 2860 (vs. ulimit of 30000)
modules C: hbase-common hbase-server U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4695/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
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 37s 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 13s Maven dependency ordering for branch
+1 💚 mvninstall 2m 27s master passed
+1 💚 compile 0m 50s master passed
+1 💚 shadedjars 4m 2s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 0m 36s master passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 11s Maven dependency ordering for patch
+1 💚 mvninstall 2m 12s the patch passed
+1 💚 compile 0m 49s the patch passed
+1 💚 javac 0m 49s the patch passed
+1 💚 shadedjars 4m 5s patch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 0m 35s the patch passed
_ Other Tests _
+1 💚 unit 1m 28s hbase-common in the patch passed.
+1 💚 unit 202m 27s hbase-server in the patch passed.
222m 32s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4695/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR #4695
Optional Tests javac javadoc unit shadedjars compile
uname Linux ce7d2b0e51ba 5.4.0-1081-aws #88~18.04.1-Ubuntu SMP Thu Jun 23 16:29:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/hbase-personality.sh
git revision master / 39b496e
Default Java AdoptOpenJDK-1.8.0_282-b08
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4695/1/testReport/
Max. process+thread count 2820 (vs. ulimit of 30000)
modules C: hbase-common hbase-server U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4695/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.

Copy link
Member

@ndimiduk ndimiduk left a comment

Choose a reason for hiding this comment

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

This looks fine to me, I can't think of a reason that we'd want to log cell values. But maybe there are other uses for the string version of a Cell?

This looks to me like you've changed all production usage of CellUtil.toString to use false as the second argument, is that correct?

@huaxiangsun
Copy link
Contributor Author

Thanks @ndimiduk for the review. Other implementations of Cell interface's toString() just print out the key, family, seqId etc, they do not include the value part. The change makes the behavior consistent. I'd think it is ok. If it really needs to print out the value array, they can access the value array and log it. What do you think?

@huaxiangsun huaxiangsun merged commit 73759be into apache:master Aug 12, 2022
huaxiangsun added a commit to huaxiangsun/hbase that referenced this pull request Aug 12, 2022
…alBytesFieldCell prints out value and tags which is too verbose (apache#4695)

Signed-off-by: Nick Dimiduk <[email protected]>
huaxiangsun added a commit to huaxiangsun/hbase that referenced this pull request Aug 12, 2022
…alBytesFieldCell prints out value and tags which is too verbose (apache#4695)

Signed-off-by: Nick Dimiduk <[email protected]>
huaxiangsun added a commit to huaxiangsun/hbase that referenced this pull request Aug 12, 2022
…alBytesFieldCell prints out value and tags which is too verbose (apache#4695)

Signed-off-by: Nick Dimiduk <[email protected]>
huaxiangsun added a commit that referenced this pull request Aug 15, 2022
…alBytesFieldCell prints out value and tags which is too verbose (#4695) (#4701)

Signed-off-by: Nick Dimiduk <[email protected]>
huaxiangsun added a commit that referenced this pull request Aug 15, 2022
…alBytesFieldCell prints out value and tags which is too verbose (#4695) (#4702)

Signed-off-by: Nick Dimiduk <[email protected]>
huaxiangsun added a commit that referenced this pull request Aug 15, 2022
…alBytesFieldCell prints out value and tags which is too verbose (#4695) (#4703)

Signed-off-by: Nick Dimiduk <[email protected]>
vinayakphegde pushed a commit to vinayakphegde/hbase that referenced this pull request Apr 4, 2024
…alBytesFieldCell prints out value and tags which is too verbose (apache#4695) (apache#4703)

Signed-off-by: Nick Dimiduk <[email protected]>
(cherry picked from commit a925b33)
Change-Id: I581f81cf8dc4978a16b5d92270662b4a0a3807a4
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.

3 participants