Java 类org.apache.hadoop.hdfs.protocol.proto.NamenodeProtocolProtos.IsUpgradeFinalizedRequestProto 实例源码

项目:hadoop    文件:NamenodeProtocolTranslatorPB.java   
@Override
public boolean isUpgradeFinalized() throws IOException {
  IsUpgradeFinalizedRequestProto req = IsUpgradeFinalizedRequestProto
      .newBuilder().build();
  try {
    IsUpgradeFinalizedResponseProto response = rpcProxy.isUpgradeFinalized(
        NULL_CONTROLLER, req);
    return response.getIsUpgradeFinalized();
  } catch (ServiceException e) {
    throw ProtobufHelper.getRemoteException(e);
  }
}
项目:aliyun-oss-hadoop-fs    文件:NamenodeProtocolTranslatorPB.java   
@Override
public boolean isUpgradeFinalized() throws IOException {
  IsUpgradeFinalizedRequestProto req = IsUpgradeFinalizedRequestProto
      .newBuilder().build();
  try {
    IsUpgradeFinalizedResponseProto response = rpcProxy.isUpgradeFinalized(
        NULL_CONTROLLER, req);
    return response.getIsUpgradeFinalized();
  } catch (ServiceException e) {
    throw ProtobufHelper.getRemoteException(e);
  }
}
项目:big-c    文件:NamenodeProtocolTranslatorPB.java   
@Override
public boolean isUpgradeFinalized() throws IOException {
  IsUpgradeFinalizedRequestProto req = IsUpgradeFinalizedRequestProto
      .newBuilder().build();
  try {
    IsUpgradeFinalizedResponseProto response = rpcProxy.isUpgradeFinalized(
        NULL_CONTROLLER, req);
    return response.getIsUpgradeFinalized();
  } catch (ServiceException e) {
    throw ProtobufHelper.getRemoteException(e);
  }
}
项目:hadoop-2.6.0-cdh5.4.3    文件:NamenodeProtocolTranslatorPB.java   
@Override
public boolean isUpgradeFinalized() throws IOException {
  IsUpgradeFinalizedRequestProto req = IsUpgradeFinalizedRequestProto
      .newBuilder().build();
  try {
    IsUpgradeFinalizedResponseProto response = rpcProxy.isUpgradeFinalized(
        NULL_CONTROLLER, req);
    return response.getIsUpgradeFinalized();
  } catch (ServiceException e) {
    throw ProtobufHelper.getRemoteException(e);
  }
}