diff --git a/bin/alluxio b/bin/alluxio
index 19c40287fce6..5eb19795a627 100755
--- a/bin/alluxio
+++ b/bin/alluxio
@@ -310,6 +310,10 @@ function main {
for src_file in $(find ${BIN}/../core/server/src/proto -name '*.proto' -type f); do
protoc --java_out=${BIN}/../core/server/src/main/java --proto_path=`dirname ${src_file}` ${src_file}
done
+ rm -rf ${BIN}/../core/common/src/main/java/alluxio/proto
+ for src_file in $(find ${BIN}/../core/common/src/proto -name '*.proto' -type f); do
+ protoc --java_out=${BIN}/../core/common/src/main/java --proto_path=`dirname ${src_file}` ${src_file}
+ done
;;
"clearCache")
sync; echo 3 > /proc/sys/vm/drop_caches ;
diff --git a/build/findbugs/findbugs-exclude.xml b/build/findbugs/findbugs-exclude.xml
index baf001180a35..d857684dc6c6 100644
--- a/build/findbugs/findbugs-exclude.xml
+++ b/build/findbugs/findbugs-exclude.xml
@@ -5,6 +5,7 @@
+
diff --git a/core/client/src/main/java/alluxio/client/block/stream/PacketInStream.java b/core/client/src/main/java/alluxio/client/block/stream/PacketInStream.java
index 16bda72c8ddc..20d1842c578c 100644
--- a/core/client/src/main/java/alluxio/client/block/stream/PacketInStream.java
+++ b/core/client/src/main/java/alluxio/client/block/stream/PacketInStream.java
@@ -22,7 +22,6 @@
import java.io.IOException;
import java.io.InputStream;
-import java.nio.ByteBuffer;
import javax.annotation.concurrent.NotThreadSafe;
@@ -183,13 +182,6 @@ private void closePacketReader() {
* @param packet the packet
*/
private void destroyPacket(ByteBuf packet) {
- // TODO(peis): Investigate whether we can get rid of this.
- if (packet.nioBufferCount() > 0) {
- ByteBuffer buffer = packet.nioBuffer();
- if (buffer.isDirect()) {
- BufferUtils.cleanDirectBuffer(buffer);
- }
- }
ReferenceCountUtil.release(packet);
}
diff --git a/core/common/src/main/java/alluxio/network/protocol/RPCMessage.java b/core/common/src/main/java/alluxio/network/protocol/RPCMessage.java
index b0553285fefe..b676cb9539fd 100644
--- a/core/common/src/main/java/alluxio/network/protocol/RPCMessage.java
+++ b/core/common/src/main/java/alluxio/network/protocol/RPCMessage.java
@@ -41,6 +41,12 @@ public enum Type implements EncodedMessage {
RPC_FILE_READ_RESPONSE(6),
RPC_FILE_WRITE_REQUEST(7),
RPC_FILE_WRITE_RESPONSE(8),
+
+ RPC_READ_REQUEST(9),
+ RPC_WRITE_REQUEST(10),
+ RPC_RESPONSE(11),
+
+ RPC_UNKNOWN(1000),
;
private final int mId;
diff --git a/core/common/src/main/java/alluxio/network/protocol/RPCMessageEncoder.java b/core/common/src/main/java/alluxio/network/protocol/RPCMessageEncoder.java
index d9591c872b28..50b2fedf0d6d 100644
--- a/core/common/src/main/java/alluxio/network/protocol/RPCMessageEncoder.java
+++ b/core/common/src/main/java/alluxio/network/protocol/RPCMessageEncoder.java
@@ -73,6 +73,5 @@ protected void encode(ChannelHandlerContext ctx, RPCMessage in, List