Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-4455

Exclude dependency on hbase-annotations module

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • None
    • None

    Description

      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:

      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
      

      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.

      Attachments

        Activity

          People

            tedyu@apache.org Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: