Hadoop Common
  1. Hadoop Common
  2. HADOOP-8273

Update url for commons daemon ppc64 binary tarball

    Details

    • Type: Bug Bug
    • Status: Reopened
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.2, 1.0.3
    • Fix Version/s: None
    • Component/s: build
    • Labels:
      None
    • Environment:

      RHEL 6.1 on PowerPC with IBM Java 6.0 SR10

      Description

      The following error message was seen while attempting to build branch-1 on PowerPC.

      [get] Error opening connection java.io.FileNotFoundException: http://archive.apache.org/dist/commons/daemon/binaries/1.0.2/linux/commons-daemon-1.0.2-bin-linux-$

      {os-arch}.tar.gz
      [get] Error opening connection java.io.FileNotFoundException: http://archive.apache.org/dist/commons/daemon/binaries/1.0.2/linux/commons-daemon-1.0.2-bin-linux-${os-arch}

      .tar.gz
      [get] Error opening connection java.io.FileNotFoundException: http://archive.apache.org/dist/commons/daemon/binaries/1.0.2/linux/commons-daemon-1.0.2-bin-linux-$

      {os-arch}.tar.gz
      [get] Can't get http://archive.apache.org/dist/commons/daemon/binaries/1.0.2/linux/commons-daemon-1.0.2-bin-linux-${os-arch}

      .tar.gz to /home/hadoop/branch-1/build/jsvc.ppc64/jsvc.ppc64.tar.gz

      BUILD FAILED
      /home/hadoop/branch-1_040612/build.xml:1606: The following error occurred while executing this line:
      /home/hadoop/branch-1_040612/build.xml:2804: Can't get http://archive.apache.org/dist/commons/daemon/binaries/1.0.2/linux/commons-daemon-1.0.2-bin-linux-$

      {os-arch}

      .tar.gz to /home/hadoop/branch-1/build/jsvc.ppc64/jsvc.ppc64.tar.gz

      There is no commons-daemon-1.0.2-bin-linux-ppc64.tar.gz available at the above URL.

        Issue Links

          Activity

          Kumar Ravi created issue -
          Hide
          Kumar Ravi added a comment -

          The workaround is to obtain the src. zip file from this URL:
          http://archive.apache.org/dist/commons/daemon/source/commons-daemon-1.0.2-native-src.zip

          and to build the above tar file for PPC64 on an IBM Power system.

          Show
          Kumar Ravi added a comment - The workaround is to obtain the src. zip file from this URL: http://archive.apache.org/dist/commons/daemon/source/commons-daemon-1.0.2-native-src.zip and to build the above tar file for PPC64 on an IBM Power system.
          Hide
          Kumar Ravi added a comment -

          More details of the workaround are as follows:
          1. Download this file: http://archive.apache.org/dist/commons/daemon/source/commons-daemon-1.0.2-native-src.zip or the appropriate version for the build.
          2. unzip the above downloaded file in a directory called /home/hadoop/commons (or any directory of your choice)
          3. cd /home/hadoop/commons/commons-daemon-1.0.2-native-src/unix
          4. Run ./configure
          5. Build the jsvc binary by typing make
          6. Copy the jsvc binary thatr was just built to a new directory called /home/hadoop/commons/commons-daemon-1.0.2-native-src/unix/build
          7.Copy the following text files home/hadoop/commons/commons-daemon-1.0.2-native-src directory to the /home/hadoop/commons/commons-daemon-1.0.2-native-src/unix/build directory –
          1. LICENSE.txt
          2. NOTICE.txt
          3. RELEASE-NOTES.txt
          8. cd to the directory home/hadoop/commons/commons-daemon-1.0.2-native-src/unix/build
          9. Create the binary tar file for IBM Power by issuing the following command:
          tar -czvf commons-daemon-1.0.2-bin-linux-ppc64.tar.gz *
          10. Copy the file to an appropriate directory where this can be accessed from the hadoop-common build:
          11. For branch-1, edit the build.xml file on the build root to point to the binary tar file that was just built:
          <property name="jsvc.location" value="file:///home/hadoop/commons-daemon-1.0.2-bin-linux-ppc64.tar.gz"/>

          Show
          Kumar Ravi added a comment - More details of the workaround are as follows: 1. Download this file: http://archive.apache.org/dist/commons/daemon/source/commons-daemon-1.0.2-native-src.zip or the appropriate version for the build. 2. unzip the above downloaded file in a directory called /home/hadoop/commons (or any directory of your choice) 3. cd /home/hadoop/commons/commons-daemon-1.0.2-native-src/unix 4. Run ./configure 5. Build the jsvc binary by typing make 6. Copy the jsvc binary thatr was just built to a new directory called /home/hadoop/commons/commons-daemon-1.0.2-native-src/unix/build 7.Copy the following text files home/hadoop/commons/commons-daemon-1.0.2-native-src directory to the /home/hadoop/commons/commons-daemon-1.0.2-native-src/unix/build directory – 1. LICENSE.txt 2. NOTICE.txt 3. RELEASE-NOTES.txt 8. cd to the directory home/hadoop/commons/commons-daemon-1.0.2-native-src/unix/build 9. Create the binary tar file for IBM Power by issuing the following command: tar -czvf commons-daemon-1.0.2-bin-linux-ppc64.tar.gz * 10. Copy the file to an appropriate directory where this can be accessed from the hadoop-common build: 11. For branch-1, edit the build.xml file on the build root to point to the binary tar file that was just built: <property name="jsvc.location" value="file:///home/hadoop/commons-daemon-1.0.2-bin-linux-ppc64.tar.gz"/>
          Hide
          Harsh J added a comment -

          If commons doesn't provide a PPC build, please file an issue against commons' project, not hadoop. PPC isn't directly supported by the Hadoop project.

          Thanks for the detailed workaround though!

          Show
          Harsh J added a comment - If commons doesn't provide a PPC build, please file an issue against commons' project, not hadoop. PPC isn't directly supported by the Hadoop project. Thanks for the detailed workaround though!
          Harsh J made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Invalid [ 6 ]
          Eli Collins made changes -
          Resolution Invalid [ 6 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Hide
          Eli Collins added a comment -

          Re-opening to track updating the build for either when there's a commons daemon binary ppc tarball (or if that doesn't happen for some reason we could build / publish our own).

          Ravi, mind filing a daemon (https://issues.apache.org/jira/browse/DAEMON) jira for adding ppc64 and linking it here?

          Show
          Eli Collins added a comment - Re-opening to track updating the build for either when there's a commons daemon binary ppc tarball (or if that doesn't happen for some reason we could build / publish our own). Ravi, mind filing a daemon ( https://issues.apache.org/jira/browse/DAEMON ) jira for adding ppc64 and linking it here?
          Eli Collins made changes -
          Summary PowerPc missing dependency of commons-daemon-1.0.2-bin-linux-ppc64.tar.gz Update url for commons daemon ppc64 binary tarball
          Hide
          Kumar Ravi added a comment -

          Harsh and Eli - Thanks for your feedback. I have opened the JIRA: https://issues.apache.org/jira/browse/DAEMON-249 as suggested by Eli

          Show
          Kumar Ravi added a comment - Harsh and Eli - Thanks for your feedback. I have opened the JIRA: https://issues.apache.org/jira/browse/DAEMON-249 as suggested by Eli
          Eli Collins made changes -
          Link This issue depends on DAEMON-249 [ DAEMON-249 ]
          Hide
          Harsh J added a comment -

          Ah sorry about that then Ravi - It slipped my mind that we can provide a downstream artifact too.

          Show
          Harsh J added a comment - Ah sorry about that then Ravi - It slipped my mind that we can provide a downstream artifact too.
          Gavin made changes -
          Link This issue depends on DAEMON-249 [ DAEMON-249 ]
          Gavin made changes -
          Link This issue depends upon DAEMON-249 [ DAEMON-249 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Kumar Ravi
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Development