You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Yesha Vora (JIRA)" <ji...@apache.org> on 2018/01/24 06:31:00 UTC

[jira] [Created] (YARN-7805) Yarn should update container as failed on docker container failure

Yesha Vora created YARN-7805:
--------------------------------

             Summary: Yarn should update container as failed on docker container failure
                 Key: YARN-7805
                 URL: https://issues.apache.org/jira/browse/YARN-7805
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Yesha Vora


Steps:

Start hbase yarn service example on docker
when Hbase master fails, it lead the master daemon docker to fail.

{code}
[root@xx bin]# docker ps -a
CONTAINER ID        IMAGE                                                             COMMAND                  CREATED             STATUS                     PORTS               NAMES
a57303b1a736        xxxxx/xxxhbase:x.x.x.x.0.0.0   "bash /grid/0/hadoop/"   5 minutes ago       Exited (1) 4 minutes ago                       container_e07_1516734339938_0018_01_000002
[root@xxx bin]# docker exec -it a57303b1a736 bash
Error response from daemon: Container a57303b1a7364a733428ec76581368253e5a701560a510204b8c302e3bbeed26 is not running
{code}

Expected behavior:
Yarn should mark this container as failed and start new docker container

Actual behavior:
Yarn did not capture that container is failed. It kept showing container status as Running.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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