Uploaded image for project: 'CDH (READ-ONLY)'
  1. CDH (READ-ONLY)
  2. DISTRO-467

com/cloudera/cdh/cdh-root/4.2.0/cdh-root-4.2.0.pom is missing from the maven repository

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: CDH4.2.0
    • Fix Version/s: None
    • Component/s: Packaging
    • Environment:
      Scala sbt / ivy

      Description

      com/cloudera/cdh/cdh-root/4.2.0/cdh-root-4.2.0.pom is missing from the Cloudera maven repository, it returns a 404 error code:

      https://repository.cloudera.com/content/groups/public/com/cloudera/cdh/cdh-root/4.2.0/cdh-root-4.2.0.pom

      But it's referenced by hive-jdbc from the POM:

      https://repository.cloudera.com/content/groups/public/org/apache/hive/hive-jdbc/0.10.0-cdh4.2.0/hive-jdbc-0.10.0-cdh4.2.0.pom

        <parent>
          <groupId>com.cloudera.cdh</groupId>
          <artifactId>hive-root</artifactId>
          <version>0.10.0-cdh4.2.0</version>
          <relativePath>../pom.xml</relativePath>
        </parent>
      

      So attempting to include "org.apache.hive" % "hive-jdbc" % "0.10.0-cdh4.2.0" in a maven, ivy or sbt project will fail due to the missing parent dependency.

      Errors while building my SBT project:

      [warn] io problem while parsing ivy file: https://repository.cloudera.com/content/groups/public/com/cloudera/cdh/hive-root/0.10.0-cdh4.2.0/hive-root-0.10.0-cdh4
      .2.0.pom: Impossible to load parent for file:/C:/Users/Vladimir/.ivy2/cache/com.cloudera.cdh/hive-root/ivy-0.10.0-cdh4.2.0.xml.original. Parent=com.cloudera.cdh
      #cdh-root;4.2.0
      [warn] io problem while parsing ivy file: https://repository.cloudera.com/content/groups/public/org/apache/hive/hive-jdbc/0.10.0-cdh4.2.0/hive-jdbc-0.10.0-cdh4.
      2.0.pom: Impossible to load parent for file:/C:/Users/Vladimir/.ivy2/cache/org.apache.hive/hive-jdbc/ivy-0.10.0-cdh4.2.0.xml.original. Parent=com.cloudera.cdh#h
      ive-root;0.10.0-cdh4.2.0
      [warn]  module not found: org.apache.hive#hive-jdbc;0.10.0-cdh4.2.0
      [warn] ==== local: tried
      [warn]   C:\Users\Vladimir\.ivy2\local\com.cloudera.cdh\cdh-root\4.2.0\ivys\ivy.xml
      [warn] ==== Typesafe Releases Repository: tried
      [warn]   http://repo.typesafe.com/typesafe/releases/com/cloudera/cdh/cdh-root/4.2.0/cdh-root-4.2.0.pom
      [warn] ==== Typesafe Snapshots Repository: tried
      [warn]   http://repo.typesafe.com/typesafe/snapshots/com/cloudera/cdh/cdh-root/4.2.0/cdh-root-4.2.0.pom
      [warn] ==== cloudera: tried
      [warn]   https://repository.cloudera.com/content/groups/public/com/cloudera/cdh/cdh-root/4.2.0/cdh-root-4.2.0.pom
      [warn] ==== public: tried
      [warn]   http://repo1.maven.org/maven2/org/apache/hive/hive-jdbc/0.10.0-cdh4.2.0/hive-jdbc-0.10.0-cdh4.2.0.pom
      [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
      [warn]  ::          UNRESOLVED DEPENDENCIES         ::
      [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
      [warn]  :: org.apache.hive#hive-jdbc;0.10.0-cdh4.2.0: not found
      [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
      sbt.ResolveException: unresolved dependency: org.apache.hive#hive-jdbc;0.10.0-cdh4.2.0: not found
      

        Attachments

          Activity

            People

            • Assignee:
              andrew Andrew Bayer
              Reporter:
              vnicolici Vladimir Nicolici
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: