Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
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.