[jira] [Commented] (SLIDER-917) Slider agent failed to launch Docker container and stay in INSTALLING state forever

2015-07-17 Thread thomas liu (JIRA)

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

thomas liu commented on SLIDER-917:
---

Correct. Slider 916 will fix this. 

> Slider agent failed to launch Docker container and stay in INSTALLING state 
> forever
> ---
>
> Key: SLIDER-917
> URL: https://issues.apache.org/jira/browse/SLIDER-917
> Project: Slider
>  Issue Type: Bug
>  Components: agent
>Affects Versions: Slider 0.80
>Reporter: Chen He
>
> "/tmp/hadoop/yarn/local/usercache/userX/appcache/application_1436832619584_0029/filecache/10/slider-agent.tar.gz/slider-agent/agent/DockerManager.py",
>  li
> ne 81, in execute_command_on_linux
> proc = subprocess.Popen(docker_command, stdout = subprocess.PIPE)
>   File "/usr/lib64/python2.6/subprocess.py", line 642, in __init__
> errread, errwrite)
>   File "/usr/lib64/python2.6/subprocess.py", line 1234, in _execute_child
> raise child_exception
> OSError: [Errno 2] No such file or directory



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


[jira] [Updated] (SLIDER-917) Slider agent failed to launch Docker container and stay in INSTALLING state forever

2015-07-17 Thread Chen He (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLIDER-917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chen He updated SLIDER-917:
---
Summary: Slider agent failed to launch Docker container and stay in 
INSTALLING state forever  (was: Slider agent failed to launch Docker container 
and stay in INSTALLING state for ever)

> Slider agent failed to launch Docker container and stay in INSTALLING state 
> forever
> ---
>
> Key: SLIDER-917
> URL: https://issues.apache.org/jira/browse/SLIDER-917
> Project: Slider
>  Issue Type: Bug
>  Components: agent
>Affects Versions: Slider 0.80
>Reporter: Chen He
>
> "/tmp/hadoop/yarn/local/usercache/userX/appcache/application_1436832619584_0029/filecache/10/slider-agent.tar.gz/slider-agent/agent/DockerManager.py",
>  li
> ne 81, in execute_command_on_linux
> proc = subprocess.Popen(docker_command, stdout = subprocess.PIPE)
>   File "/usr/lib64/python2.6/subprocess.py", line 642, in __init__
> errread, errwrite)
>   File "/usr/lib64/python2.6/subprocess.py", line 1234, in _execute_child
> raise child_exception
> OSError: [Errno 2] No such file or directory



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


[jira] [Created] (SLIDER-917) Slider agent failed to launch Docker container and stay in INSTALLING state for ever

2015-07-17 Thread Chen He (JIRA)
Chen He created SLIDER-917:
--

 Summary: Slider agent failed to launch Docker container and stay 
in INSTALLING state for ever
 Key: SLIDER-917
 URL: https://issues.apache.org/jira/browse/SLIDER-917
 Project: Slider
  Issue Type: Bug
  Components: agent
Affects Versions: Slider 0.80
Reporter: Chen He


"/tmp/hadoop/yarn/local/usercache/userX/appcache/application_1436832619584_0029/filecache/10/slider-agent.tar.gz/slider-agent/agent/DockerManager.py",
 li
ne 81, in execute_command_on_linux
proc = subprocess.Popen(docker_command, stdout = subprocess.PIPE)
  File "/usr/lib64/python2.6/subprocess.py", line 642, in __init__
errread, errwrite)
  File "/usr/lib64/python2.6/subprocess.py", line 1234, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory



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


[jira] [Updated] (SLIDER-916) Fix Docker related bugs

2015-07-17 Thread thomas liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLIDER-916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

thomas liu updated SLIDER-916:
--
Attachment: application_pkg_docker.md

Previously the page was using a dummy application.
I rewrite the whole example, which is able to run.
Please review the new md here. Thank you!

> Fix Docker related bugs
> ---
>
> Key: SLIDER-916
> URL: https://issues.apache.org/jira/browse/SLIDER-916
> Project: Slider
>  Issue Type: Bug
>Affects Versions: Slider 0.80
>Reporter: thomas liu
>Assignee: thomas liu
> Fix For: Slider 0.81
>
> Attachments: SLIDER-916-001.patch, application_pkg_docker.md
>
>
> Following things needs to be taken care of on top of work done on SLIDER-780 -
> # add the missing line in AgentProviderService.java because of merge
> # make options optional in appConfig.json or metainfo.json
> # add the missing con as global var in Controller.py because of merge
> # container_id can use the whole container_id string provided by YARN
> # review the whole documentation of docker and fix issues



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


[jira] [Comment Edited] (SLIDER-916) Fix Docker related bugs

2015-07-17 Thread thomas liu (JIRA)

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

thomas liu edited comment on SLIDER-916 at 7/17/15 11:31 PM:
-

Patch of the code change
Will post a patch for doc only soon

Please review and then I will submit. thank you


was (Author: thomas_liu):
Patch of the code change
Will post a patch for doc only soon

> Fix Docker related bugs
> ---
>
> Key: SLIDER-916
> URL: https://issues.apache.org/jira/browse/SLIDER-916
> Project: Slider
>  Issue Type: Bug
>Affects Versions: Slider 0.80
>Reporter: thomas liu
>Assignee: thomas liu
> Fix For: Slider 0.81
>
> Attachments: SLIDER-916-001.patch
>
>
> Following things needs to be taken care of on top of work done on SLIDER-780 -
> # add the missing line in AgentProviderService.java because of merge
> # make options optional in appConfig.json or metainfo.json
> # add the missing con as global var in Controller.py because of merge
> # container_id can use the whole container_id string provided by YARN
> # review the whole documentation of docker and fix issues



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


[jira] [Updated] (SLIDER-916) Fix Docker related bugs

2015-07-17 Thread thomas liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLIDER-916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

thomas liu updated SLIDER-916:
--
Attachment: SLIDER-916-001.patch

Patch of the code change
Will post a patch for doc only soon

> Fix Docker related bugs
> ---
>
> Key: SLIDER-916
> URL: https://issues.apache.org/jira/browse/SLIDER-916
> Project: Slider
>  Issue Type: Bug
>Affects Versions: Slider 0.80
>Reporter: thomas liu
>Assignee: thomas liu
> Fix For: Slider 0.81
>
> Attachments: SLIDER-916-001.patch
>
>
> Following things needs to be taken care of on top of work done on SLIDER-780 -
> # add the missing line in AgentProviderService.java because of merge
> # make options optional in appConfig.json or metainfo.json
> # add the missing con as global var in Controller.py because of merge
> # container_id can use the whole container_id string provided by YARN
> # review the whole documentation of docker and fix issues



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