Uh oh!
There was an error while loading. Please reload this page.
[SQL] Fixes race condition in CliSuite - #3060
Conversation
SparkQA
commented
Nov 2, 2014
Test build #22760 has started for PR 3060 at commit
|
SparkQA
commented
Nov 2, 2014
Test build #22760 has finished for PR 3060 at commit
|
AmplabJenkins
commented
Nov 2, 2014
Test PASSed. |
liancheng
commented
Nov 2, 2014
retest this please (The fixed issue is a race condition, would like to run multiple Jenkins builds to verify.) |
SparkQA
commented
Nov 2, 2014
Test build #505 has started for PR 3060 at commit
|
SparkQA
commented
Nov 2, 2014
Test build #505 has finished for PR 3060 at commit
|
scwf
commented
Nov 2, 2014
aha, it explains the timeout issue. is there the same problem in |
scwf
commented
Nov 2, 2014
retest this please. |
SparkQA
commented
Nov 2, 2014
Test build #22762 has started for PR 3060 at commit
|
SparkQA
commented
Nov 2, 2014
Test build #22762 has finished for PR 3060 at commit
|
AmplabJenkins
commented
Nov 2, 2014
Test PASSed. |
marmbrus
commented
Nov 2, 2014
Thanks for figuring this out! Merged to master. |
`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> Closesapache#3060 from liancheng/fix-cli-suite and squashes the following commits: a70569c [Cheng Lian] Fixes race condition in CliSuite
This PR backports apache#2843 to branch-1.1. The key difference is that this one doesn't support Hive 0.13.1 and thus always returns `0.12.0` when `spark.sql.hive.version` is queried. 6 other commits on which apache#2843 depends were also backported, they are: - apache#2887 for `SessionState` lifecycle control - apache#2675, apache#2823 & apache#3060 for major test suite refactoring and bug fixes - apache#2164, for Parquet test suites updates - apache#2493, for reading `spark.sql.*` configurations Author: Cheng Lian <lian@databricks.com> Author: Cheng Lian <lian.cs.zju@gmail.com> Author: Michael Armbrust <michael@databricks.com> Closesapache#3113 from liancheng/get-info-for-1.1 and squashes the following commits: d354161 [Cheng Lian] Provides Spark and Hive version in HiveThriftServer2 for branch-1.1 0c2a244 [Michael Armbrust] [SPARK-3646][SQL] Copy SQL configuration from SparkConf when a SQLContext is created. 3202a36 [Michael Armbrust] [SQL] Decrease partitions when testing 7f395b7 [Cheng Lian] [SQL] Fixes race condition in CliSuite 0dd28ec [Cheng Lian] [SQL] Fixes the race condition that may cause test failure 5928b39 [Cheng Lian] [SPARK-3809][SQL] Fixes test suites in hive-thriftserver faeca62 [Cheng Lian] [SPARK-4037][SQL] Removes the SessionState instance created in HiveThriftServer2
CliSuitehas been flaky for a while, this PR tries to improve this situation by fixing a race condition inCliSuite. ThecaptureOutputfunction 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.