Hadoop Common
  1. Hadoop Common
  2. HADOOP-7553

hadoop-common tries to find hadoop-assemblies:jar:0.23.0-SNAPSHOT in http://snapshots.repository.codehaus.org

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: build
    • Labels:
      None

      Description

      hadoop-common tries to find hadoop-assemblies:jar:0.23.0-SNAPSHOT in http://snapshots.repository.codehaus.org - shouldn't it be apache repo?

        Activity

        Hide
        Arun C Murthy added a comment -

        Here is the full error when I was trying to run 'mvn package -Pbintar' in hadoop-common without installing hadoop-assemblies:

        
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 41.466s
        [INFO] Finished at: Wed Aug 17 20:41:16 PDT 2011
        [INFO] Final Memory: 19M/265M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-3:single (pre-bintar) on project hadoop-common: Execution pre-bintar of goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-3:single failed: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-3 or one of its dependencies could not be resolved: Could not find artifact org.apache.hadoop:hadoop-assemblies:jar:0.23.0-SNAPSHOT in codehaus.org (http://snapshots.repository.codehaus.org) -> [Help 1]
        
        Show
        Arun C Murthy added a comment - Here is the full error when I was trying to run 'mvn package -Pbintar' in hadoop-common without installing hadoop-assemblies: [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 41.466s [INFO] Finished at: Wed Aug 17 20:41:16 PDT 2011 [INFO] Final Memory: 19M/265M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-3:single (pre-bintar) on project hadoop-common: Execution pre-bintar of goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-3:single failed: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-3 or one of its dependencies could not be resolved: Could not find artifact org.apache.hadoop:hadoop-assemblies:jar:0.23.0-SNAPSHOT in codehaus.org (http: //snapshots.repository.codehaus.org) -> [Help 1]
        Hide
        Arun C Murthy added a comment -

        Actually, I scrolled up some more:

        {block}

        [INFO] — maven-assembly-plugin:2.2-beta-3:single (pre-bintar) @ hadoop-common —
        Downloading: http://snapshots.repository.codehaus.org/org/apache/hadoop/hadoop-assemblies/0.23.0-SNAPSHOT/maven-metadata.xml
        Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/hadoop/hadoop-assemblies/0.23.0-SNAPSHOT/maven-metadata.xml
        Downloading: http://snapshots.repository.codehaus.org/org/apache/hadoop/hadoop-assemblies/0.23.0-SNAPSHOT/hadoop-assemblies-0.23.0-SNAPSHOT.pom
        Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/hadoop/hadoop-assemblies/0.23.0-SNAPSHOT/hadoop-assemblies-0.23.0-SNAPSHOT.pom
        [WARNING] The POM for org.apache.hadoop:hadoop-assemblies:jar:0.23.0-SNAPSHOT is missing, no dependency information available
        Downloading: http://snapshots.repository.codehaus.org/org/apache/hadoop/hadoop-assemblies/0.23.0-SNAPSHOT/hadoop-assemblies-0.23.0-SNAPSHOT.jar
        Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/hadoop/hadoop-assemblies/0.23.0-SNAPSHOT/hadoop-assemblies-0.23.0-SNAPSHOT.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 41.466s
        [INFO] Finished at: Wed Aug 17 20:41:16 PDT 2011
        [INFO] Final Memory: 19M/265M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-3:single (pre-bintar) on project hadoop-common: Execution pre-bintar of goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-3:single failed: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-3 or one of its dependencies could not be resolved: Could not find artifact org.apache.hadoop:hadoop-assemblies:jar:0.23.0-SNAPSHOT in codehaus.org (http://snapshots.repository.codehaus.org) -> [Help 1]{block}
        Show
        Arun C Murthy added a comment - Actually, I scrolled up some more: {block} [INFO] — maven-assembly-plugin:2.2-beta-3:single (pre-bintar) @ hadoop-common — Downloading: http://snapshots.repository.codehaus.org/org/apache/hadoop/hadoop-assemblies/0.23.0-SNAPSHOT/maven-metadata.xml Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/hadoop/hadoop-assemblies/0.23.0-SNAPSHOT/maven-metadata.xml Downloading: http://snapshots.repository.codehaus.org/org/apache/hadoop/hadoop-assemblies/0.23.0-SNAPSHOT/hadoop-assemblies-0.23.0-SNAPSHOT.pom Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/hadoop/hadoop-assemblies/0.23.0-SNAPSHOT/hadoop-assemblies-0.23.0-SNAPSHOT.pom [WARNING] The POM for org.apache.hadoop:hadoop-assemblies:jar:0.23.0-SNAPSHOT is missing, no dependency information available Downloading: http://snapshots.repository.codehaus.org/org/apache/hadoop/hadoop-assemblies/0.23.0-SNAPSHOT/hadoop-assemblies-0.23.0-SNAPSHOT.jar Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/hadoop/hadoop-assemblies/0.23.0-SNAPSHOT/hadoop-assemblies-0.23.0-SNAPSHOT.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 41.466s [INFO] Finished at: Wed Aug 17 20:41:16 PDT 2011 [INFO] Final Memory: 19M/265M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-3:single (pre-bintar) on project hadoop-common: Execution pre-bintar of goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-3:single failed: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-3 or one of its dependencies could not be resolved: Could not find artifact org.apache.hadoop:hadoop-assemblies:jar:0.23.0-SNAPSHOT in codehaus.org ( http://snapshots.repository.codehaus.org ) -> [Help 1] {block}
        Hide
        Alejandro Abdelnur added a comment -

        This is being fixed as part of HDFS-2096, the problem is that Apache snapshots repo is not being declared and the build does not find the the JAR isn the release repo.

        In the mean time, if you build from trunk/ things work because hadoop-assemblies is part of the build and maven reactor uses it from the built itself.

        Show
        Alejandro Abdelnur added a comment - This is being fixed as part of HDFS-2096 , the problem is that Apache snapshots repo is not being declared and the build does not find the the JAR isn the release repo. In the mean time, if you build from trunk/ things work because hadoop-assemblies is part of the build and maven reactor uses it from the built itself.
        Hide
        Suresh Srinivas added a comment -

        Given HDFS-2096 has been marked fixed, is this still a problem?

        Show
        Suresh Srinivas added a comment - Given HDFS-2096 has been marked fixed, is this still a problem?

          People

          • Assignee:
            Unassigned
            Reporter:
            Arun C Murthy
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development