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

[ATSv2] When passing a non-number as metricslimit, the error message is wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.0.0-beta1
    • 3.3.0
    • api
    • None
    • Reviewed

    Description

      curl "$ATS_URL/ws/v2/timeline/apps/application_1512430070811_0022/entities/MAPREDUCE_JOB?metricslimit=w" returns:

      {"exception":"BadRequestException","message":"java.lang.Exception: createdTime start/end or limit or flowrunid is not a numeric value.","javaClassName":"org.apache.hadoop.yarn.webapp.BadRequestException"}

      and:

      curl "$ATS_URL/ws/v2/timeline/apps/application_1512430070811_0022?metricslimit=ALL"

      {"exception":"BadRequestException","message":"java.lang.Exception: flowrunid is not a numeric value.","javaClassName":"org.apache.hadoop.yarn.webapp.BadRequestException"}

      This could be part of YARN-6389 which indicates this functionality was not completed.

      Attachments

        1. YARN-7627.001.patch
          5 kB
          Charan Hebri
        2. YARN-7627.002.patch
          5 kB
          Charan Hebri

        Activity

          People

            charanh Charan Hebri
            gsohn Grant Sohn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: