Todd Lipcon has submitted this change and it was merged.

Change subject: KUDU-1896 (part 1). Add redaction to JSON protobuf output
......................................................................


KUDU-1896 (part 1). Add redaction to JSON protobuf output

This enables the redaction attribute when outputting a protobuf as JSON.
This is important in the context of the tracing endpoint as well as
/rpcz, to avoid such traces containing user data.

Change-Id: I506b3710d2b50ec7a8947c49ec208eb4b53b63ea
Reviewed-on: http://gerrit.cloudera.org:8080/6158
Reviewed-by: Hao Hao <[email protected]>
Tested-by: Todd Lipcon <[email protected]>
Reviewed-by: Todd Lipcon <[email protected]>
---
M src/kudu/util/CMakeLists.txt
M src/kudu/util/jsonwriter-test.cc
M src/kudu/util/jsonwriter.cc
M src/kudu/util/jsonwriter.h
M src/kudu/util/jsonwriter_test.proto
M src/kudu/util/logging.h
M src/kudu/util/pb_util.cc
7 files changed, 57 insertions(+), 5 deletions(-)

Approvals:
  Hao Hao: Looks good to me, but someone else must approve
  Todd Lipcon: Looks good to me, approved; Verified



-- 
To view, visit http://gerrit.cloudera.org:8080/6158
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I506b3710d2b50ec7a8947c49ec208eb4b53b63ea
Gerrit-PatchSet: 3
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>
Gerrit-Reviewer: Hao Hao <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to