[ https://issues.apache.org/jira/browse/YARN-10006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Antal updated YARN-10006: ------------------------------ Description: IOException used in place of YARNException in CapacityScheduler. As per YARNException Doc, {code:java} /** * YarnException indicates exceptions from yarn servers. On the other hand, * IOExceptions indicates exceptions from RPC layer. */ {code} Below methods throws IOException but it is suppose to throw YarnException. CapaityShedulerQueueManager#parseQueue <- initializeQueues <- CapacityScheduler#initializeQueues <- initScheduler <- serviceInit was: IOException used in place of YARNException in CapaityScheduler. As per YARNException Doc, {code:java} /** * YarnException indicates exceptions from yarn servers. On the other hand, * IOExceptions indicates exceptions from RPC layer. */ {code} Below methods throws IOException but it is suppose to throw YarnException. CapaityShedulerQueueManager#parseQueue <- initializeQueues <- CapacityScheduler#initializeQueues <- initScheduler <- serviceInit > IOException used in place of YARNException in CapaitySheduler > ------------------------------------------------------------- > > Key: YARN-10006 > URL: https://issues.apache.org/jira/browse/YARN-10006 > Project: Hadoop YARN > Issue Type: Bug > Components: capacity scheduler > Affects Versions: 3.3.0 > Reporter: Prabhu Joseph > Assignee: Adam Antal > Priority: Minor > > IOException used in place of YARNException in CapacityScheduler. As per > YARNException Doc, > {code:java} > /** > * YarnException indicates exceptions from yarn servers. On the other hand, > * IOExceptions indicates exceptions from RPC layer. > */ > {code} > Below methods throws IOException but it is suppose to throw YarnException. > CapaityShedulerQueueManager#parseQueue <- initializeQueues <- > CapacityScheduler#initializeQueues <- initScheduler <- serviceInit -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org