On 8 July 2014 23:39, Rui Zhang <[email protected]> wrote:

> Hi,
>
> I have some basic questions.
>
> Suppose Yarn allocate two containers for me, and they live on machine A
> and B. If on machine A, in the python script of the tar ball, I run ssh to
> execute a command on machine B remotely. Then the command on machine B will
> start some processes remotely on the machine A. Will these processes be
> running in the container on machine A or not?
>

I don't think so. The only way you'd get that is if a container in each
process ran something which received commands on what to exec.

This is exactly what our little python agents do, of course -they just do
it to launch their own applications, as controlled by the central App
Master rather than the more distributed deployment you are talking about.




>
> Thanks
>
> --
> Rui Zhang
> Software engineer Intern
> Vertica, an HP Company
> [email protected]
>
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Reply via email to