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

Regulate the case of applicationType

    XMLWordPrintableJSON

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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: