You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2014/12/11 21:02:13 UTC

[jira] [Commented] (SPARK-4455) Exclude dependency on hbase-annotations module

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

Sean Owen commented on SPARK-4455:
----------------------------------

FWIW this change also unfortunately causes compiler warnings, so hopefully it can be undone some day. But it's the right thing for now.

{code}
[warn] Class org.apache.hadoop.hbase.classification.InterfaceAudience not found - continuing with a stub.
[warn] Class org.apache.hadoop.hbase.classification.InterfaceStability not found - continuing with a stub.
[warn] Class org.apache.hadoop.hbase.classification.InterfaceAudience not found - continuing with a stub.
[warn] Class org.apache.hadoop.hbase.classification.InterfaceStability not found - continuing with a stub.
[warn] Class org.apache.hadoop.hbase.classification.InterfaceAudience not found - continuing with a stub.
...
{code}

> Exclude dependency on hbase-annotations module
> ----------------------------------------------
>
>                 Key: SPARK-4455
>                 URL: https://issues.apache.org/jira/browse/SPARK-4455
>             Project: Spark
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>             Fix For: 1.2.0
>
>
> As Patrick mentioned in the thread 'Has anyone else observed this build break?' :
> The error I've seen is this when building the examples project:
> {code}
> spark-examples_2.10: Could not resolve dependencies for project
> org.apache.spark:spark-examples_2.10:jar:1.2.0-SNAPSHOT: Could not
> find artifact jdk.tools:jdk.tools:jar:1.7 at specified path
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../lib/tools.jar
> {code}
> The reason for this error is that hbase-annotations is using a
> "system" scoped dependency in their hbase-annotations pom, and this
> doesn't work with certain JDK layouts such as that provided on Mac OS:
> http://central.maven.org/maven2/org/apache/hbase/hbase-annotations/0.98.7-hadoop2/hbase-annotations-0.98.7-hadoop2.pom
> hbase-annotations module is transitively brought in through other HBase modules, we should exclude it from related modules.



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