|
@@ -63,6 +63,8 @@ public class RMAdminProtocolPBServiceImpl implements RMAdminProtocolPB {
|
|
|
return ((RefreshQueuesResponsePBImpl)response).getProto();
|
|
|
} catch (YarnRemoteException e) {
|
|
|
throw new ServiceException(e);
|
|
|
+ } catch (IOException e) {
|
|
|
+ throw new ServiceException(e);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -77,6 +79,8 @@ public class RMAdminProtocolPBServiceImpl implements RMAdminProtocolPB {
|
|
|
return ((RefreshAdminAclsResponsePBImpl)response).getProto();
|
|
|
} catch (YarnRemoteException e) {
|
|
|
throw new ServiceException(e);
|
|
|
+ } catch (IOException e) {
|
|
|
+ throw new ServiceException(e);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -89,6 +93,8 @@ public class RMAdminProtocolPBServiceImpl implements RMAdminProtocolPB {
|
|
|
return ((RefreshNodesResponsePBImpl)response).getProto();
|
|
|
} catch (YarnRemoteException e) {
|
|
|
throw new ServiceException(e);
|
|
|
+ } catch (IOException e) {
|
|
|
+ throw new ServiceException(e);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -106,6 +112,8 @@ public class RMAdminProtocolPBServiceImpl implements RMAdminProtocolPB {
|
|
|
return ((RefreshSuperUserGroupsConfigurationResponsePBImpl)response).getProto();
|
|
|
} catch (YarnRemoteException e) {
|
|
|
throw new ServiceException(e);
|
|
|
+ } catch (IOException e) {
|
|
|
+ throw new ServiceException(e);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -121,6 +129,8 @@ public class RMAdminProtocolPBServiceImpl implements RMAdminProtocolPB {
|
|
|
return ((RefreshUserToGroupsMappingsResponsePBImpl)response).getProto();
|
|
|
} catch (YarnRemoteException e) {
|
|
|
throw new ServiceException(e);
|
|
|
+ } catch (IOException e) {
|
|
|
+ throw new ServiceException(e);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -136,6 +146,8 @@ public class RMAdminProtocolPBServiceImpl implements RMAdminProtocolPB {
|
|
|
return ((RefreshServiceAclsResponsePBImpl)response).getProto();
|
|
|
} catch (YarnRemoteException e) {
|
|
|
throw new ServiceException(e);
|
|
|
+ } catch (IOException e) {
|
|
|
+ throw new ServiceException(e);
|
|
|
}
|
|
|
}
|
|
|
|