Skip to content

HBASE-27296 Some Cell's implementation of toString() such as Individu… - #4695

Merged
huaxiangsun merged 1 commit into
apache:masterfrom
huaxiangsun:master.HBASE-27296
Aug 12, 2022
Merged

HBASE-27296 Some Cell's implementation of toString() such as Individu…#4695
huaxiangsun merged 1 commit into
apache:masterfrom
huaxiangsun:master.HBASE-27296

Conversation

@huaxiangsun

Copy link
Copy Markdown
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
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 30sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 12sMaven dependency ordering for branch
+1 💚mvninstall3m 22smaster passed
+1 💚compile3m 19smaster passed
+1 💚checkstyle0m 49smaster passed
+1 💚spotless0m 59sbranch has no errors when running spotless:check.
+1 💚spotbugs2m 29smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 10sMaven dependency ordering for patch
+1 💚mvninstall2m 51sthe patch passed
+1 💚compile3m 19sthe patch passed
+1 💚javac3m 19sthe patch passed
+1 💚checkstyle0m 44sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚hadoopcheck13m 6sPatch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.
+1 💚spotless0m 43spatch has no errors when running spotless:check.
+1 💚spotbugs1m 56sthe patch passed
_ Other Tests _
+1 💚asflicense0m 18sThe patch does not generate ASF License warnings.
41m 44s
SubsystemReport/Notes
DockerClientAPI=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 Testsdupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile
unameLinux 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 toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 39b496e
Default JavaAdoptOpenJDK-1.8.0_282-b08
Max. process+thread count64 (vs. ulimit of 30000)
modulesC: hbase-common hbase-server U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4695/1/console
versionsgit=2.17.1 maven=3.6.3 spotbugs=4.2.2
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 39sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 14sMaven dependency ordering for branch
+1 💚mvninstall2m 41smaster passed
+1 💚compile0m 55smaster passed
+1 💚shadedjars3m 50sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 36smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 11sMaven dependency ordering for patch
+1 💚mvninstall2m 25sthe patch passed
+1 💚compile0m 54sthe patch passed
+1 💚javac0m 54sthe patch passed
+1 💚shadedjars3m 50spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 35sthe patch passed
_ Other Tests _
+1 💚unit1m 47shbase-common in the patch passed.
+1 💚unit189m 38shbase-server in the patch passed.
209m 52s
SubsystemReport/Notes
DockerClientAPI=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 Testsjavac javadoc unit shadedjars compile
unameLinux 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 toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 39b496e
Default JavaAdoptOpenJDK-11.0.10+9
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4695/1/testReport/
Max. process+thread count2860 (vs. ulimit of 30000)
modulesC: hbase-common hbase-server U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4695/1/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 37sDocker mode activated.
-0 ⚠️yetus0m 2sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 13sMaven dependency ordering for branch
+1 💚mvninstall2m 27smaster passed
+1 💚compile0m 50smaster passed
+1 💚shadedjars4m 2sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 36smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 11sMaven dependency ordering for patch
+1 💚mvninstall2m 12sthe patch passed
+1 💚compile0m 49sthe patch passed
+1 💚javac0m 49sthe patch passed
+1 💚shadedjars4m 5spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 35sthe patch passed
_ Other Tests _
+1 💚unit1m 28shbase-common in the patch passed.
+1 💚unit202m 27shbase-server in the patch passed.
222m 32s
SubsystemReport/Notes
DockerClientAPI=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 Testsjavac javadoc unit shadedjars compile
unameLinux 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 toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 39b496e
Default JavaAdoptOpenJDK-1.8.0_282-b08
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4695/1/testReport/
Max. process+thread count2820 (vs. ulimit of 30000)
modulesC: hbase-common hbase-server U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4695/1/console
versionsgit=2.17.1 maven=3.6.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@ndimidukndimiduk left a comment

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.

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
Copy Markdown
ContributorAuthor

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:masterAug 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 <ndimiduk@apache.org>
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 <ndimiduk@apache.org>
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 <ndimiduk@apache.org>
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 <ndimiduk@apache.org>
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 <ndimiduk@apache.org>
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 <ndimiduk@apache.org>
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 <ndimiduk@apache.org>
(cherry picked from commit a925b33)
Change-Id: I581f81cf8dc4978a16b5d92270662b4a0a3807a4
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

@huaxiangsun@Apache-HBase@ndimiduk