hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Saxena (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6726) Fix issues with docker commands executed by container-executor
Date Tue, 12 Sep 2017 17:24:00 GMT

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

Varun Saxena commented on YARN-6726:
------------------------------------

[~leftnoteasy], this seems to break compilation in branch-2
{noformat}
[WARNING] make[2]: Leaving directory `/home/root1/Projects/Branch2/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/native'
[WARNING] make[1]: Leaving directory `/home/root1/Projects/Branch2/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/native'
[WARNING] /home/root1/Projects/Branch2/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/utils/string-utils.c:
In function ‘all_numbers’:
[WARNING] /home/root1/Projects/Branch2/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/utils/string-utils.c:33:3:
error: ‘for’ loop initial declarations are only allowed in C99 mode
[WARNING]    for (int i = 0; i < strlen(input); i++) {
[WARNING]    ^
[WARNING] /home/root1/Projects/Branch2/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/utils/string-utils.c:33:3:
note: use option -std=c99 or -std=gnu99 to compile your code
[WARNING] make[2]: *** [CMakeFiles/container.dir/main/native/container-executor/impl/utils/string-utils.c.o]
Error 1
[WARNING] make[2]: *** Waiting for unfinished jobs....
[WARNING] /home/root1/Projects/Branch2/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c:
In function ‘tokenize_docker_command’:
[WARNING] /home/root1/Projects/Branch2/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c:1193:7:
warning: unused variable ‘c’ [-Wunused-variable]
[WARNING]    int c = 0;
[WARNING]        ^
[WARNING] make[1]: *** [CMakeFiles/container.dir/all] Error 2
[WARNING] make: *** [all] Error 2
{noformat}

YARN-5719 does not exist in branch-2. Should it be in branch-2 too?

> Fix issues with docker commands executed by container-executor
> --------------------------------------------------------------
>
>                 Key: YARN-6726
>                 URL: https://issues.apache.org/jira/browse/YARN-6726
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>            Reporter: Shane Kumpf
>            Assignee: Shane Kumpf
>             Fix For: 2.9.0, 3.0.0-beta1
>
>         Attachments: YARN-6726.001.patch, YARN-6726.002.patch, YARN-6726.003.patch
>
>
> docker inspect, rm, stop, etc are issued through container-executor. Commands other than
docker run are not functioning properly.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
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