hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Haase <rha...@pandora.com>
Subject Re: An Idea to make Hadoop Code setup easy
Date Mon, 22 Dec 2014 14:33:07 GMT
Do you have cmake installed on your machine?  Compiling the native
libraries is done with cmake, so if it¹s missing I would expect to see an
error like this.

Rich Haase | Sr. Software Engineer | Pandora
m 303.887.1146 | rhaase@pandora.com




On 12/21/14, 1:23 AM, "Raghavendra Vaidya" <raghavendra.vaidya@gmail.com>
wrote:

>HEre is the exception I get when I execute maven install -Pnative ...
>please note that I have installed Protobuf and openssl using Brew on Mac
>OSX
>
>[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-comm
>on-project/hadoop-common/target/native"
>executable="cmake" failonerror="true">... @ 4:161 in
>/Users/302000545/Documents/workspace/Hadoop/hadoop-common/hadoop-common-pr
>oject/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-comm
>on-project/hadoop-common/target/native"
>executable="cmake" failonerror="true">... @ 4:161 in
>/Users/302000545/Documents/workspace/Hadoop/hadoop-common/hadoop-common-pr
>oject/hadoop-common/target/antrun/build-main.xml
>
>at
>org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java
>:216)
>
>at
>org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java
>:153)
>
>at
>org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java
>:145)
>
>at
>org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Li
>fecycleModuleBuilder.java:116)
>
>at
>org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Li
>fecycleModuleBuilder.java:80)
>
>at
>org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedB
>uilder.build(SingleThreadedBuilder.java:51)
>
>at
>org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStar
>ter.java:120)
>
>at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
>
>at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
>
>at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
>
>at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
>
>at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
>
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>39)
>
>at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>pl.java:25)
>
>at java.lang.reflect.Method.invoke(Method.java:597)
>
>at
>org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.
>java:289)
>
>at
>org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229
>)
>
>at
>org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launche
>r.java:415)
>
>at 
>org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
>
>Caused by: org.apache.maven.plugin.MojoExecutionException: An Ant
>BuildException has occured: exec returned: 1
>
>around Ant part ...<exec
>dir="/Users/302000545/Documents/workspace/Hadoop/hadoop-common/hadoop-comm
>on-project/hadoop-common/target/native"
>executable="cmake" failonerror="true">... @ 4:161 in
>/Users/302000545/Documents/workspace/Hadoop/hadoop-common/hadoop-common-pr
>oject/hadoop-common/target/antrun/build-main.xml
>
>at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:355)
>
>at
>org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuild
>PluginManager.java:132)
>
>at
>org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java
>:208)
>
>... 19 more
>
>Caused by:
>/Users/302000545/Documents/workspace/Hadoop/hadoop-common/hadoop-common-pr
>oject/hadoop-common/target/antrun/build-main.xml:4:
>exec returned: 1
>
>at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:646)
>
>at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
>
>at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
>
>at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
>
>at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
>
>at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>pl.java:25)
>
>at java.lang.reflect.Method.invoke(Method.java:597)
>
>at
>org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106
>)
>
>at org.apache.tools.ant.Task.perform(Task.java:348)
>
>at org.apache.tools.ant.Target.execute(Target.java:390)
>
>at org.apache.tools.ant.Target.performTasks(Target.java:411)
>
>at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
>
>at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
>
>at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:327)
>
>On Sun Dec 21 2014 at 8:27:47 AM Devopam Mittra <devopam@gmail.com> wrote:
>
>> Silly me, forgot to paste the link :
>> http://www.slideshare.net/devopam/hadoop-on-osx/
>> The basics remain the same, only tweaking required will be to
>>accommodate
>> new features if you are on an upgraded OS version.
>>
>>
>>
>> On Sun, Dec 21, 2014 at 8:25 AM, Devopam Mittra <devopam@gmail.com>
>>wrote:
>>
>> > Please check this out , and let me know what are the issues you are
>> facing.
>> >
>> > regards
>> > Dev
>> >
>> > On Sat, Dec 20, 2014 at 10:39 PM, Raghavendra Vaidya <
>> > raghavendra.vaidya@gmail.com> wrote:
>> >
>> >> I have been struggling to setup hadoop code with native libraries on
>>mac
>> >> osx .... this gave me an idea to write a utility which can help setup
>> >> hadoop development environment either on intellij or eclipse
>>including
>> >> local libraries ....
>> >>
>> >> I would appreciate if some of the experienced developers respond to
>>this
>> >> thread and add notes on how to setup hadoop development environment I
>> can
>> >> start working on an automation utility
>> >>
>> >
>> >
>> >
>> > --
>> > Devopam Mittra
>> > Life and Relations are not binary
>> >
>>
>>
>>
>> --
>> Devopam Mittra
>> Life and Relations are not binary
>>


Mime
View raw message