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

Patrick Wendell commented on SPARK-5466:
----------------------------------------

Okay Maven is reproducing this now even without zinc: 
https://amplab.cs.berkeley.edu/jenkins/job/Spark-Master-Maven-pre-YARN/1393/hadoop.version=1.0.4,label=centos/console

It appears that it might only be happening with certain parameterizations of 
the build:

{code}
[ERROR] bad symbolic reference. A signature in Utils.class refers to term util
in package com.google.common which is not available.
It may be completely missing from the current classpath, or the version on
the classpath might be incompatible with the version used when compiling 
Utils.class.
[ERROR] 
     while compiling: 
/home/jenkins/workspace/Spark-Master-Maven-pre-YARN/hadoop.version/1.0.4/label/centos/graphx/src/main/scala/org/apache/spark/graphx/util/BytecodeUtils.scala
{code}

> Build Error caused by Guava shading in Spark
> --------------------------------------------
>
>                 Key: SPARK-5466
>                 URL: https://issues.apache.org/jira/browse/SPARK-5466
>             Project: Spark
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 1.3.0
>            Reporter: Jian Zhou
>            Priority: Blocker
>
> Guava is shaded inside spark-core itself.
> https://github.com/apache/spark/commit/37a5e272f898e946c09c2e7de5d1bda6f27a8f39
> This causes build error in multiple components, including Graph/MLLib/SQL, 
> when package com.google.common on the classpath incompatible with the version 
> used when compiling Utils.class
> [error] bad symbolic reference. A signature in Utils.class refers to term util
> [error] in package com.google.common which is not available.
> [error] It may be completely missing from the current classpath, or the 
> version on
> [error] the classpath might be incompatible with the version used when 
> compiling Utils.class.
> [error] 
> [error]      while compiling: 
> /spark/graphx/src/main/scala/org/apache/spark/graphx/util/BytecodeUtils.scala
> [error]         during phase: erasure
> [error]      library version: version 2.10.4
> [error]     compiler version: version 2.10.4



--
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