-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Conversation
…alBytesFieldCell prints out value and tags which is too verbose
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
There was a problem hiding this 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?
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? |
…alBytesFieldCell prints out value and tags which is too verbose (apache#4695) Signed-off-by: Nick Dimiduk <[email protected]>
…alBytesFieldCell prints out value and tags which is too verbose (apache#4695) Signed-off-by: Nick Dimiduk <[email protected]>
…alBytesFieldCell prints out value and tags which is too verbose (apache#4695) Signed-off-by: Nick Dimiduk <[email protected]>
…alBytesFieldCell prints out value and tags which is too verbose (#4695) (#4701) Signed-off-by: Nick Dimiduk <[email protected]>
…alBytesFieldCell prints out value and tags which is too verbose (#4695) (#4702) Signed-off-by: Nick Dimiduk <[email protected]>
…alBytesFieldCell prints out value and tags which is too verbose (#4695) (#4703) Signed-off-by: Nick Dimiduk <[email protected]>
…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
…alBytesFieldCell prints out value and tags which is too verbose