On 21 December 2014 at 06:23, Raghavendra Vaidya <
raghavendra.vai...@gmail.com> wrote:
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-antrun-plugin:1.7:run (make) on project
> hadoop-common: An Ant BuildException has occured: exec returned: 1
>
> [ERROR] around Ant part ...<exec
>
> dir="/Users/302000545/Documents/workspace/Hadoop/hadoop-common/hadoop-common-project/hadoop-common/target/native"
> executable="cmake" failonerror="true">... @ 4:161 in
>
> /Users/302000545/Documents/workspace/Hadoop/hadoop-common/hadoop-common-project/hadoop-common/target/antrun/build-main.xml
>
> [ERROR] -> [Help 1]
>
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (make) on project
> hadoop-common: An Ant BuildException has occured: exec returned: 1
>
> around Ant part ...<exec
>
> dir="/Users/302000545/Documents/workspace/Hadoop/hadoop-common/hadoop-common-project/hadoop-common/target/native"
> executable="cmake" failonerror="true">... @ 4:161 in
>
> /Users/302000545/Documents/workspace/Hadoop/hadoop-common/hadoop-common-project/hadoop-common/target/antrun/build-main.xml
>


I'm afraid debugging build problems is a precursor to interpreting stack
traces on failed tests.

Here
-the ant command <exec executable="cmake"> failed with the error number "1".
-this halted the build.

Finding out why cmake failed on your machine is going to be your homework,
I'm afraid.

Most of the time, those of us doing development on OSX boxes don't bother
with the native code —really. If you are doing windows-based development
you must do it, and if you are doing linux dev then you can do it
relatively easily.

My recommendation then: skip the native bits unless you are actually adding
new features to the native libraries.

-steve

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Reply via email to