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-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org