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

Add option to set max limit on ResourceManager for ApplicationClientProtocol.getApplications

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      When users called ApplicationClientProtocol.getApplications, it will return lots of data, and generate lots of garbage on ResourceManager which caused long time GC.
      For example, on one of our RM, when called rest API " http://<rm http address:port>/ws/v1/cluster/apps" it can return 150MB data which have 944 applications.
      getApplications have limit parameter, but some user might not set it, and then the limit will be Long.MAX_VALUE.

      Attachments

        1. YARN-6285.003.patch
          6 kB
          yunjiong zhao
        2. YARN-6285.002.patch
          6 kB
          yunjiong zhao
        3. YARN-6285.001.patch
          6 kB
          yunjiong zhao

        Issue Links

          Activity

            People

              zhaoyunjiong yunjiong zhao
              zhaoyunjiong yunjiong zhao
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated: