> On 23 марта 2015 г., at 19:35, Dmitry Sivachenko <[email protected]> wrote:
> 
> Hello!
> 
> I am using hadoop-2.4.1 and I want to use oozie (4.1.0) with it.
> 
> But my build fails:
> 
> % mvn clean package -DskipTests -Phadoop-2 -Dhadoop.version=2.4.1 
> -Dassembly.ignorePermissions assembly:single
> <...>
> [ERROR] Failed to execute goal on project oozie-sharelib-oozie: Could not 
> resolve dependencies for project 
> org.apache.oozie:oozie-sharelib-oozie:jar:4.1.0: The following artifacts 
> could not be resolved: org.apache.oozie:oozie-hadoop:jar:2.4.1.oozie-4.1.0, 
> org.apache.oozie:oozie-hadoop-test:jar:2.4.1.oozie-4.1.0, 
> org.apache.oozie:oozie-hadoop-utils:jar:2.4.1.oozie-4.1.0: Failure to find 
> org.apache.oozie:oozie-hadoop:jar:2.4.1.oozie-4.1.0 in 
> http://repo1.maven.org/maven2 was cached in the local repository, resolution 
> will not be reattempted until the update interval of central has elapsed or 
> updates are forced -> [Help 1]
> 
> It seems that it only builds with version 2.3.0 of hadoop, there are no 
> artifacts for other versions.
> 
> Is it safe to build oozie for hadoop-2.3.0 and use it with newer versions?
> 


BTW, can I build oozie-4.1.0 with default hadoop-2.3.0 and then just replaces 
hadoop-related jars with their "2.4.1" versions and then use the resulting 
package with hadoop-2.4.1 cluser?

Thanks!

Reply via email to