[jira] [Updated] (YARN-4907) Make all MockRM#waitForState consistent.

2016-04-06 Thread Yufei Gu (JIRA)

 [ 
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 return a boolean, some don't.  
2. Some wait function don't have a timeout, they can wait for ever. 
3. Some use {{LOG.info}} and others use {{System.out.println}} to print 
messages.

  was:
There are some inconsistencies among these {{waitForState}} in {{MockRM}}:
1. Some return a boolean, some don't.  
2. Some have a minimum waiting time(1000ms), some one don't. I appreciate if 
someone can explain why we need a minimum waiting time. 
3. Some wait function don't have a timeout, they can wait for ever. 
4. Some 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 return a boolean, some don't.  
> 2. Some wait function don't have a timeout, they can wait for ever. 
> 3. Some use {{LOG.info}} and others use {{System.out.println}} to print 
> messages.



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


[jira] [Updated] (YARN-4907) Make all MockRM#waitForState consistent.

2016-04-06 Thread Yufei Gu (JIRA)

 [ 
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 return a boolean, some don't.  
2. Some wait function don't have a timeout, they can wait for ever. 
3. Some 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)


[jira] [Updated] (YARN-4907) Make all MockRM#waitForState consistent.

2016-04-06 Thread Yufei Gu (JIRA)

 [ 
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)


[jira] [Updated] (YARN-4907) Make all MockRM#waitForState consistent.

2016-04-06 Thread Yufei Gu (JIRA)

 [ 
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)


[jira] [Updated] (YARN-4907) Make all MockRM#waitForState consistent.

2016-04-11 Thread Yufei Gu (JIRA)

 [ 
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)


[jira] [Updated] (YARN-4907) Make all MockRM#waitForState consistent.

2016-04-11 Thread Yufei Gu (JIRA)

 [ 
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}} return a boolean while others don't.  
2. Some {{waitForState}} don't have a timeout, they can wait for ever. 
3. Some {{waitForState}} 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}} return a boolean while others don't.  
> 2. Some {{waitForState}} don't have a timeout, they can wait for ever. 
> 3. Some {{waitForState}} use LOG.info and others use {{System.out.println}} 
> to print messages.



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


[jira] [Updated] (YARN-4907) Make all MockRM#waitForState consistent.

2016-09-22 Thread Yufei Gu (JIRA)

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

Yufei Gu updated YARN-4907:
---
Attachment: YARN-4907.001.patch

> 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
> Attachments: YARN-4907.001.patch
>
>
> There are some inconsistencies among these {{waitForState}} in {{MockRM}}:
> 1. Some {{waitForState}} return a boolean while others don't.  
> 2. Some {{waitForState}} don't have a timeout, they can wait for ever. 
> 3. Some {{waitForState}} use LOG.info and others use {{System.out.println}} 
> to print messages.



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

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Updated] (YARN-4907) Make all MockRM#waitForState consistent.

2016-10-27 Thread Chris Trezzo (JIRA)

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

Chris Trezzo updated YARN-4907:
---
Labels: oct16-medium  (was: )

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



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

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Updated] (YARN-4907) Make all MockRM#waitForState consistent.

2016-10-27 Thread Chris Trezzo (JIRA)

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

Chris Trezzo updated YARN-4907:
---
Component/s: resourcemanager

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



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

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Updated] (YARN-4907) Make all MockRM#waitForState consistent.

2016-10-28 Thread Yufei Gu (JIRA)

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

Yufei Gu updated YARN-4907:
---
Attachment: YARN-4907.002.patch

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



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

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Updated] (YARN-4907) Make all MockRM#waitForState consistent.

2016-11-21 Thread Andrew Wang (JIRA)

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

Andrew Wang updated YARN-4907:
--
Fix Version/s: 3.0.0-alpha2

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



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

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org