[ https://issues.apache.org/jira/browse/YARN-3876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15301016#comment-15301016 ]
Allen Wittenauer commented on YARN-3876: ---------------------------------------- Is there any reason to not just call realpath(argv[0] from within main? Then it should work everyone POSIX does. > get_executable() assumes everything is Linux > -------------------------------------------- > > Key: YARN-3876 > URL: https://issues.apache.org/jira/browse/YARN-3876 > Project: Hadoop YARN > Issue Type: Sub-task > Components: build > Affects Versions: 2.7.0 > Reporter: Alan Burlison > Assignee: Alan Burlison > Fix For: 3.0.0-alpha1 > > Attachments: YARN-3876.001.patch, YARN-3876.002.patch, > YARN-3876.003.patch > > > get_executable() in container-executor.c is non-portable and is hard-coded to > assume Linux's /proc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org