Quanlong Huang has uploaded this change for review. ( http://gerrit.cloudera.org:8080/11124
Change subject: IMPALA-7364: Bump RapidJSON version to 1.1.0 ...................................................................... IMPALA-7364: Bump RapidJSON version to 1.1.0 There're five kinds of broken APIs to fix: * Document::AddMember can't accept parameters in const char* types. These parameters should be wrapped with rapidjson::StringRef(). * Document::AddMember can't accpet primitive values like int, bool, double, etc. These parameters should be explicitly constructed into rapidjson::Value. * Document::GetParseError now returns ParseErrorCode instead of a string. We should wrap it with GetParseError_En(). The error messages are also changed. Strings in unit tests should be changed correspondingly. * rapidjson::FileStream is replaced by rapidjson::FileReadStream Tests: * Pass all tests in my dev env Change-Id: I21353b0d769f81c13f506737e41fbac17655245c --- M be/src/kudu/util/jsonreader-test.cc M be/src/kudu/util/jsonreader.cc M be/src/kudu/util/jsonwriter.cc M be/src/rpc/impala-service-pool.cc M be/src/rpc/rpc-mgr.cc M be/src/rpc/rpc-trace.cc M be/src/runtime/coordinator-backend-state.cc M be/src/service/impala-http-handler.cc M be/src/statestore/statestore.cc M be/src/util/collection-metrics.h M be/src/util/default-path-handlers.cc M be/src/util/logging-support.cc M be/src/util/metrics.cc M be/src/util/metrics.h M be/src/util/redactor-config-parser-test.cc M be/src/util/redactor.cc M be/src/util/thread.cc M be/src/util/webserver-test.cc M be/src/util/webserver.cc M bin/impala-config.sh 20 files changed, 124 insertions(+), 81 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/24/11124/2 -- To view, visit http://gerrit.cloudera.org:8080/11124 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I21353b0d769f81c13f506737e41fbac17655245c Gerrit-Change-Number: 11124 Gerrit-PatchSet: 2 Gerrit-Owner: Quanlong Huang <huangquanl...@gmail.com>