@Override
public AllocateResponse allocate(AllocateRequest request)
throws YarnException, IOException {
AllocateRequestProto requestProto =
((AllocateRequestPBImpl) request).getProto();
try {
return new AllocateResponsePBImpl(proxy.allocate(null, requestProto));
} catch (ServiceException e) {
RPCUtil.unwrapAndThrowException(e);
return null;
}
}
ApplicationMasterProtocolPBClientImpl.java 文件源码
java
阅读 34
收藏 0
点赞 0
评论 0
项目:hadoop
作者:
评论列表
文章目录