Alexey Serbin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/19584 )
Change subject: KUDU-3452 A tool to report on table creation progress ...................................................................... KUDU-3452 A tool to report on table creation progress If there isn't enough healthy tablet servers to create the required number of replicas, the catalog manager retries creating corresponding tablet replicas for a long time. Hence there is a need to report on the table creation process, so users could be aware of its current status. If necessary, they could make an informed decision to cancel the process by dropping the table or the partition being created if it's stuck. This patch adds a new command: 'kudu table list_in_flight' to show tables in the process of being created. For each in-flight table, it reports on its id, name, state, and the number of tablets being created. Below is an example of the new tool's output: NoEnoughTServersTable id:3c56ed6c159f4b35885912c34259de46 num_tablets:1 num_tablets_in_flight:1 state:RUNNING AddNewPartitionTable id:6c2209cc62af4398a60ebdc8f26050f3 num_tablets:2 num_tablets_in_flight:1 state:ALTERING Change-Id: I348b69f48e6ce36ed869097f9f798c5946136de5 Reviewed-on: http://gerrit.cloudera.org:8080/19584 Tested-by: Alexey Serbin <[email protected]> Reviewed-by: Alexey Serbin <[email protected]> --- M src/kudu/client/master_proxy_rpc.cc M src/kudu/master/catalog_manager.cc M src/kudu/master/catalog_manager.h M src/kudu/master/master.proto M src/kudu/master/master_service.cc M src/kudu/master/master_service.h M src/kudu/tools/kudu-tool-test.cc M src/kudu/tools/tool.proto M src/kudu/tools/tool_action_common.cc M src/kudu/tools/tool_action_table.cc 10 files changed, 344 insertions(+), 1 deletion(-) Approvals: Alexey Serbin: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/19584 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I348b69f48e6ce36ed869097f9f798c5946136de5 Gerrit-Change-Number: 19584 Gerrit-PatchSet: 21 Gerrit-Owner: Wang Xixu <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Ashwani Raina <[email protected]> Gerrit-Reviewer: Attila Bukor <[email protected]> Gerrit-Reviewer: KeDeng <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Tidy Bot (241) Gerrit-Reviewer: Wang Xixu <[email protected]> Gerrit-Reviewer: Yifan Zhang <[email protected]> Gerrit-Reviewer: Yingchun Lai <[email protected]> Gerrit-Reviewer: Yuqi Du <[email protected]>
