[ 
https://issues.apache.org/jira/browse/SPARK-7670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14546875#comment-14546875
 ] 

Sean Owen commented on SPARK-7670:
----------------------------------

Yeah I see the same thing with your Dockerfile. The strange thing is, the 
problem shows in compiling the Java code.
I'm still tempted to say this must be something funny about this environment 
since I have two other environments where it's fine, but I don't know whether 
it's down to Java version or Scala or what. I have Java 8 / Scala 2.11.6 in 
both cases and it works.
the thing is that the Java code is valid and correct, so at best this is some 
compiler problem? so I'm not sure what to do if it's not a Spark issue and 
doesn't affect the build envs that developers will use to produce artifacts.

> Failure when building with scala 2.11 (after 1.3.1
> --------------------------------------------------
>
>                 Key: SPARK-7670
>                 URL: https://issues.apache.org/jira/browse/SPARK-7670
>             Project: Spark
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 1.4.0
>            Reporter: Fernando Ruben Otero
>         Attachments: Dockerfile
>
>
> When trying to build spark with scala 2.11 on revision 
> c64ff8036cc6bc7c87743f4c751d7fe91c2e366a  (the one on master when I'm 
> submitting this issue) I'm getting 
> > export MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=512M 
> > -XX:ReservedCodeCacheSize=512m"
> > dev/change-version-to-2.11.sh
> > mvn -Pyarn -Phadoop-2.4 -Dscala-2.11 -Dhadoop.version=2.6.0 -DskipTests 
> > clean install
> ...
> ...
> ...
> [INFO] --- scala-maven-plugin:3.2.0:doc-jar (attach-scaladocs) @ 
> spark-network-shuffle_2.11 ---
> /Users/ZeoS/dev/bigdata/spark/network/shuffle/src/main/java/org/apache/spark/network/shuffle/protocol/UploadBlock.java:56:
>  error: not found: type Type
>   protected Type type() { return Type.UPLOAD_BLOCK; }
>             ^
> /Users/ZeoS/dev/bigdata/spark/network/shuffle/src/main/java/org/apache/spark/network/shuffle/protocol/StreamHandle.java:37:
>  error: not found: type Type
>   protected Type type() { return Type.STREAM_HANDLE; }
>             ^
> /Users/ZeoS/dev/bigdata/spark/network/shuffle/src/main/java/org/apache/spark/network/shuffle/protocol/RegisterExecutor.java:44:
>  error: not found: type Type
>   protected Type type() { return Type.REGISTER_EXECUTOR; }
>             ^
> /Users/ZeoS/dev/bigdata/spark/network/shuffle/src/main/java/org/apache/spark/network/shuffle/protocol/OpenBlocks.java:40:
>  error: not found: type Type
>   protected Type type() { return Type.OPEN_BLOCKS; }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to