[
https://issues.apache.org/jira/browse/YARN-8867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16670503#comment-16670503
]
Chandni Singh commented on YARN-8867:
-------------------------------------
{quote}
Is this status going to show up in Yarn Service JSON or some other mechanism to
surface to the end user?
{quote}
Didn't have any plans yet to expose this in Yarn Service JSON. It will be used
by the Service AM to find out when the localization is complete. We can expose
it in the Yarn Service JSON when the need arises.
{quote}
The status definition may also include a state for not yet started, like
PENDING.
{quote}
Right now I was using the information in {{ResourceSet}} class. All the
resources in {{pendingResources}} had state marked as {{IN_PROGRESS}}. In order
to differentiate further between resources for which localization has started
and the ones which are queued, will have to extract the information from
{{ResourceLocalizationService}}.
> Retrieve the status of resource localization
> --------------------------------------------
>
> Key: YARN-8867
> URL: https://issues.apache.org/jira/browse/YARN-8867
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: yarn
> Reporter: Chandni Singh
> Assignee: Chandni Singh
> Priority: Major
> Attachments: YARN-8867.wip.patch
>
>
> Refer YARN-3854.
> Currently NM does not have an API to retrieve the status of localization.
> Unless the client can know when the localization of a resource is complete
> irrespective of the type of the resource, it cannot take any appropriate
> action.
> We need an API in {{ContainerManagementProtocol}} to retrieve the status on
> the localization.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]