@Override
public RefreshNodesResponseProto refreshNodes(RpcController controller,
RefreshNodesRequestProto proto) throws ServiceException {
RefreshNodesRequestPBImpl request = new RefreshNodesRequestPBImpl(proto);
try {
RefreshNodesResponse response = real.refreshNodes(request);
return ((RefreshNodesResponsePBImpl)response).getProto();
} catch (YarnRemoteException e) {
throw new ServiceException(e);
}
}