hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raghavendra Vaidya <raghavendra.vai...@gmail.com>
Subject Re: An Idea to make Hadoop Code setup easy
Date Tue, 23 Dec 2014 01:11:35 GMT
Cmake is installed. When I enter Cmake at console - it prints out the help
for the command.

On Monday, 22 December 2014, Rich Haase <rhaase@pandora.com> wrote:

> 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 <javascript:;>
>
>
>
>
> On 12/21/14, 1:23 AM, "Raghavendra Vaidya" <raghavendra.vaidya@gmail.com
> <javascript:;>>
> 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
> <javascript:;>> 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
> <javascript:;>>
> >>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 <javascript:;>> 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
> >>
>
>

-- 
Regards

Raghavendra Vaidya
CIO, GE India Technology Center

Sent from Gmail Mobile

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message