[ https://issues.apache.org/jira/browse/YARN-808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13955438#comment-13955438 ]
Bikas Saha commented on YARN-808: --------------------------------- We should atleast change the app report response to include invalid value of host and port in the response when there host and port are not ready. Currently we return a value of "N/A" for host which is confusing since the non-null string could be a valid host. We should return null for host and some -ve number for the port. > ApplicationReport does not clearly tell that the attempt is running or not > -------------------------------------------------------------------------- > > Key: YARN-808 > URL: https://issues.apache.org/jira/browse/YARN-808 > Project: Hadoop YARN > Issue Type: Bug > Affects Versions: 2.1.0-beta > Reporter: Bikas Saha > Assignee: Xuan Gong > Attachments: YARN-808.1.patch > > > When an app attempt fails and is being retried, ApplicationReport immediately > gives the new attemptId and non-null values of host etc. There is no way for > clients to know that the attempt is running other than connecting to it and > timing out on invalid host. Solution would be to expose the attempt state or > return a null value for host instead of "N/A" -- This message was sent by Atlassian JIRA (v6.2#6252)