hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yufei Gu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-4907) Make all MockRM#waitForState consistent.
Date Thu, 07 Apr 2016 06:26:25 GMT

     [ https://issues.apache.org/jira/browse/YARN-4907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yufei Gu updated YARN-4907:
---------------------------
    Description: 
There are some inconsistencies among these {{waitForState}} in {{MockRM}}:
1. Some {{waitForState}}s return a boolean while others don't.  
2. Some {{waitForState}}s don't have a timeout, they can wait for ever. 
3. Some {{waitForState}}s use LOG.info and others use {{System.out.println}} to print messages.

  was:
There are some inconsistencies among these {{waitForState}} in {{MockRM}}:
1. Some {{waitForState}}s return a boolean while others don't.  
2. Some {{waitForState}}s don't have a timeout, they can wait for ever. 
3. Some {{waitForState}}s use {{LOG.info()}} and others use {{System.out.println}} to print
messages.


> Make all MockRM#waitForState consistent. 
> -----------------------------------------
>
>                 Key: YARN-4907
>                 URL: https://issues.apache.org/jira/browse/YARN-4907
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Yufei Gu
>            Assignee: Yufei Gu
>
> There are some inconsistencies among these {{waitForState}} in {{MockRM}}:
> 1. Some {{waitForState}}s return a boolean while others don't.  
> 2. Some {{waitForState}}s don't have a timeout, they can wait for ever. 
> 3. Some {{waitForState}}s use LOG.info and others use {{System.out.println}} to print
messages.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message