FailedChanges

Summary

  1. [SPARK-25605][TESTS] Alternate take. Run cast string to timestamp tests (details)
  2. [SPARK-25611][SPARK-25612][SQL][TESTS] Improve test run time of (details)
  3. [SPARK-25636][CORE] spark-submit cuts off the failure reason when there (details)
Commit eaafcd8a22db187e87f09966826dcf677c4c38ea by sean.owen
[SPARK-25605][TESTS] Alternate take. Run cast string to timestamp tests
for a subset of timezones
## What changes were proposed in this pull request?
Try testing timezones in parallel instead in CastSuite, instead of
random sampling. See also #22631
## How was this patch tested?
Existing test.
Closes #22672 from srowen/SPARK-25605.2.
Authored-by: Sean Owen <sean.owen@databricks.com> Signed-off-by: Sean
Owen <sean.owen@databricks.com>
The file was modifiedsql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CastSuite.scala (diff)
Commit 3528c08bebbcad3dee7557945ddcd31c99deb50e by sean.owen
[SPARK-25611][SPARK-25612][SQL][TESTS] Improve test run time of
CompressionCodecSuite
## What changes were proposed in this pull request? Reduced the
combination of codecs from 9 to 3 to improve the test runtime.
## How was this patch tested? This is a test fix.
Closes #22641 from dilipbiswal/SPARK-25611.
Authored-by: Dilip Biswal <dbiswal@us.ibm.com> Signed-off-by: Sean Owen
<sean.owen@databricks.com>
The file was modifiedsql/hive/src/test/scala/org/apache/spark/sql/hive/CompressionCodecSuite.scala (diff)
Commit 8a7872dc254710f9b29fdfdb2915a949ef606871 by vanzin
[SPARK-25636][CORE] spark-submit cuts off the failure reason when there
is an error connecting to master
## What changes were proposed in this pull request? Cause of the error
is wrapped with SparkException, now finding the cause from the wrapped
exception and throwing the cause instead of the wrapped exception.
## How was this patch tested? Verified it manually by checking the cause
of the error, it gives the error as shown below.
### Without the PR change
```
[apache-spark]$ ./bin/spark-submit --verbose --master spark://******
.... Error: Exception thrown in awaitResult: Run with --help for usage
help or --verbose for debug output
```
### With the PR change
```
[apache-spark]$ ./bin/spark-submit --verbose --master spark://******
.... Exception in thread "main" org.apache.spark.SparkException:
Exception thrown in awaitResult:
       at
org.apache.spark.util.ThreadUtils$.awaitResult(ThreadUtils.scala:226)
       at
org.apache.spark.rpc.RpcTimeout.awaitResult(RpcTimeout.scala:75)
       ....
       at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
Caused by: java.io.IOException: Failed to connect to
devaraj-pc1/10.3.66.65:7077
       at
org.apache.spark.network.client.TransportClientFactory.createClient(TransportClientFactory.java:245)
      ....
       at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
       at java.lang.Thread.run(Thread.java:748) Caused by:
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection
refused: devaraj-pc1/10.3.66.65:7077
       at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
       ....
       at
io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138)
       ... 1 more Caused by: java.net.ConnectException: Connection
refused
       ... 11 more
```
Closes #22623 from devaraj-kavali/SPARK-25636.
Authored-by: Devaraj K <devaraj@apache.org> Signed-off-by: Marcelo
Vanzin <vanzin@cloudera.com>
The file was modifiedcore/src/test/scala/org/apache/spark/deploy/SparkSubmitSuite.scala (diff)
The file was modifiedcore/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala (diff)