You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Grant Sohn (JIRA)" <ji...@apache.org> on 2017/12/08 20:00:00 UTC

[jira] [Created] (YARN-7627) [ATSv2] When passing a non-number as metricslimit, the error message is wrong

Grant Sohn created YARN-7627:
--------------------------------

             Summary: [ATSv2] When passing a non-number as metricslimit, the error message is wrong
                 Key: YARN-7627
                 URL: https://issues.apache.org/jira/browse/YARN-7627
             Project: Hadoop YARN
          Issue Type: Bug
          Components: api
    Affects Versions: 3.0.0-beta1
            Reporter: Grant Sohn
            Priority: Trivial


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org