Re: Compile proto

2016-05-10 Thread Kun Ren
Yes, this fixed the problem. Thanks a lot for your reply. On Tue, May 10, 2016 at 2:13 PM, Colin McCabe wrote: > Hi Kun Ren, > > You have to add your new proto file to the relevant pom.xml file. > > best, > Colin > > On Fri, May 6, 2016, at 13:04, Kun Ren wrote: > > Hi Genius, > > > > I added a

Re: Compile proto

2016-05-10 Thread Colin McCabe
Hi Kun Ren, You have to add your new proto file to the relevant pom.xml file. best, Colin On Fri, May 6, 2016, at 13:04, Kun Ren wrote: > Hi Genius, > > I added a new proto into the > HADOOP_DIR/hadoop-common-project/hadoop-common/src/main/proto, > > however,every time when I run the following

Compile proto

2016-05-06 Thread Kun Ren
Hi Genius, I added a new proto into the HADOOP_DIR/hadoop-common-project/hadoop-common/src/main/proto, however,every time when I run the following Maven commands: mvn install -DskipTests mvn eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs= true It only compiles a

Re: how to compile proto files?

2011-12-09 Thread Suresh Srinivas
I missed that. I do not if you can do that. BTW yarn generates files using protoc. It might be a good idea to look at their build. I have a jira opened to address this issue, HDFS-2578. Feel free to assign it to yourself, if you want to work on it. On Fri, Dec 9, 2011 at 10:14 AM, Alejandro Abdel

Re: how to compile proto files?

2011-12-09 Thread Alejandro Abdelnur
Suresh, One proto file at the time works, but doing *.proto fails complaining about duplicate definitions. Thxs. Alejandro On Thu, Dec 8, 2011 at 11:46 PM, Suresh Srinivas wrote: > Under hadoop-hdfs/src I run: > Protoc -I=proto proto/.proto --java_out main/src > > > > On Thursday, December 8,

Re: how to compile proto files?

2011-12-08 Thread Suresh Srinivas
Under hadoop-hdfs/src I run: Protoc -I=proto proto/.proto --java_out main/src On Thursday, December 8, 2011, Alejandro Abdelnur wrote: > I'm trying to change the build to compile the proto files (instead checking > in the generated java files) > > However, I'm not able to run protoc successfull

how to compile proto files?

2011-12-08 Thread Alejandro Abdelnur
I'm trying to change the build to compile the proto files (instead checking in the generated java files) However, I'm not able to run protoc successfully. Tried $ protoc -Isrc/proto/ --java_out=target/generated-sources/java src/proto/*.proto but it does not work. Thanks. Alejandro