hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prabhu Joseph (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-9408) @Path("/apps/{appid}/appattempts") error message misleads
Date Mon, 25 Mar 2019 16:17:00 GMT
Prabhu Joseph created YARN-9408:
-----------------------------------

             Summary: @Path("/apps/{appid}/appattempts") error message misleads
                 Key: YARN-9408
                 URL: https://issues.apache.org/jira/browse/YARN-9408
             Project: Hadoop YARN
          Issue Type: Bug
    Affects Versions: 3.2.0
            Reporter: Prabhu Joseph
            Assignee: Prabhu Joseph


@Path("/apps/{appid}/appattempts") error message is misleading. NotFoundException "Unable
to find the context flow name, and flow run id, and user id" is displayed while app attempts
is looked.

{code}
[hbase@yarn-ats-3 ~]$ curl -s "http://yarn-ats-3:8198/ws/v2/timeline/apps/application_1553258815132_0004/appattempts?user.name=hbase"
| jq .
{
  "exception": "NotFoundException",
  "message": "java.lang.Exception: Unable to find the context flow name, and flow run id,
and user id for clusterId=ats, appId=application_1553258815132_0004",
  "javaClassName": "org.apache.hadoop.yarn.webapp.NotFoundException"
}

[hbase@yarn-ats-3 ~]$ curl -s "http://yarn-ats-3:8198/ws/v2/timeline/clusters/ats/apps/application_1553258815132_0005/appattempts?user.name=hbase"
| jq .
{
  "exception": "NotFoundException",
  "message": "java.lang.Exception: Unable to find the context flow name, and flow run id,
and user id for clusterId=ats, appId=application_1553258815132_0005",
  "javaClassName": "org.apache.hadoop.yarn.webapp.NotFoundException"
}
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message