Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4114

saveVersion.sh fails if build directory contains space

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 0.23.2
    • Fix Version/s: None
    • Component/s: build
    • Labels:
      None
    • Environment:

      FreeBSD 8.2, 64bit

      Description

      if you rename build directory to something without space like /tmp/hadoop then it works

      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building hadoop-yarn-common 0.23.3-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO]
      [INFO] — maven-antrun-plugin:1.6:run (create-testdirs) @ hadoop-yarn-common —
      [INFO] Executing tasks

      main:
      [INFO] Executed tasks
      [INFO]
      [INFO] — maven-antrun-plugin:1.6:run (create-protobuf-generated-sources-directory) @ hadoop-yarn-common —
      [INFO] Executing tasks

      main:
      [INFO] Executed tasks
      [INFO]
      [INFO] — exec-maven-plugin:1.2:exec (generate-sources) @ hadoop-yarn-common —
      [INFO]
      [INFO] — exec-maven-plugin:1.2:exec (generate-version) @ hadoop-yarn-common —
      scripts/saveVersion.sh: cannot create /usr/local/jboss/.jenkins/jobs/Hadoop 0.23 branch/workspace/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/target/generated-sources/version/org/apache/hadoop/yarn/package-info.java: No such file or directory
      [JENKINS] Archiving /usr/local/jboss/.jenkins/jobs/Hadoop 0.23 branch/workspace/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/pom.xml to /usr/local/jboss/.jenkins/jobs/Hadoop 0.23 branch/modules/org.apache.hadoop$hadoop-yarn-common/builds/2012-04-05_19-44-16/archive/org.apache.hadoop/hadoop-yarn-common/0.23.3-SNAPSHOT/hadoop-yarn-common-0.23.3-SNAPSHOT.pom
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] Apache Hadoop Main ................................ SUCCESS [5.124s]
      [INFO] Apache Hadoop Project POM ......................... SUCCESS [1.692s]
      [INFO] Apache Hadoop Annotations ......................... SUCCESS [1.672s]
      [INFO] Apache Hadoop Project Dist POM .................... SUCCESS [1.823s]
      [INFO] Apache Hadoop Assemblies .......................... SUCCESS [0.796s]
      [INFO] Apache Hadoop Auth ................................ SUCCESS [2.456s]
      [INFO] Apache Hadoop Auth Examples ....................... SUCCESS [1.093s]
      [INFO] Apache Hadoop Common .............................. SUCCESS [23.648s]
      [INFO] Apache Hadoop Common Project ...................... SUCCESS [0.434s]
      [INFO] Apache Hadoop HDFS ................................ SUCCESS [22.124s]
      [INFO] Apache Hadoop HttpFS .............................. SUCCESS [3.251s]
      [INFO] Apache Hadoop HDFS Project ........................ SUCCESS [0.443s]
      [INFO] hadoop-yarn ....................................... SUCCESS [1.175s]
      [INFO] hadoop-yarn-api ................................... SUCCESS [7.049s]
      [INFO] hadoop-yarn-common ................................ FAILURE [5.565s]
      [INFO] hadoop-yarn-server ................................ SKIPPED
      [INFO] hadoop-yarn-server-common ......................... SKIPPED
      [INFO] hadoop-yarn-server-nodemanager .................... SKIPPED
      [INFO] hadoop-yarn-server-web-proxy ...................... SKIPPED
      [INFO] hadoop-yarn-server-resourcemanager ................ SKIPPED
      [INFO] hadoop-yarn-server-tests .......................... SKIPPED
      [INFO] hadoop-mapreduce-client ........................... SKIPPED
      [INFO] hadoop-mapreduce-client-core ...................... SKIPPED
      [INFO] hadoop-yarn-applications .......................... SKIPPED
      [INFO] hadoop-yarn-applications-distributedshell ......... SKIPPED
      [INFO] hadoop-yarn-site .................................. SKIPPED
      [INFO] hadoop-mapreduce-client-common .................... SKIPPED
      [INFO] hadoop-mapreduce-client-shuffle ................... SKIPPED
      [INFO] hadoop-mapreduce-client-app ....................... SKIPPED
      [INFO] hadoop-mapreduce-client-hs ........................ SKIPPED
      [INFO] hadoop-mapreduce-client-jobclient ................. SKIPPED
      [INFO] Apache Hadoop MapReduce Examples .................. SKIPPED
      [INFO] hadoop-mapreduce .................................. SKIPPED
      [INFO] Apache Hadoop MapReduce Streaming ................. SKIPPED
      [INFO] Apache Hadoop Distributed Copy .................... SKIPPED
      [INFO] Apache Hadoop Archives ............................ SKIPPED
      [INFO] Apache Hadoop Rumen ............................... SKIPPED
      [INFO] Apache Hadoop Extras .............................. SKIPPED
      [INFO] Apache Hadoop Tools Dist .......................... SKIPPED
      [INFO] Apache Hadoop Tools ............................... SKIPPED
      [INFO] Apache Hadoop Distribution ........................ SKIPPED
      [INFO] Apache Hadoop Client .............................. SKIPPED
      [INFO] Apache Hadoop Mini-Cluster ........................ SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 1:27.313s
      [INFO] Finished at: Thu Apr 05 19:45:49 CEST 2012
      [INFO] Final Memory: 86M/313M
      [INFO] ------------------------------------------------------------------------
      mavenExecutionResult exceptions not empty
      message : Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (generate-version) on project hadoop-yarn-common: Command execution failed.
      cause : Command execution failed.
      Stack trace :
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (generate-version) on project hadoop-yarn-common: Command execution failed.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Radim Kolar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development