You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Zhijie Shen (JIRA)" <ji...@apache.org> on 2013/09/25 07:19:02 UTC

[jira] [Created] (YARN-1235) Regulate the case of applicationType

Zhijie Shen created YARN-1235:
---------------------------------

             Summary: Regulate the case of applicationType
                 Key: YARN-1235
                 URL: https://issues.apache.org/jira/browse/YARN-1235
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Zhijie Shen
            Assignee: Zhijie Shen


In YARN-1001, when filtering applications, we ignore the case of the applicationType.

However, RMClientService#getApplications doesn't. Moreover, it is not documented that ApplicationClientProtocol ignores the case of applicationType or not.

IMHO, we need to do:

1. Modify RMClientService#getApplications to ignore the case of applicationType when filtering applications

2. Add javadoc in ApplicationClientProtocol#submitApplication and getApplications to say that applicationType is case insensitive

3. Probably, when submitApplication, we'd like to "normalize" the applicationType to the lower case.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira