[
https://issues.apache.org/jira/browse/HDFS-2289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arun C Murthy reassigned HDFS-2289:
-----------------------------------
Assignee: Alejandro Abdelnur
Alejandro kindly volunteered to look into this, thanks!
Here is relevant code from 0.20.2xx build.xml:
{code}
<property name="jsvc.build.dir" value="${build.dir}/jsvc" />
<property name="jsvc.install.dir" value="${dist.dir}/libexec" />
<property name="jsvc.location"
value="http://archive.apache.org/dist/commons/daemon/binaries/1.0.2/linux/commons-daemon-1.0.2-bin-linux-i386.tar.gz"
/>
<property name="jsvc.dest.name" value="jsvc.tar.gz" />
<target name="jsvc" >
<mkdir dir="${jsvc.build.dir}" />
<get src="${jsvc.location}" dest="${jsvc.build.dir}/${jsvc.dest.name}" />
<untar compression="gzip" src="${jsvc.build.dir}/${jsvc.dest.name}"
dest="${jsvc.build.dir}" />
<copy file="${jsvc.build.dir}/jsvc" todir="${jsvc.install.dir}"
verbose="true" />
<chmod perm="ugo+x" type="file">
<fileset file="${jsvc.install.dir}/jsvc"/>
</chmod>
</target>
{code}
> jsvc isn't part of the artifact
> -------------------------------
>
> Key: HDFS-2289
> URL: https://issues.apache.org/jira/browse/HDFS-2289
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 0.23.0
> Reporter: Arun C Murthy
> Assignee: Alejandro Abdelnur
> Priority: Blocker
> Fix For: 0.23.0
>
>
> Apparently we had something like this in build.xml:
> <property name="jsvc.location"
> value="http://archive.apache.org/dist/commons/daemon/binaries/1.0.2/linux/commons-daemon-1.0.2-bin-linux-i386.tar.gz"
> />
> Also, when I manually add in jsvc binary I get this error:
> {noformat}
> 25/08/2011 23:47:18 29805 jsvc.exec error: Cannot find daemon loader
> org/apache/commons/daemon/support/DaemonLoader
> 25/08/2011 23:47:18 29778 jsvc.exec error: Service exit with a return value
> of 1
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira