You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Ravi Prakash (JIRA)" <ji...@apache.org> on 2011/09/16 18:20:10 UTC

[jira] [Created] (MAPREDUCE-3023) Queue state is not being translated properly (is always assumed to be running)

Queue state is not being translated properly (is always assumed to be running)
------------------------------------------------------------------------------

                 Key: MAPREDUCE-3023
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3023
             Project: Hadoop Map/Reduce
          Issue Type: Bug
    Affects Versions: 0.23.0
            Reporter: Ravi Prakash
            Assignee: Ravi Prakash
             Fix For: 0.23.0


During translation of QueueInfo, 

bq. TypeConverter.java:435 : queueInfo.toString(), QueueState.RUNNING,
ought to be 
bq. queueInfo.toString(), QueueState.getState(queueInfo.getQueueState().toString().toLowerCase()),

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3023) Queue state is not being translated properly (is always assumed to be running)

Posted by "Ravi Prakash (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13106870#comment-13106870 ] 

Ravi Prakash commented on MAPREDUCE-3023:
-----------------------------------------

The exact same patch also applies to trunk.

> Queue state is not being translated properly (is always assumed to be running)
> ------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3023
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3023
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-3023.branch-0.23.patch
>
>
> During translation of QueueInfo, 
> bq. TypeConverter.java:435 : queueInfo.toString(), QueueState.RUNNING,
> ought to be 
> bq. queueInfo.toString(), QueueState.getState(queueInfo.getQueueState().toString().toLowerCase()),

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3023) Queue state is not being translated properly (is always assumed to be running)

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13109446#comment-13109446 ] 

Hudson commented on MAPREDUCE-3023:
-----------------------------------

Integrated in Hadoop-Hdfs-0.23-Build #16 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/16/])
    Merge -r 1173457:1173458 from trunk to branch-0.23 to fix MAPREDUCE-3023.

acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1173460
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/TypeConverter.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/test/java/org/apache/hadoop/mapreduce/TestTypeConverter.java


> Queue state is not being translated properly (is always assumed to be running)
> ------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3023
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3023
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-3023.branch-0.23.patch, MAPREDUCE-3023.branch-0.23.patch
>
>
> During translation of QueueInfo, 
> bq. TypeConverter.java:435 : queueInfo.toString(), QueueState.RUNNING,
> ought to be 
> bq. queueInfo.toString(), QueueState.getState(queueInfo.getQueueState().toString().toLowerCase()),

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3023) Queue state is not being translated properly (is always assumed to be running)

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13109286#comment-13109286 ] 

Hudson commented on MAPREDUCE-3023:
-----------------------------------

Integrated in Hadoop-Mapreduce-0.23-Build #17 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/17/])
    Merge -r 1173457:1173458 from trunk to branch-0.23 to fix MAPREDUCE-3023.

acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1173460
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/TypeConverter.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/test/java/org/apache/hadoop/mapreduce/TestTypeConverter.java


> Queue state is not being translated properly (is always assumed to be running)
> ------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3023
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3023
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-3023.branch-0.23.patch, MAPREDUCE-3023.branch-0.23.patch
>
>
> During translation of QueueInfo, 
> bq. TypeConverter.java:435 : queueInfo.toString(), QueueState.RUNNING,
> ought to be 
> bq. queueInfo.toString(), QueueState.getState(queueInfo.getQueueState().toString().toLowerCase()),

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3023) Queue state is not being translated properly (is always assumed to be running)

Posted by "Ravi Prakash (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13109175#comment-13109175 ] 

Ravi Prakash commented on MAPREDUCE-3023:
-----------------------------------------

@Arun: Thanks for the great suggestion! I've made the change! Uploaded patch.

> Queue state is not being translated properly (is always assumed to be running)
> ------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3023
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3023
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-3023.branch-0.23.patch, MAPREDUCE-3023.branch-0.23.patch
>
>
> During translation of QueueInfo, 
> bq. TypeConverter.java:435 : queueInfo.toString(), QueueState.RUNNING,
> ought to be 
> bq. queueInfo.toString(), QueueState.getState(queueInfo.getQueueState().toString().toLowerCase()),

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3023) Queue state is not being translated properly (is always assumed to be running)

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13109488#comment-13109488 ] 

Hudson commented on MAPREDUCE-3023:
-----------------------------------

Integrated in Hadoop-Hdfs-trunk #807 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/807/])
    MAPREDUCE-3023. Fixed clients to display queue state correctly. Contributed by Ravi Prakash.

acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1173458
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/TypeConverter.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/test/java/org/apache/hadoop/mapreduce/TestTypeConverter.java


> Queue state is not being translated properly (is always assumed to be running)
> ------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3023
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3023
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-3023.branch-0.23.patch, MAPREDUCE-3023.branch-0.23.patch
>
>
> During translation of QueueInfo, 
> bq. TypeConverter.java:435 : queueInfo.toString(), QueueState.RUNNING,
> ought to be 
> bq. queueInfo.toString(), QueueState.getState(queueInfo.getQueueState().toString().toLowerCase()),

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3023) Queue state is not being translated properly (is always assumed to be running)

Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13109181#comment-13109181 ] 

Arun C Murthy commented on MAPREDUCE-3023:
------------------------------------------

+1 looks good.

In general, we should avoid references to yarn apis in hadoop-mapreduce-client-core...

> Queue state is not being translated properly (is always assumed to be running)
> ------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3023
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3023
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-3023.branch-0.23.patch, MAPREDUCE-3023.branch-0.23.patch
>
>
> During translation of QueueInfo, 
> bq. TypeConverter.java:435 : queueInfo.toString(), QueueState.RUNNING,
> ought to be 
> bq. queueInfo.toString(), QueueState.getState(queueInfo.getQueueState().toString().toLowerCase()),

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3023) Queue state is not being translated properly (is always assumed to be running)

Posted by "Ravi Prakash (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Prakash updated MAPREDUCE-3023:
------------------------------------

    Attachment: MAPREDUCE-3023.branch-0.23.patch

I changed my mind. Now org.apache.hadoop.mapreduce.QueueState has a public static method which accepts org.apache.hadoop.yarn.api.records.QueueState

Please review and commit

> Queue state is not being translated properly (is always assumed to be running)
> ------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3023
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3023
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-3023.branch-0.23.patch
>
>
> During translation of QueueInfo, 
> bq. TypeConverter.java:435 : queueInfo.toString(), QueueState.RUNNING,
> ought to be 
> bq. queueInfo.toString(), QueueState.getState(queueInfo.getQueueState().toString().toLowerCase()),

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3023) Queue state is not being translated properly (is always assumed to be running)

Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun C Murthy updated MAPREDUCE-3023:
-------------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this. Thanks Ravi!

> Queue state is not being translated properly (is always assumed to be running)
> ------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3023
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3023
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-3023.branch-0.23.patch, MAPREDUCE-3023.branch-0.23.patch
>
>
> During translation of QueueInfo, 
> bq. TypeConverter.java:435 : queueInfo.toString(), QueueState.RUNNING,
> ought to be 
> bq. queueInfo.toString(), QueueState.getState(queueInfo.getQueueState().toString().toLowerCase()),

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3023) Queue state is not being translated properly (is always assumed to be running)

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13109195#comment-13109195 ] 

Hudson commented on MAPREDUCE-3023:
-----------------------------------

Integrated in Hadoop-Common-trunk-Commit #925 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/925/])
    MAPREDUCE-3023. Fixed clients to display queue state correctly. Contributed by Ravi Prakash.

acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1173458
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/TypeConverter.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/test/java/org/apache/hadoop/mapreduce/TestTypeConverter.java


> Queue state is not being translated properly (is always assumed to be running)
> ------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3023
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3023
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-3023.branch-0.23.patch, MAPREDUCE-3023.branch-0.23.patch
>
>
> During translation of QueueInfo, 
> bq. TypeConverter.java:435 : queueInfo.toString(), QueueState.RUNNING,
> ought to be 
> bq. queueInfo.toString(), QueueState.getState(queueInfo.getQueueState().toString().toLowerCase()),

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3023) Queue state is not being translated properly (is always assumed to be running)

Posted by "Ravi Prakash (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Prakash updated MAPREDUCE-3023:
------------------------------------

    Status: Patch Available  (was: Open)

> Queue state is not being translated properly (is always assumed to be running)
> ------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3023
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3023
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-3023.branch-0.23.patch, MAPREDUCE-3023.branch-0.23.patch
>
>
> During translation of QueueInfo, 
> bq. TypeConverter.java:435 : queueInfo.toString(), QueueState.RUNNING,
> ought to be 
> bq. queueInfo.toString(), QueueState.getState(queueInfo.getQueueState().toString().toLowerCase()),

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3023) Queue state is not being translated properly (is always assumed to be running)

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13109205#comment-13109205 ] 

Hudson commented on MAPREDUCE-3023:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #942 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/942/])
    MAPREDUCE-3023. Fixed clients to display queue state correctly. Contributed by Ravi Prakash.

acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1173458
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/TypeConverter.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/test/java/org/apache/hadoop/mapreduce/TestTypeConverter.java


> Queue state is not being translated properly (is always assumed to be running)
> ------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3023
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3023
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-3023.branch-0.23.patch, MAPREDUCE-3023.branch-0.23.patch
>
>
> During translation of QueueInfo, 
> bq. TypeConverter.java:435 : queueInfo.toString(), QueueState.RUNNING,
> ought to be 
> bq. queueInfo.toString(), QueueState.getState(queueInfo.getQueueState().toString().toLowerCase()),

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3023) Queue state is not being translated properly (is always assumed to be running)

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13109475#comment-13109475 ] 

Hudson commented on MAPREDUCE-3023:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk #837 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/837/])
    MAPREDUCE-3023. Fixed clients to display queue state correctly. Contributed by Ravi Prakash.

acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1173458
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/TypeConverter.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/test/java/org/apache/hadoop/mapreduce/TestTypeConverter.java


> Queue state is not being translated properly (is always assumed to be running)
> ------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3023
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3023
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-3023.branch-0.23.patch, MAPREDUCE-3023.branch-0.23.patch
>
>
> During translation of QueueInfo, 
> bq. TypeConverter.java:435 : queueInfo.toString(), QueueState.RUNNING,
> ought to be 
> bq. queueInfo.toString(), QueueState.getState(queueInfo.getQueueState().toString().toLowerCase()),

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3023) Queue state is not being translated properly (is always assumed to be running)

Posted by "Ravi Prakash (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13109204#comment-13109204 ] 

Ravi Prakash commented on MAPREDUCE-3023:
-----------------------------------------

Thanks Arun! :)

> Queue state is not being translated properly (is always assumed to be running)
> ------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3023
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3023
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-3023.branch-0.23.patch, MAPREDUCE-3023.branch-0.23.patch
>
>
> During translation of QueueInfo, 
> bq. TypeConverter.java:435 : queueInfo.toString(), QueueState.RUNNING,
> ought to be 
> bq. queueInfo.toString(), QueueState.getState(queueInfo.getQueueState().toString().toLowerCase()),

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3023) Queue state is not being translated properly (is always assumed to be running)

Posted by "Ravi Prakash (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Prakash updated MAPREDUCE-3023:
------------------------------------

    Status: Patch Available  (was: Open)

> Queue state is not being translated properly (is always assumed to be running)
> ------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3023
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3023
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-3023.branch-0.23.patch
>
>
> During translation of QueueInfo, 
> bq. TypeConverter.java:435 : queueInfo.toString(), QueueState.RUNNING,
> ought to be 
> bq. queueInfo.toString(), QueueState.getState(queueInfo.getQueueState().toString().toLowerCase()),

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3023) Queue state is not being translated properly (is always assumed to be running)

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13106807#comment-13106807 ] 

Hadoop QA commented on MAPREDUCE-3023:
--------------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12494857/MAPREDUCE-3023.branch-0.23.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed unit tests in .

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/770//testReport/
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/770//console

This message is automatically generated.

> Queue state is not being translated properly (is always assumed to be running)
> ------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3023
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3023
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-3023.branch-0.23.patch
>
>
> During translation of QueueInfo, 
> bq. TypeConverter.java:435 : queueInfo.toString(), QueueState.RUNNING,
> ought to be 
> bq. queueInfo.toString(), QueueState.getState(queueInfo.getQueueState().toString().toLowerCase()),

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3023) Queue state is not being translated properly (is always assumed to be running)

Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun C Murthy updated MAPREDUCE-3023:
-------------------------------------

    Status: Open  (was: Patch Available)

Ravi - the patch looks good.

One nit - do the conversion from org.apache.hadoop.yarn.api.records.QueueState to org.apache.hadoop.mapreduce.QueueState in TypeConvertor, not in org.apache.hadoop.mapreduce.QueueState.

> Queue state is not being translated properly (is always assumed to be running)
> ------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3023
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3023
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-3023.branch-0.23.patch
>
>
> During translation of QueueInfo, 
> bq. TypeConverter.java:435 : queueInfo.toString(), QueueState.RUNNING,
> ought to be 
> bq. queueInfo.toString(), QueueState.getState(queueInfo.getQueueState().toString().toLowerCase()),

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3023) Queue state is not being translated properly (is always assumed to be running)

Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun C Murthy updated MAPREDUCE-3023:
-------------------------------------

    Component/s: mrv2

> Queue state is not being translated properly (is always assumed to be running)
> ------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3023
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3023
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-3023.branch-0.23.patch
>
>
> During translation of QueueInfo, 
> bq. TypeConverter.java:435 : queueInfo.toString(), QueueState.RUNNING,
> ought to be 
> bq. queueInfo.toString(), QueueState.getState(queueInfo.getQueueState().toString().toLowerCase()),

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3023) Queue state is not being translated properly (is always assumed to be running)

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13109197#comment-13109197 ] 

Hudson commented on MAPREDUCE-3023:
-----------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #1003 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1003/])
    MAPREDUCE-3023. Fixed clients to display queue state correctly. Contributed by Ravi Prakash.

acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1173458
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/TypeConverter.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/test/java/org/apache/hadoop/mapreduce/TestTypeConverter.java


> Queue state is not being translated properly (is always assumed to be running)
> ------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3023
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3023
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-3023.branch-0.23.patch, MAPREDUCE-3023.branch-0.23.patch
>
>
> During translation of QueueInfo, 
> bq. TypeConverter.java:435 : queueInfo.toString(), QueueState.RUNNING,
> ought to be 
> bq. queueInfo.toString(), QueueState.getState(queueInfo.getQueueState().toString().toLowerCase()),

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3023) Queue state is not being translated properly (is always assumed to be running)

Posted by "Ravi Prakash (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Prakash updated MAPREDUCE-3023:
------------------------------------

    Attachment: MAPREDUCE-3023.branch-0.23.patch

> Queue state is not being translated properly (is always assumed to be running)
> ------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3023
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3023
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-3023.branch-0.23.patch, MAPREDUCE-3023.branch-0.23.patch
>
>
> During translation of QueueInfo, 
> bq. TypeConverter.java:435 : queueInfo.toString(), QueueState.RUNNING,
> ought to be 
> bq. queueInfo.toString(), QueueState.getState(queueInfo.getQueueState().toString().toLowerCase()),

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira