[ 
https://issues.apache.org/jira/browse/HDFS-2289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alejandro Abdelnur updated HDFS-2289:
-------------------------------------

    Attachment: HDFS-2289v2.patch

'v2' patch, order of setting props for the commons daemon download changed to 
ensure it works correctly later when adding other platforms.

I've tried to get it working with Windows, but the problem is that commons 
daemons for for windows comes only in ZIP and for Unixes comes only in TAR.GZ. 
This would complicate the logic and I'm not sure HDFS secure runs on windows.

*IMPORTANT*: 

Another thing regarding building in Windows. The current patch will fail in 
Windows as the commons daemon download will fail.

One solution is to move the commons daemon download into the native profile. 
Does this make sense?


> 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
>
>         Attachments: HDFS-2289v1.patch, HDFS-2289v2.patch
>
>
> 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

        

Reply via email to