use of org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.RemoteEditLogProto in project hadoop by apache.
the class TestPBHelper method testConvertRemoteEditLog.
@Test
public void testConvertRemoteEditLog() {
RemoteEditLog l = new RemoteEditLog(1, 100);
RemoteEditLogProto lProto = PBHelper.convert(l);
RemoteEditLog l1 = PBHelper.convert(lProto);
compare(l, l1);
}
Aggregations