Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS, mail # user - building from subversion repository


Copy link to this message
-
Re: building from subversion repository
Harsh J 2013-02-17, 13:17
Hi George,

The error below is your issue:

> [ERROR] Could not find goal 'protoc' in plugin org.apache.hadoop:hadoop-maven-plugins:3.0.0-SNAPSHOT among available goals -> [Help 1]

To build trunk, a protocol buffers (protobuf) compiler installation of
version 2.4 at least is required, cause we have that as a dependency.
This is mentioned on http://wiki.apache.org/hadoop/HowToContribute,
http://wiki.apache.org/hadoop/QwertyManiac/BuildingHadoopTrunk and
also the SVN trunk's BUILDING.txt (look for "proto").

Once installed in your OS, the following command and output can be
seen to work, and your build should continue successfully:

➜  ~  protoc --version
libprotoc 2.4.1

On Sun, Feb 17, 2013 at 5:43 PM, George R Goffe <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to build hadoop from a current check out of the repository and am
> receiving the following messages. Can someone enlighten me as to what I'm
> doing wrong please?
>
> Thanks,
>
> George...
>
>
>
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1:55.493s
> [INFO] Finished at: Sun Feb 17 03:58:15 PST 2013
> [INFO] Final Memory: 31M/332M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Could not find goal 'protoc' in plugin
> org.apache.hadoop:hadoop-maven-plugins:3.0.0-SNAPSHOT among available goals
> -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoNotFoundException
>

--
Harsh J