You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Charan Hebri (JIRA)" <ji...@apache.org> on 2019/02/05 09:13:00 UTC

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

     [ https://issues.apache.org/jira/browse/YARN-7627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charan Hebri updated YARN-7627:
-------------------------------
    Attachment: YARN-7627.002.patch

> [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
>            Assignee: Charan Hebri
>            Priority: Trivial
>         Attachments: YARN-7627.001.patch, YARN-7627.002.patch
>
>
> 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
(v7.6.3#76005)

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