Re: Error in first build : Cannot run program "protoc": CreateProcess error=2

2013-04-03 Thread Amir Sanjar
: common-dev@hadoop.apache.org, Date: 04/03/2013 03:07 PM Subject:Re: Error in first build : Cannot run program "protoc": CreateProcess error=2 On 3 April 2013 15:46, Chandrashekhar Kotekar wrote: > Thanks a lot for your help. > > You were right. Prob

Re: Error in first build : Cannot run program "protoc": CreateProcess error=2

2013-04-03 Thread Steve Loughran
On 3 April 2013 15:46, Chandrashekhar Kotekar wrote: > Thanks a lot for your help. > > You were right. Problem was with Protoc version 1.5 only. I downloaded and > added protoc 1.4 version and now that error is gone. However now I am stuck > at this new error. Now maven is not able to find "msbuil

Re: Error in first build : Cannot run program "protoc": CreateProcess error=2

2013-04-03 Thread Harsh J
So this is the JIRA for tracking the protoc 2.5 issue: https://issues.apache.org/jira/browse/HADOOP-9346. Regarding the msbuild trouble, your issue is simply that you perhaps do not have Visual Studio 2010 Professional/Windows SDK installed? Apache Hadoop trunk has Windows specific build profiles

Re: Error in first build : Cannot run program "protoc": CreateProcess error=2

2013-04-03 Thread Chandrashekhar Kotekar
Thanks a lot for your help. You were right. Problem was with Protoc version 1.5 only. I downloaded and added protoc 1.4 version and now that error is gone. However now I am stuck at this new error. Now maven is not able to find "msbuild". Error is as follows : [ERROR] Failed to execute goal org.c

Re: Error in first build : Cannot run program "protoc": CreateProcess error=2

2013-04-03 Thread Harsh J
I'm not sure if trunk works with 2.5.x protoc yet. Try again with 2.4.1 please? I remember filing a JIRA for this, will hunt and send in a bit. On Wed, Apr 3, 2013 at 6:47 PM, Chandrashekhar Kotekar wrote: > Hi, > > Just now I have downloaded Hadoop source code. I have successfully run "mvn > cle

Error in first build : Cannot run program "protoc": CreateProcess error=2

2013-04-03 Thread Chandrashekhar Kotekar
Hi, Just now I have downloaded Hadoop source code. I have successfully run "mvn clean" target but while trying "mvn install" target I am getting following error : *[INFO] Executed tasks [INFO] [INFO] --- hadoop-maven-plugins:3.0.0-SNAPSHOT:protoc (compile-protoc) @ hadoop-common --- [WARNING] [pr