[ https://issues.apache.org/jira/browse/YARN-8867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16750495#comment-16750495
]
Eric Yang commented on YARN-8867:
---------------------------------
[~csingh] Thanks for the patch 007. {code}public ProviderService.ResolvedLaunchParams call()
{ {code} . This method may return null when service fails to launch. It would be good to
change the return null to return a failed state. This ensure the output does not container
null string and caller handles the null pointer gracefully.
> 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.001.patch, YARN-8867.002.patch, YARN-8867.003.patch, YARN-8867.004.patch,
YARN-8867.005.patch, YARN-8867.006.patch, YARN-8867.007.patch, 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org
|