Wang Xixu has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/19320


Change subject: [Tools] Ignore showing parition information to avoid json 
decoding fail
......................................................................

[Tools] Ignore showing parition information to avoid json decoding fail

The field: partition_key_start/partition_key_end in PartitionPB is bytes.
When decoding the result of ksck in json format may fail. In a machine,
it needs to use latin1 to decode the result, some needs to use cp1252,
the other use utf8. Most time, it is no need to fetch partition information.
Therefore using this flag to skip showing partition information.

Change-Id: Ieb48a9a5e41614e617d3fdbe73da10c8b92a6bc1
---
M src/kudu/tools/ksck-test.cc
M src/kudu/tools/ksck.cc
M src/kudu/tools/ksck_results.cc
M src/kudu/tools/tool_action_cluster.cc
4 files changed, 27 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/20/19320/1
--
To view, visit http://gerrit.cloudera.org:8080/19320
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ieb48a9a5e41614e617d3fdbe73da10c8b92a6bc1
Gerrit-Change-Number: 19320
Gerrit-PatchSet: 1
Gerrit-Owner: Wang Xixu <1450306...@qq.com>

Reply via email to