You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (JIRA)" <ji...@apache.org> on 2014/12/21 22:21:13 UTC
[jira] [Resolved] (SPARK-4910) Build failed with Hadoop 1.x
profile: "isFile is not a member of org.apache.hadoop.fs.FileStatus"
[ https://issues.apache.org/jira/browse/SPARK-4910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Rosen resolved SPARK-4910.
-------------------------------
Resolution: Fixed
Fix Version/s: 1.3.0
Assignee: Sean Owen
This was fixed by Sean's pull request.
For reference, this build failure was introduced in https://github.com/apache/spark/pull/1222
> Build failed with Hadoop 1.x profile: "isFile is not a member of org.apache.hadoop.fs.FileStatus"
> -------------------------------------------------------------------------------------------------
>
> Key: SPARK-4910
> URL: https://issues.apache.org/jira/browse/SPARK-4910
> Project: Spark
> Issue Type: Bug
> Affects Versions: 1.3.0
> Environment: trunk: 1.3.0-SNAPSHOT
> https://github.com/apache/spark/commit/a764960b3b6d842eef7fa4777c8fa99d3f60fa1e
> Reporter: Tomas Hudik
> Assignee: Sean Owen
> Priority: Minor
> Labels: build-failure
> Fix For: 1.3.0
>
>
> git clone
> mvn -DskipTests clean package
> ....
> [ERROR] /home/x/sources/spark_git/core/src/test/scala/org/apache/spark/scheduler/EventLoggingListenerSuite.scala:68: value isFile is not a member of org.apache.hadoop.fs.FileStatus
> [ERROR] assert(logStatus.isFile)
> [ERROR] ^
> [ERROR] /home/x/sources/spark_git/core/src/test/scala/org/apache/spark/scheduler/EventLoggingListenerSuite.scala:72: value isFile is not a member of org.apache.hadoop.fs.FileStatus
> [ERROR] assert(fileSystem.getFileStatus(new Path(eventLogger.logPath)).isFile())
> [ERROR] ^
> [ERROR] /home/x/sources/spark_git/core/src/test/scala/org/apache/spark/scheduler/ReplayListenerSuite.scala:115: value isFile is not a member of org.apache.hadoop.fs.FileStatus
> [ERROR] assert(eventLog.isFile)
> [ERROR] ^
> [ERROR] three errors found
> [DEBUG] Compilation failed (CompilerInterface)
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Spark Project Parent POM ........................... SUCCESS [ 13.440 s]
> [INFO] Spark Project Networking ........................... SUCCESS [ 23.752 s]
> [INFO] Spark Project Shuffle Streaming Service ............ SUCCESS [ 18.842 s]
> [INFO] Spark Project Core ................................. FAILURE [06:34 min]
> [INFO] Spark Project Bagel ................................ SKIPPED
> [INFO] Spark Project GraphX ............................... SKIPPED
> [INFO] Spark Project Streaming ............................ SKIPPED
> [INFO] Spark Project Catalyst ............................. SKIPPED
> [INFO] Spark Project SQL .................................. SKIPPED
> [INFO] Spark Project ML Library ........................... SKIPPED
> [INFO] Spark Project Tools ................................ SKIPPED
> [INFO] Spark Project Hive ................................. SKIPPED
> even switch -DskipTests was provided it seems some tests are executed and failed
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org