[ https://issues.apache.org/jira/browse/YARN-11577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17780428#comment-17780428 ]
ASF GitHub Bot commented on YARN-11577: --------------------------------------- slfan1989 commented on code in PR #6190: URL: https://github.com/apache/hadoop/pull/6190#discussion_r1374744145 ########## hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/RouterServerUtil.java: ########## @@ -227,7 +227,7 @@ public static void logAndThrowIOException(String errMsg, Throwable t) throws IOException { if (t != null) { LOG.error(errMsg, t); - throw new IOException(errMsg, t); Review Comment: We made changes to this part of the code because we aim to convey more information to the client. > Improve FederationInterceptorREST Method Result > ----------------------------------------------- > > Key: YARN-11577 > URL: https://issues.apache.org/jira/browse/YARN-11577 > Project: Hadoop YARN > Issue Type: Improvement > Components: federation > Affects Versions: 3.4.0 > Reporter: Shilun Fan > Assignee: Shilun Fan > Priority: Major > Labels: pull-request-available > > In the FederationInterceptorREST, some methods currently return null or throw > exceptions. We will ensure that the returned results are similar to those > returned by RM, handling cases of null values or exceptions gracefully. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org