Re: Kudu CLI tool JSON format

2019-06-11 Thread Adar Lieber-Dembo
Thanks for the report. I filed KUDU-2845 to track the issue. On Tue, Jun 11, 2019 at 9:44 AM Todd Lipcon wrote: > > I guess the issue is that we use rapidjson's 'String' support to write out > C++ strings, which are binary data, not valid UTF8. That's somewhat incorrect > of us, and we should

Re: Kudu CLI tool JSON format

2019-06-11 Thread Todd Lipcon
I guess the issue is that we use rapidjson's 'String' support to write out C++ strings, which are binary data, not valid UTF8. That's somewhat incorrect of us, and we should be base64-encoding such binary data. Fixing this is a little bit incompatible, but for something like partition keys I

Kudu CLI tool JSON format

2019-06-11 Thread Pavel Martynov
Hi, guys! We trying to use an output of "kudu cluster ksck master -ksck_format json_compact" for integration with our monitoring system and hit a little strange. Some part of output can't be read as UTF-8 with Python 3: $ kudu cluster ksck master -ksck_format json_compact > kudu.json $ python