You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Wangda Tan (JIRA)" <ji...@apache.org> on 2016/06/09 22:05:21 UTC

[jira] [Comment Edited] (YARN-1942) Many of ConverterUtils methods need to have public interfaces

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

Wangda Tan edited comment on YARN-1942 at 6/9/16 10:04 PM:
-----------------------------------------------------------

MAPREDUCE-6682 tracks TestMRCJCFileOutputCommitter failures
MAPREDUCE-6625 tracks TestCLI#testGetJob failures
MAPREDUCE-6702 tracks TestMiniMRChildTask failures
YARN-5228 tracks TestDistributedScheduling failures

Other test fails are all known failures caused by network resolving.


was (Author: leftnoteasy):
MAPREDUCE-6682 tracks TestMRCJCFileOutputCommitter failures
MAPREDUCE-6625 tracks TestCLI#testGetJob failures
MAPREDUCE-6702 tracks TestMiniMRChildTask failures
YARN-5228 tracks TestDistributedScheduling failures

> Many of ConverterUtils methods need to have public interfaces
> -------------------------------------------------------------
>
>                 Key: YARN-1942
>                 URL: https://issues.apache.org/jira/browse/YARN-1942
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: api
>    Affects Versions: 2.4.0
>            Reporter: Thomas Graves
>            Assignee: Wangda Tan
>            Priority: Critical
>         Attachments: YARN-1942-branch-2.0012.patch, YARN-1942.1.patch, YARN-1942.10.patch, YARN-1942.11.patch, YARN-1942.12.patch, YARN-1942.13.patch, YARN-1942.2.patch, YARN-1942.3.patch, YARN-1942.4.patch, YARN-1942.5.patch, YARN-1942.6.patch, YARN-1942.8.patch, YARN-1942.9.patch
>
>
> ConverterUtils has a bunch of functions that are useful to application masters.   It should either be made public or we make some of the utilities in it public or we provide other external apis for application masters to use.  Note that distributedshell and MR are both using these interfaces. 
> For instance the main use case I see right now is for getting the application attempt id within the appmaster:
> String containerIdStr =
>           System.getenv(Environment.CONTAINER_ID.name());
> ConverterUtils.toContainerId
> ContainerId containerId = ConverterUtils.toContainerId(containerIdStr);
>       ApplicationAttemptId applicationAttemptId =
>           containerId.getApplicationAttemptId();
> I don't see any other way for the application master to get this information.  If there is please let me know.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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