[
https://issues.apache.org/jira/browse/HADOOP-8273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13252700#comment-13252700
]
Kumar Ravi commented on HADOOP-8273:
------------------------------------
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"/>
> PowerPc missing dependency of commons-daemon-1.0.2-bin-linux-ppc64.tar.gz
> -------------------------------------------------------------------------
>
> Key: HADOOP-8273
> URL: https://issues.apache.org/jira/browse/HADOOP-8273
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 1.0.2, 1.0.3
> Environment: RHEL 6.1 on PowerPC with IBM Java 6.0 SR10
> Reporter: Kumar Ravi
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira