Java 类org.apache.hadoop.hdfs.protocol.proto.ClientDatanodeProtocolProtos.TriggerBlockReportResponseProto 实例源码

项目:hadoop    文件:ClientDatanodeProtocolServerSideTranslatorPB.java   
@Override
public TriggerBlockReportResponseProto triggerBlockReport(
    RpcController unused, TriggerBlockReportRequestProto request)
        throws ServiceException {
  try {
    impl.triggerBlockReport(new BlockReportOptions.Factory().
        setIncremental(request.getIncremental()).build());
  } catch (IOException e) {
    throw new ServiceException(e);
  }
  return TRIGGER_BLOCK_REPORT_RESP;
}
项目:aliyun-oss-hadoop-fs    文件:ClientDatanodeProtocolServerSideTranslatorPB.java   
@Override
public TriggerBlockReportResponseProto triggerBlockReport(
    RpcController unused, TriggerBlockReportRequestProto request)
        throws ServiceException {
  try {
    impl.triggerBlockReport(new BlockReportOptions.Factory().
        setIncremental(request.getIncremental()).build());
  } catch (IOException e) {
    throw new ServiceException(e);
  }
  return TRIGGER_BLOCK_REPORT_RESP;
}
项目:big-c    文件:ClientDatanodeProtocolServerSideTranslatorPB.java   
@Override
public TriggerBlockReportResponseProto triggerBlockReport(
    RpcController unused, TriggerBlockReportRequestProto request)
        throws ServiceException {
  try {
    impl.triggerBlockReport(new BlockReportOptions.Factory().
        setIncremental(request.getIncremental()).build());
  } catch (IOException e) {
    throw new ServiceException(e);
  }
  return TRIGGER_BLOCK_REPORT_RESP;
}
项目:hadoop-2.6.0-cdh5.4.3    文件:ClientDatanodeProtocolServerSideTranslatorPB.java   
@Override
public TriggerBlockReportResponseProto triggerBlockReport(
    RpcController unused, TriggerBlockReportRequestProto request)
        throws ServiceException {
  try {
    impl.triggerBlockReport(new BlockReportOptions.Factory().
        setIncremental(request.getIncremental()).build());
  } catch (IOException e) {
    throw new ServiceException(e);
  }
  return TRIGGER_BLOCK_REPORT_RESP;
}