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

Switch to Plain View
Hadoop >> mail # dev >> Problem building branch-2

Ralph Castain 2013-05-24, 18:51
Copy link to this message
Re: Problem building branch-2
You seem to be using protoc-2.5.0, which is known not to work with
Hadoop yet: https://issues.apache.org/jira/browse/HADOOP-9346

Downgrading to 2.4.1 should let you go ahead.

On Sat, May 25, 2013 at 12:21 AM, Ralph Castain <[EMAIL PROTECTED]> wrote:
> Hi folks
> I'm trying to build the head of branch-2 on a CentOS box and hitting a rash of errors like the following (all from the protobuf support area):
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project hadoop-common: Compilation failure: Compilation failure:
> [ERROR] /home/common/hadoop/hadoop-common/hadoop-common-project/hadoop-common/target/generated-sources/java/org/apache/hadoop/ipc/protobuf/RpcHeaderProtos.java:[278,37] error: cannot find symbol
> [ERROR] symbol:   class Parser
> [ERROR] location: package com.google.protobuf
> Per the BUILDING.txt instructions, I was using a command line of "mvn install -DskipTests" from the top level directory.
> Any suggestions? I assume I must have some path incorrectly set or need to build the sub-projects manually in some order, but I'm unsure of the nature of the problem.
> Thanks
> Ralph

Harsh J
Giridharan Kesavan 2013-05-24, 18:56
Vinod Kumar Vavilapalli 2013-05-24, 19:55