Attila Bukor has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/19271 )
Change subject: KUDU-3423 Add support for Ranger KMS HA ...................................................................... KUDU-3423 Add support for Ranger KMS HA Ranger KMS supports high availability by listing multiple Ranger KMS servers (comma-separated, no spaces). Up until now, Kudu allowed configuring only one Ranger KMS server. This patch adds support for listing multiple KMS servers. This is done by extending EasyCurl to support multiple URLs. Kudu always attempts to connect to the first one in the list, and if the connection fails due to a network error or a timeout, it fails over to the next one. If a server responds with an error, that is considered a valid response and then it is returned immediately to the caller without trying the remaining URLs. Change-Id: Ibef941ed20eda1f4e624c2c7e16ca7955af570d8 Reviewed-on: http://gerrit.cloudera.org:8080/19271 Tested-by: Kudu Jenkins Reviewed-by: Alexey Serbin <[email protected]> --- M src/kudu/fs/fs_manager.cc M src/kudu/integration-tests/security-itest.cc M src/kudu/ranger-kms/ranger_kms_client.cc M src/kudu/ranger-kms/ranger_kms_client.h M src/kudu/util/curl_util.cc M src/kudu/util/curl_util.h 6 files changed, 104 insertions(+), 12 deletions(-) Approvals: Kudu Jenkins: Verified Alexey Serbin: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/19271 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Ibef941ed20eda1f4e624c2c7e16ca7955af570d8 Gerrit-Change-Number: 19271 Gerrit-PatchSet: 7 Gerrit-Owner: Attila Bukor <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Attila Bukor <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Zoltan Chovan <[email protected]>
