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

David Wannemacher commented on OOZIE-1490:
------------------------------------------

Thanks for the feedback Alejandro.

Unless I'm missing something, my patch will not require the hadoop versions to 
be passed during the build. I tested on linux with "mvn clean package". They 
are still hard-coded in the POMs. But with the patch, it is now possible to 
optionally override the versions on the command-line. It will also make 
updating minor hadoop versions easier in general. For example, if we wanted to 
update hadoop version 1 from 1.1.1 to 1.2.0, we now only have to change it in 
the root pom.xml, rather than in pom.xml and hadooplibs/hadoop-1, 
hadoop-distcp1, and hadoop-test-1.

There are more patches coming (subtasks I will create under OOZIE-1489) that 
will fix the Unix-specific filesystem issues. This patch merely unblocks the 
build on windows without fixing underlying test/runtime issues.
                
> Remove unix OS enforcement and parametrize hadoop versions
> ----------------------------------------------------------
>
>                 Key: OOZIE-1490
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1490
>             Project: Oozie
>          Issue Type: Sub-task
>          Components: build
>         Environment: Windows
>            Reporter: David Wannemacher
>             Fix For: trunk
>
>         Attachments: OOZIE-1490.patch
>
>
> Windows builds do not run because there is a requireOS restriction for unix.
> Also, building and running unit tests on windows requires that a specific 
> hadoop version is used. Right now this requires editing multiple pom.xml 
> files because the version is hard-coded. This should be fixed to allow 
> passing specific hadoop  versions to the build on the command-line.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to