Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-1235

Regulate the case of applicationType

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                zjshen Zhijie Shen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: