You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Adam Antal (Jira)" <ji...@apache.org> on 2019/12/05 11:32:00 UTC

[jira] [Updated] (YARN-10006) IOException used in place of YARNException in CapaitySheduler

     [ 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org