[ 
https://issues.apache.org/jira/browse/HDFS-2321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13100280#comment-13100280
 ] 

Uma Maheswara Rao G commented on HDFS-2321:
-------------------------------------------

I am proceeding with below conditions in my local environment as a workaround.

  <condition property="commons.daemon.os.name" value="linux">
                   <os family="windows"/>
  </condition>
  <condition property="commons.daemon.os.arch" value="i686">
                    <os family="windows"/>
  </condition>

Here our building env is in windows, because of that we are getting this error 
for every updation. 

Alejandro, Do you have any better suggestion here to handle this?
 it will be problem if target os is solaris and building env is windows.

Thanks
Uma


> HDFS Build failure due to unresolved commons.daemon.os.name & 
> commons.daemon.os.arch properties in Windows 7
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-2321
>                 URL: https://issues.apache.org/jira/browse/HDFS-2321
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.24.0
>         Environment: Windows 7, Windows XP
>            Reporter: Uma Maheswara Rao G
>
> This is the script for resolving the commons-deamons***tar.gz in hdfs pom.xml.
> <target>
>                 <condition property="commons.daemon.os.name" value="darwin">
>                     <os name="Mac OS X"/>
>                 </condition>
>                 <condition property="commons.daemon.os.arch" 
> value="universal">
>                     <os name="Mac OS X"/>
>                 </condition>
>                 <condition property="commons.daemon.os.name" value="linux">
>                     <os name="Linux" />
>                 </condition>
>                 <!-- Set commons.daemon.os.arch to either i686 or x86_64 for 
> GNU/Linux -->
>                 <condition property="commons.daemon.os.arch" value="x86_64">
>                     <os name="Linux" arch="amd64"/>
>                 </condition>
>                 <condition property="commons.daemon.os.arch" value="i686">
>                     <os name="Linux" /> <!-- This is a guess -->
>                 </condition>
>                 <property name="commons.daemon.tar.name"
>                           
> value="commons-daemon-${commons-daemon.version}-bin-${commons.daemon.os.name}-${commons.daemon.os.arch}.tar.gz"/>
> Here we are not handling for windows.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to