Alexey Serbin has submitted this change and it was merged. Change subject: [tools] added insert-generated-rows into kudu tools ......................................................................
[tools] added insert-generated-rows into kudu tools The insert-generated-rows tool has been merged into the 'kudu' umbrella toolset. This addresses KUDU-1628. Besides, added ability to run multiple inserter threads and specify additional parameters on batching behavior of the generated write operations. It's possible to run data generating sessions both in MANUAL_FLUSH and AUTO_FLUSH_BACKGROUND modes. Introduced sequential and random modes for the data generator. Overall, these changes allow to use the tool to measure performance of the Kudu C++ client library in simplistic 'push-as-much-as-you-can' scenario: the client generates and sends data as fast as it can. Change-Id: I332927c0b928c9c4fb81a8e26f5c9ed7565299ad Reviewed-on: http://gerrit.cloudera.org:8080/4412 Reviewed-by: Adar Dembo <a...@cloudera.com> Tested-by: Kudu Jenkins --- M src/kudu/tools/CMakeLists.txt D src/kudu/tools/insert-generated-rows.cc M src/kudu/tools/kudu-tool-test.cc M src/kudu/tools/tool_action.cc M src/kudu/tools/tool_action.h M src/kudu/tools/tool_action_cluster.cc M src/kudu/tools/tool_action_fs.cc M src/kudu/tools/tool_action_local_replica.cc M src/kudu/tools/tool_action_master.cc M src/kudu/tools/tool_action_pbc.cc M src/kudu/tools/tool_action_remote_replica.cc M src/kudu/tools/tool_action_table.cc M src/kudu/tools/tool_action_tablet.cc A src/kudu/tools/tool_action_test.cc M src/kudu/tools/tool_action_tserver.cc M src/kudu/tools/tool_action_wal.cc M src/kudu/tools/tool_main.cc 17 files changed, 751 insertions(+), 183 deletions(-) Approvals: Adar Dembo: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/4412 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: I332927c0b928c9c4fb81a8e26f5c9ed7565299ad Gerrit-PatchSet: 23 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: David Ribeiro Alves <dral...@apache.org> Gerrit-Reviewer: Dinesh Bhat <din...@cloudera.com> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Tidy Bot Gerrit-Reviewer: Todd Lipcon <t...@apache.org>