Adar Dembo has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/8236 )

Change subject: python: replace bespoke minicluster implementation with control 
shell
......................................................................

python: replace bespoke minicluster implementation with control shell

In this case we're using JSON serialization to talk to the shell because the
Python bindings don't already make use of protobuf.

I had to update test_scantoken.py to shut down its multiprocessing pool
after using it, otherwise its subprocesses inherited a copy of the control
shell stdin pipe writer. This led to hangs on stop_cluster() because closing
the control shell's stdin didn't actually close the last stdin writer, thus
the control shell didn't exit.

Change-Id: I821e864cfe738a4d39ae039b95ca38f16cdcfb82
Reviewed-on: http://gerrit.cloudera.org:8080/8236
Tested-by: Kudu Jenkins
Reviewed-by: Wes McKinney <[email protected]>
Reviewed-by: Dan Burkert <[email protected]>
---
M python/kudu/tests/common.py
M python/kudu/tests/test_scantoken.py
2 files changed, 42 insertions(+), 96 deletions(-)

Approvals:
  Kudu Jenkins: Verified
  Wes McKinney: Looks good to me, but someone else must approve
  Dan Burkert: Looks good to me, approved

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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I821e864cfe738a4d39ae039b95ca38f16cdcfb82
Gerrit-Change-Number: 8236
Gerrit-PatchSet: 3
Gerrit-Owner: Adar Dembo <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>
Gerrit-Reviewer: Jordan Birdsell <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Wes McKinney <[email protected]>

Reply via email to