Yingchun Lai has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/18448 )

Change subject: [tools] use thread pool for 'kudu local_replica copy_from_local'
......................................................................

[tools] use thread pool for 'kudu local_replica copy_from_local'

In real world, we often use copy_from_local to copy a large
amount of tablets, we can pass a tablet id list to the tool
for convenient, and we can also gain profit of opening
filesystem only once to reduce time.

This patch also updates the related unit test.

Change-Id: I4de49e948cc1a686db5e1bf424470ca9e800ee36
Reviewed-on: http://gerrit.cloudera.org:8080/18448
Tested-by: Kudu Jenkins
Reviewed-by: Yifan Zhang <[email protected]>
Reviewed-by: Andrew Wong <[email protected]>
---
M src/kudu/tools/kudu-tool-test.cc
M src/kudu/tools/tool_action_common.cc
M src/kudu/tools/tool_action_local_replica.cc
3 files changed, 120 insertions(+), 42 deletions(-)

Approvals:
  Kudu Jenkins: Verified
  Yifan Zhang: Looks good to me, but someone else must approve
  Andrew Wong: Looks good to me, approved

--
To view, visit http://gerrit.cloudera.org:8080/18448
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I4de49e948cc1a686db5e1bf424470ca9e800ee36
Gerrit-Change-Number: 18448
Gerrit-PatchSet: 9
Gerrit-Owner: Yingchun Lai <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yifan Zhang <[email protected]>
Gerrit-Reviewer: Yingchun Lai <[email protected]>

Reply via email to