forked from bharathv/kudu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information
Showing
2 changed files
with
45 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters