hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun Suresh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6306) NMClient API change for container upgrade
Date Fri, 12 May 2017 17:40:04 GMT

    [ https://issues.apache.org/jira/browse/YARN-6306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16008450#comment-16008450
] 

Arun Suresh commented on YARN-6306:
-----------------------------------

bq. The NMClient#getNodeId API may cause confusion to users as it only works for cached containers.
Yeah, the method name might be misleading. I'd prefer having it a public API, but change the
name to maybe something like {{getNodeIdOfStartedContainer()}}

bq.  I had one thought long time ago, do you think it's good to put NodeId as part of ContainerId.
Definitely an interesting thought. Would drastically help with debugging - since it you wouldnt
have to corelate with the logs. But on the downside, we might have upgrade issues.. but if
we push that as part of 3.0, maybe we won't have too much of a problem (since we don't guarantee
major release rollback compatibility)

Will fix the rest of the issues.

> NMClient API change for container upgrade
> -----------------------------------------
>
>                 Key: YARN-6306
>                 URL: https://issues.apache.org/jira/browse/YARN-6306
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Jian He
>            Assignee: Arun Suresh
>         Attachments: YARN-6306.001.patch
>
>
> This JIRA is track the addition of Upgrade API (Re-Initialize, Restart, Rollback and
Commit) to the NMClient and NMClientAsync



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message