Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # dev >> Build failure in map reduce trunk


Copy link to this message
-
Re: Build failure in map reduce trunk
Tharindu,

Looks like protoc is not available.

---
Cannot run program "protoc" (in directory "HOME/hadoop-trunk/hadoop-
mapreduce/hadoop-yarn/hadoop-yarn-api"): error=2,
No such file or directory -> [Help 1]
---

Here are instructions to build protoc

See
http://svn.apache.org/repos/asf/hadoop/common/trunk/hadoop-mapreduce/hadoop-yarn/README
Make sure protbuf library is in your library path or set: export
LD_LIBRARY_PATH=/usr/local/lib

Thanks,
Praveen

On Thu, Aug 25, 2011 at 3:43 PM, Tharindu Mathew <[EMAIL PROTECTED]>wrote:

> Hi everyone,
>
> I'm a new bie to this list. Hope this is not too much of a dumb question.
>
> I'm trying to build the map reduce trunk. (I already build from the root
> pom
> and everything built fine, but map reduce is not included in the root pom)
>
> The build fails at this point given below. Appreciate if someone can help
> me
> out. Thanks in advance.
>
> Stack trace:
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building hadoop-yarn-api 1.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ hadoop-yarn-api
> ---
> [INFO] Deleting
>
> /Users/mackie/source-checkouts/hadoop-trunk/hadoop-mapreduce/hadoop-yarn/hadoop-yarn-api/target
> [INFO]
> [INFO] --- maven-antrun-plugin:1.6:run
> (create-protobuf-generated-sources-directory) @ hadoop-yarn-api ---
> [INFO] Executing tasks
>
> main:
>    [mkdir] Created dir:
>
> /Users/mackie/source-checkouts/hadoop-trunk/hadoop-mapreduce/hadoop-yarn/hadoop-yarn-api/target/generated-sources/proto
> [INFO] Executed tasks
> [INFO]
> [INFO] --- exec-maven-plugin:1.2:exec (generate-sources) @ hadoop-yarn-api
> ---
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] hadoop-yarn-api ................................... FAILURE [2.027s]
> [INFO] hadoop-yarn-common ................................ SKIPPED
> [INFO] hadoop-yarn-server-common ......................... SKIPPED
> [INFO] hadoop-yarn-server-nodemanager .................... SKIPPED
> [INFO] hadoop-yarn-server-resourcemanager ................ SKIPPED
> [INFO] hadoop-yarn-server-tests .......................... SKIPPED
> [INFO] hadoop-yarn-server ................................ SKIPPED
> [INFO] hadoop-yarn ....................................... SKIPPED
> [INFO] hadoop-mapreduce-client-core ...................... SKIPPED
> [INFO] hadoop-mapreduce-client-common .................... SKIPPED
> [INFO] hadoop-mapreduce-client-shuffle ................... SKIPPED
> [INFO] hadoop-mapreduce-client-app ....................... SKIPPED
> [INFO] hadoop-mapreduce-client-hs ........................ SKIPPED
> [INFO] hadoop-mapreduce-client-jobclient ................. SKIPPED
> [INFO] hadoop-mapreduce-client ........................... SKIPPED
> [INFO] hadoop-mapreduce .................................. SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2.606s
> [INFO] Finished at: Thu Aug 25 15:33:02 IST 2011
> [INFO] Final Memory: 9M/80M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec
> (generate-sources) on project hadoop-yarn-api: Command execution failed.
> Cannot run program "protoc" (in directory
> "HOME/hadoop-trunk/hadoop-mapreduce/hadoop-yarn/hadoop-yarn-api"): error=2,
> No such file or directory -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (generate-sources) on
> project hadoop-yarn-api: Command execution failed.
> at
>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
> at
>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB