Hi Muthu,

I tried running the command for hadoop-1 but it failed with below error ,it
seems that the hadoop-1 profile does not exists in POM.xml , can i manually
add it ?

[INFO] Apache Oozie Core ................................. FAILURE [59.151s]
[INFO] Apache Oozie Docs ................................. SKIPPED
[INFO] Apache Oozie Share Lib Pig ........................ SKIPPED
[INFO] Apache Oozie Share Lib Hive ....................... SKIPPED
[INFO] Apache Oozie Share Lib Sqoop ...................... SKIPPED
[INFO] Apache Oozie Share Lib Streaming .................. SKIPPED
[INFO] Apache Oozie Share Lib Distcp ..................... SKIPPED
[INFO] Apache Oozie WebApp ............................... SKIPPED
[INFO] Apache Oozie Examples ............................. SKIPPED
[INFO] Apache Oozie Share Lib ............................ SKIPPED
[INFO] Apache Oozie Tools ................................ SKIPPED
[INFO] Apache Oozie MiniOozie ............................ SKIPPED
[INFO] Apache Oozie Distro ............................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 8:26.792s
[INFO] Finished at: Thu Sep 25 10:04:30 EDT 2014
[INFO] Final Memory: 58M/142M
[INFO]
------------------------------------------------------------------------
[WARNING] The requested profile "hadoop-1" could not be activated because
it does not exist.
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-jar-plugin:2.3.1:jar (default-jar) on
project oozie-core: Error assembling JAR: Failed to read filesystem
attributes for: /home/user/oozie/core/pom.xml: Failed to retrieve numeric
file attributes using: '/bin/sh -c ls -1nlad
/home/user/oozie/core/pom.xml': Error while executing process. Cannot run
program "/bin/sh": java.io.IOException: error=12, Cannot allocate memory ->
[Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.



Later i changed the command to hadoop-2 but failed at below stage

[INFO] Apache Oozie Share Lib HCatalog ................... SUCCESS [9.909s]
[INFO] Apache Oozie Core ................................. FAILURE [22.937s]
[INFO] Apache Oozie Docs ................................. SKIPPED
[INFO] Apache Oozie Share Lib Pig ........................ SKIPPED
[INFO] Apache Oozie Share Lib Hive ....................... SKIPPED
[INFO] Apache Oozie Share Lib Sqoop ...................... SKIPPED
[INFO] Apache Oozie Share Lib Streaming .................. SKIPPED
[INFO] Apache Oozie Share Lib Distcp ..................... SKIPPED
[INFO] Apache Oozie WebApp ............................... SKIPPED
[INFO] Apache Oozie Examples ............................. SKIPPED
[INFO] Apache Oozie Share Lib ............................ SKIPPED
[INFO] Apache Oozie Tools ................................ SKIPPED
[INFO] Apache Oozie MiniOozie ............................ SKIPPED
[INFO] Apache Oozie Distro ............................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1:31.348s
[INFO] Finished at: Thu Sep 25 10:11:20 EDT 2014
[INFO] Final Memory: 77M/185M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-jar-plugin:2.3.1:jar (default-jar) on
project oozie-core: Error assembling JAR: Failed to read filesystem
attributes for: /home/user/oozie/core/pom.xml: Failed to retrieve numeric
file attributes using: '/bin/sh -c ls -1nlad
/home/user/oozie/core/pom.xml': Error while executing process. Cannot run
program "/bin/sh": java.io.IOException: error=12, Cannot allocate memory ->
[Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command


On Thu, Sep 25, 2014 at 7:42 AM, Muthu Pandi <muthu1...@gmail.com> wrote:

> replace hadoop-2 with hadoop-1
>
>
>
> *RegardsMuthupandi.K*
>
>  Think before you print.
>
>
>
> On Thu, Sep 25, 2014 at 4:48 PM, Rahul Channe <drah...@googlemail.com>
> wrote:
>
>> Hi Muthu,
>>
>> I am trying to build oozie against hadoop 1
>>
>>
>> On Thursday, September 25, 2014, Muthu Pandi <muthu1...@gmail.com> wrote:
>>
>>> Hi Rahul
>>>
>>> Distro error may occur while using this command  bin/mkdistro.sh
>>> -DskipTests instead of that use
>>>
>>> mvn clean package assembly:single -P hadoop-2 -DskipTests
>>>
>>> if you are building against hadoop 2
>>>
>>> it resolved the distro error.
>>>
>>> For more info follow "http://gauravkohli.com/category/oozie/";
>>>
>>>
>>>
>>> *RegardsMuthupandi.K*
>>>
>>>  Think before you print.
>>>
>>>
>>>
>>> On Wed, Sep 24, 2014 at 11:22 PM, Rahul Channe <drah...@googlemail.com>
>>> wrote:
>>>
>>>> hi All,
>>>>
>>>> I am trying to install oozie and getting following error. Any input is
>>>> appreciated
>>>>
>>>> [INFO] BUILD FAILURE
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 18.326s
>>>> [INFO] Finished at: Wed Sep 24 13:45:13 EDT 2014
>>>> [INFO] Final Memory: 26M/64M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] Failed to execute goal
>>>> org.apache.maven.plugins:maven-jar-plugin:2.3.1:jar (default-jar) on
>>>> project oozie-client: Error assembling JAR: Failed to read filesystem
>>>> attributes for: /home/user/oozie/client/pom.xml: Failed to retrieve numeric
>>>> file attributes using: '/bin/sh -c ls -1nlad
>>>> /home/user/oozie/client/pom.xml': Error while executing process. Cannot run
>>>> program "/bin/sh": java.io.IOException: error=12, Cannot allocate memory ->
>>>> [Help 1]
>>>> [ERROR]
>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>>>> the -e switch.
>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>>> [ERROR]
>>>> [ERROR] For more information about the errors and possible solutions,
>>>> please read the following articles:
>>>> [ERROR] [Help 1]
>>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>>>> [ERROR]
>>>> [ERROR] After correcting the problems, you can resume the build with
>>>> the command
>>>> [ERROR]   mvn <goals> -rf :oozie-client
>>>>
>>>> ERROR, Oozie distro creation failed
>>>>
>>>>
>>>
>

Reply via email to