Alexey Serbin has submitted this change and it was merged. Change subject: [master] store CA information in the system table ......................................................................
[master] store CA information in the system table The certificate authority information (private key and corresponding CA certificate) is generated upon first start of Kudu cluster and persistently stored in the system table. Added simple unit tests for the corresponding entries in the catalog table. Also, added integration tests to verify the operation in case of multi-master clusters. The next step would be adding a way to re-generate CA information. Change-Id: I16fa077e39f5d75f682cca7220371acdef4f0630 Reviewed-on: http://gerrit.cloudera.org:8080/5793 Reviewed-by: Todd Lipcon <t...@apache.org> Tested-by: Alexey Serbin <aser...@cloudera.com> --- M src/kudu/integration-tests/CMakeLists.txt A src/kudu/integration-tests/master_cert_authority-itest.cc M src/kudu/master/catalog_manager.cc M src/kudu/master/catalog_manager.h M src/kudu/master/master.cc M src/kudu/master/master.proto M src/kudu/master/master_cert_authority.cc M src/kudu/master/master_cert_authority.h M src/kudu/master/master_service.cc M src/kudu/master/sys_catalog-test.cc M src/kudu/master/sys_catalog.cc M src/kudu/master/sys_catalog.h 12 files changed, 547 insertions(+), 49 deletions(-) Approvals: Todd Lipcon: Looks good to me, approved Alexey Serbin: Verified -- To view, visit http://gerrit.cloudera.org:8080/5793 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: I16fa077e39f5d75f682cca7220371acdef4f0630 Gerrit-PatchSet: 17 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Alexey Serbin <aser...@cloudera.com> Gerrit-Reviewer: Adar Dembo <a...@cloudera.com> Gerrit-Reviewer: Alexey Serbin <aser...@cloudera.com> Gerrit-Reviewer: Dan Burkert <danburk...@apache.org> Gerrit-Reviewer: Tidy Bot Gerrit-Reviewer: Todd Lipcon <t...@apache.org>