Sorry, I didn’t check the error. So, didn't upgrading the assembly plugin
work?


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.
>>> 
>>> 
>> 
>

Reply via email to