Oozie 4.1.0 doesn¹t support customising build with different hadoop
versions. You can use oozie trunk. Later oozie versions will have this
support

Thanks,
Shwetha


On 23/03/15 9:35 am, "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?
>
>Or what is the proper way to solve this?
>
>Thanks!

Reply via email to