hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ray Chiang <rchi...@cloudera.com>
Subject Re: An Idea to make Hadoop Code setup easy
Date Sun, 21 Dec 2014 19:27:55 GMT
You might also want to read this blog post for setting up IntelliJ (does
not covering native builds)


http://blog.cloudera.com/blog/2014/06/how-to-create-an-intellij-idea-project-for-apache-hadoop/

-Ray


On Sat, Dec 20, 2014 at 10:23 PM, 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-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
>
> 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(LifecycleModuleBuilder.java:116)
>
> at
>
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>
> at
>
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>
> at
>
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.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(DelegatingMethodAccessorImpl.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(Launcher.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-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
>
> at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:355)
>
> at
>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.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-project/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(DelegatingMethodAccessorImpl.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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message