> On 24 марта 2015 г., at 0:19, Shwetha Shivalingamurthy > <[email protected]> wrote: > > Sorry, I didn’t check the error. So, didn't upgrading the assembly plugin > work?
If I change 2.2.1 --> 2.3 in the root pom.xml for maven-assembly-plugin, I get another error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.3:single (default-cli) on project oozie-main: No formats specified in the execution parameters or the assembly descriptor. -> [Help 1] Unfortunately I am not experienced with maven build system to go further... > > On 23/03/15 2:07 pm, "Dmitry Sivachenko" <[email protected]> wrote: > >> >>> On 23 марта 2015 г., at 23:45, Shwetha Shivalingamurthy >>> <[email protected]> wrote: >>> >>> Try bin/mkdistro.sh -DskipTests -Phadoop-2 -Dhadoop.version=2.4.1 >> >> >> Same error. >> >> >> >>> >>> >>> >>> On 23/03/15 1:36 pm, "Dmitry Sivachenko" <[email protected]> wrote: >>> >>>> >>>>> On 23 марта 2015 г., at 21:38, Shwetha Shivalingamurthy >>>>> <[email protected]> wrote: >>>>> >>>>> 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 >>>>> >>>> >>>> Thank you very much for your response! I got oozie trunk from git and >>>> it >>>> has no problem overriding "hadoop.version". >>>> >>>> I got another problem though. When I compile oozie on FreeBSD OS, I >>>> get >>>> the following error: >>>> >>>> % mvn clean package -DskipTests -Phadoop-2 assembly:single >>>> -Dhadoop.version=2.4.1 >>>> <...> >>>> [WARNING] chmod: >>>> >>>> /place/vartmp/oozie/client/target/oozie-client-4.2.0-SNAPSHOT-client/ooz >>>> ie >>>> -client-4.2.0-SNAPSHOT/lib/oozie-client-4.2.0-SNAPSHOT.jar: >>>> Inappropriate >>>> file type or format >>>> <...> >>>> [ERROR] Failed to execute goal >>>> org.apache.maven.plugins:maven-assembly-plugin:2.2.1:single >>>> (default-cli) >>>> on project oozie-client: Failed to create assembly: Error creating >>>> assembly archive client: chmod exit code was: 1 -> [Help 1] >>>> >>>> I found another JIRA https://issues.apache.org/jira/browse/HADOOP-8317 >>>> which suggests to upgrade maven-assembly-plugin from 2.2.1 to 2.3 to >>>> fix >>>> FreeBSD. >>>> >>>> Right now I must use -Dassembly.ignorePermissions to workaround this >>>> issue. >>>> >>>> >>> >> >
