Re: Compile proto

2016-05-06 Thread Kun Ren
> "compile-protoc" execution within the pom.xml file. > > --Chris Nauroth > > > > > On 5/6/16, 1:03 PM, "Kun Ren" <ren.h...@gmail.com> wrote: > > >Hi Genius, > > > >I added a new proto into the > >HADOOP_DIR/hadoop-common

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

server.java and RPC.java

2016-05-03 Thread Kun Ren
Hi Genius, I don't understand the following code segment in the server.java: value = call.connection.user.doAs (new PrivilegedExceptionAction() { @Override public Writable run() throws Exception {

Get the methodName and parameters from the Call object in server.java

2016-05-02 Thread Kun Ren
Hi Genius, I want to intercept the requests in the processRpcRequest() method in the listener component in server.java, for example if I want to intercept the "mkdirs" and "append" request, I just try to get the method name and parameters before this line: callQueue.put(call);