You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Marcelo Vanzin (JIRA)" <ji...@apache.org> on 2018/03/23 22:30:00 UTC

[jira] [Updated] (SPARK-23787) SparkSubmitSuite::"download remote resource if it is not supported by yarn" fails on Hadoop 2.9

     [ https://issues.apache.org/jira/browse/SPARK-23787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcelo Vanzin updated SPARK-23787:
-----------------------------------
    Summary: SparkSubmitSuite::"download remote resource if it is not supported by yarn" fails on Hadoop 2.9  (was: SparkSubmitSuite::"download list of files to local" fails on Hadoop 2.9)

> SparkSubmitSuite::"download remote resource if it is not supported by yarn" fails on Hadoop 2.9
> -----------------------------------------------------------------------------------------------
>
>                 Key: SPARK-23787
>                 URL: https://issues.apache.org/jira/browse/SPARK-23787
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core, Tests
>    Affects Versions: 2.4.0
>            Reporter: Marcelo Vanzin
>            Priority: Minor
>
> {noformat}
> [info] - download list of files to local (10 milliseconds)
> [info]   "http:///work/apache/spark/target/tmp/spark-a17bc160-641b-41e1-95be-a2e31b175e09/testJar3393247632492201277.jar" did not start with substring "file:" (SparkSubmitSuite.scala:1022)
> [info]   org.scalatest.exceptions.TestFailedException:
> [info]   at org.scalatest.MatchersHelper$.indicateFailure(MatchersHelper.scala:340)
> [info]   at org.scalatest.Matchers$ShouldMethodHelper$.shouldMatcher(Matchers.scala:6668)
> [info]   at org.scalatest.Matchers$AnyShouldWrapper.should(Matchers.scala:6704)
> [info]   at org.apache.spark.deploy.SparkSubmitSuite.org$apache$spark$deploy$SparkSubmitSuite$$testRemoteResources(SparkSubmitSuite.scala:1022)
> [info]   at org.apache.spark.deploy.SparkSubmitSuite$$anonfun$18.apply$mcV$sp(SparkSubmitSuite.scala:962)
> [info]   at org.apache.spark.deploy.SparkSubmitSuite$$anonfun$18.apply(SparkSubmitSuite.scala:962)
> [info]   at org.apache.spark.deploy.SparkSubmitSuite$$anonfun$18.apply(SparkSubmitSuite.scala:962)
> {noformat}
> That's because Hadoop 2.9 supports http as a file system, and the test expects the Hadoop libraries not to. I also found a couple of other bugs in the test (although the code itself for the feature is fine).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org