[jira] [Updated] (YARN-8407) Container launch exception in AM log should be printed in ERROR level
[ https://issues.apache.org/jira/browse/YARN-8407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wangda Tan updated YARN-8407: - Target Version/s: 3.2.0, 3.1.2 > Container launch exception in AM log should be printed in ERROR level > - > > Key: YARN-8407 > URL: https://issues.apache.org/jira/browse/YARN-8407 > Project: Hadoop YARN > Issue Type: Bug >Reporter: Yesha Vora >Assignee: Yesha Vora >Priority: Major > Attachments: YARN-8407.001.patch, YARN-8407.002.patch, > YARN-8407.003.patch > > > when a container launch is failing due to docker image not available is > logged as INFO level in AM log. > Container launch failure should be logged as ERROR. > Steps: > launch httpd yarn-service application with invalid docker image > > {code:java} > 2018-06-07 01:51:32,966 [Component dispatcher] INFO > instance.ComponentInstance - [COMPINSTANCE httpd-0 : > container_e05_1528335963594_0001_01_02]: > container_e05_1528335963594_0001_01_02 completed. Reinsert back to > pending list and requested a new container. > exitStatus=-1, diagnostics=[2018-06-07 01:51:02.363]Exception from > container-launch. > Container id: container_e05_1528335963594_0001_01_02 > Exit code: 7 > Exception message: Launch container failed > Shell error output: Unable to find image 'xxx/httpd:0.1' locally > Trying to pull repository xxx/httpd ... > /usr/bin/docker-current: Get https://xxx/v1/_ping: dial tcp: lookup xxx on > yyy: no such host. > See '/usr/bin/docker-current run --help'. > Shell output: main : command provided 4 > main : run as user is hbase > main : requested yarn user is hbase > Creating script paths... > Creating local dirs... > Getting exit code file... > Changing effective user to root... > Wrote the exit code 7 to > /grid/0/hadoop/yarn/local/nmPrivate/application_1528335963594_0001/container_e05_1528335963594_0001_01_02/container_e05_1528335963594_0001_01_02.pid.exitcode > [2018-06-07 01:51:02.393]Diagnostic message from attempt : > [2018-06-07 01:51:02.394]Container exited with a non-zero exit code 7. Last > 4096 bytes of stderr.txt : > [2018-06-07 01:51:32.428]Could not find > nmPrivate/application_1528335963594_0001/container_e05_1528335963594_0001_01_02//container_e05_1528335963594_0001_01_02.pid > in any of the directories > 2018-06-07 01:51:32,966 [Component dispatcher] INFO > instance.ComponentInstance - [COMPINSTANCE httpd-0 : > container_e05_1528335963594_0001_01_02] Transitioned from STARTED to INIT > on STOP event{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-8407) Container launch exception in AM log should be printed in ERROR level
[ https://issues.apache.org/jira/browse/YARN-8407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yesha Vora updated YARN-8407: - Attachment: YARN-8407.003.patch > Container launch exception in AM log should be printed in ERROR level > - > > Key: YARN-8407 > URL: https://issues.apache.org/jira/browse/YARN-8407 > Project: Hadoop YARN > Issue Type: Bug >Reporter: Yesha Vora >Assignee: Yesha Vora >Priority: Major > Attachments: YARN-8407.001.patch, YARN-8407.002.patch, > YARN-8407.003.patch > > > when a container launch is failing due to docker image not available is > logged as INFO level in AM log. > Container launch failure should be logged as ERROR. > Steps: > launch httpd yarn-service application with invalid docker image > > {code:java} > 2018-06-07 01:51:32,966 [Component dispatcher] INFO > instance.ComponentInstance - [COMPINSTANCE httpd-0 : > container_e05_1528335963594_0001_01_02]: > container_e05_1528335963594_0001_01_02 completed. Reinsert back to > pending list and requested a new container. > exitStatus=-1, diagnostics=[2018-06-07 01:51:02.363]Exception from > container-launch. > Container id: container_e05_1528335963594_0001_01_02 > Exit code: 7 > Exception message: Launch container failed > Shell error output: Unable to find image 'xxx/httpd:0.1' locally > Trying to pull repository xxx/httpd ... > /usr/bin/docker-current: Get https://xxx/v1/_ping: dial tcp: lookup xxx on > yyy: no such host. > See '/usr/bin/docker-current run --help'. > Shell output: main : command provided 4 > main : run as user is hbase > main : requested yarn user is hbase > Creating script paths... > Creating local dirs... > Getting exit code file... > Changing effective user to root... > Wrote the exit code 7 to > /grid/0/hadoop/yarn/local/nmPrivate/application_1528335963594_0001/container_e05_1528335963594_0001_01_02/container_e05_1528335963594_0001_01_02.pid.exitcode > [2018-06-07 01:51:02.393]Diagnostic message from attempt : > [2018-06-07 01:51:02.394]Container exited with a non-zero exit code 7. Last > 4096 bytes of stderr.txt : > [2018-06-07 01:51:32.428]Could not find > nmPrivate/application_1528335963594_0001/container_e05_1528335963594_0001_01_02//container_e05_1528335963594_0001_01_02.pid > in any of the directories > 2018-06-07 01:51:32,966 [Component dispatcher] INFO > instance.ComponentInstance - [COMPINSTANCE httpd-0 : > container_e05_1528335963594_0001_01_02] Transitioned from STARTED to INIT > on STOP event{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-8407) Container launch exception in AM log should be printed in ERROR level
[ https://issues.apache.org/jira/browse/YARN-8407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yesha Vora updated YARN-8407: - Attachment: YARN-8407.002.patch > Container launch exception in AM log should be printed in ERROR level > - > > Key: YARN-8407 > URL: https://issues.apache.org/jira/browse/YARN-8407 > Project: Hadoop YARN > Issue Type: Bug >Reporter: Yesha Vora >Assignee: Yesha Vora >Priority: Major > Attachments: YARN-8407.001.patch, YARN-8407.002.patch > > > when a container launch is failing due to docker image not available is > logged as INFO level in AM log. > Container launch failure should be logged as ERROR. > Steps: > launch httpd yarn-service application with invalid docker image > > {code:java} > 2018-06-07 01:51:32,966 [Component dispatcher] INFO > instance.ComponentInstance - [COMPINSTANCE httpd-0 : > container_e05_1528335963594_0001_01_02]: > container_e05_1528335963594_0001_01_02 completed. Reinsert back to > pending list and requested a new container. > exitStatus=-1, diagnostics=[2018-06-07 01:51:02.363]Exception from > container-launch. > Container id: container_e05_1528335963594_0001_01_02 > Exit code: 7 > Exception message: Launch container failed > Shell error output: Unable to find image 'xxx/httpd:0.1' locally > Trying to pull repository xxx/httpd ... > /usr/bin/docker-current: Get https://xxx/v1/_ping: dial tcp: lookup xxx on > yyy: no such host. > See '/usr/bin/docker-current run --help'. > Shell output: main : command provided 4 > main : run as user is hbase > main : requested yarn user is hbase > Creating script paths... > Creating local dirs... > Getting exit code file... > Changing effective user to root... > Wrote the exit code 7 to > /grid/0/hadoop/yarn/local/nmPrivate/application_1528335963594_0001/container_e05_1528335963594_0001_01_02/container_e05_1528335963594_0001_01_02.pid.exitcode > [2018-06-07 01:51:02.393]Diagnostic message from attempt : > [2018-06-07 01:51:02.394]Container exited with a non-zero exit code 7. Last > 4096 bytes of stderr.txt : > [2018-06-07 01:51:32.428]Could not find > nmPrivate/application_1528335963594_0001/container_e05_1528335963594_0001_01_02//container_e05_1528335963594_0001_01_02.pid > in any of the directories > 2018-06-07 01:51:32,966 [Component dispatcher] INFO > instance.ComponentInstance - [COMPINSTANCE httpd-0 : > container_e05_1528335963594_0001_01_02] Transitioned from STARTED to INIT > on STOP event{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-8407) Container launch exception in AM log should be printed in ERROR level
[ https://issues.apache.org/jira/browse/YARN-8407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yesha Vora updated YARN-8407: - Attachment: YARN-8407.001.patch > Container launch exception in AM log should be printed in ERROR level > - > > Key: YARN-8407 > URL: https://issues.apache.org/jira/browse/YARN-8407 > Project: Hadoop YARN > Issue Type: Bug >Reporter: Yesha Vora >Assignee: Yesha Vora >Priority: Major > Attachments: YARN-8407.001.patch > > > when a container launch is failing due to docker image not available is > logged as INFO level in AM log. > Container launch failure should be logged as ERROR. > Steps: > launch httpd yarn-service application with invalid docker image > > {code:java} > 2018-06-07 01:51:32,966 [Component dispatcher] INFO > instance.ComponentInstance - [COMPINSTANCE httpd-0 : > container_e05_1528335963594_0001_01_02]: > container_e05_1528335963594_0001_01_02 completed. Reinsert back to > pending list and requested a new container. > exitStatus=-1, diagnostics=[2018-06-07 01:51:02.363]Exception from > container-launch. > Container id: container_e05_1528335963594_0001_01_02 > Exit code: 7 > Exception message: Launch container failed > Shell error output: Unable to find image 'xxx/httpd:0.1' locally > Trying to pull repository xxx/httpd ... > /usr/bin/docker-current: Get https://xxx/v1/_ping: dial tcp: lookup xxx on > yyy: no such host. > See '/usr/bin/docker-current run --help'. > Shell output: main : command provided 4 > main : run as user is hbase > main : requested yarn user is hbase > Creating script paths... > Creating local dirs... > Getting exit code file... > Changing effective user to root... > Wrote the exit code 7 to > /grid/0/hadoop/yarn/local/nmPrivate/application_1528335963594_0001/container_e05_1528335963594_0001_01_02/container_e05_1528335963594_0001_01_02.pid.exitcode > [2018-06-07 01:51:02.393]Diagnostic message from attempt : > [2018-06-07 01:51:02.394]Container exited with a non-zero exit code 7. Last > 4096 bytes of stderr.txt : > [2018-06-07 01:51:32.428]Could not find > nmPrivate/application_1528335963594_0001/container_e05_1528335963594_0001_01_02//container_e05_1528335963594_0001_01_02.pid > in any of the directories > 2018-06-07 01:51:32,966 [Component dispatcher] INFO > instance.ComponentInstance - [COMPINSTANCE httpd-0 : > container_e05_1528335963594_0001_01_02] Transitioned from STARTED to INIT > on STOP event{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org