aboutsummaryrefslogtreecommitdiff
path: root/sql/hive
diff options
context:
space:
mode:
authorCheng Lian <lian@databricks.com>2014-11-02 15:15:52 -0800
committerMichael Armbrust <michael@databricks.com>2014-11-02 15:15:52 -0800
commit495a132031ae002c787371f2fd0ba4be2437e7c8 (patch)
treeb4afbcdb461f7153e38569c8ebd2d608e448fca3 /sql/hive
parente4b80894bdb72c0acf8832fd48421c546fbc37e6 (diff)
downloadspark-495a132031ae002c787371f2fd0ba4be2437e7c8.tar.gz
spark-495a132031ae002c787371f2fd0ba4be2437e7c8.tar.bz2
spark-495a132031ae002c787371f2fd0ba4be2437e7c8.zip
[SQL] Fixes race condition in CliSuite
`CliSuite` has been flaky for a while, this PR tries to improve this situation by fixing a race condition in `CliSuite`. The `captureOutput` function is used to capture both stdout and stderr output of the forked external process in two background threads and search for expected strings, but wasn't been properly synchronized before. Author: Cheng Lian <lian@databricks.com> Closes #3060 from liancheng/fix-cli-suite and squashes the following commits: a70569c [Cheng Lian] Fixes race condition in CliSuite
Diffstat (limited to 'sql/hive')
0 files changed, 0 insertions, 0 deletions