hi ,all

I am planning to launch MapReduce applications with docker support on
Hadoop-3.0.0-alpha2.

But, when I execute ./bin/container-executor which is used by Hadoop to
launch secured containers. I get:

*Usage: container-executor --checksetup*
*       container-executor --mount-cgroups <hierarchy> <controller=path>...*
*[DISABLED] container-executor --tc-modify-state <command-file>*
*[DISABLED] container-executor --tc-read-state <command-file>*
*[DISABLED] container-executor --tc-read-stats <command-file>*
*[DISABLED] container-executor --run-docker <command-file>*
*       container-executor <user> <yarn-user> <command> <command-args>*
*       where command and command-args: *
*            initialize container:   0 appid tokens nm-local-dirs
nm-log-dirs cmd app...*
*            launch container:       1 appid containerid workdir
container-script tokens pidfile nm-local-dirs nm-log-dirs resources *
*[DISABLED]  launch docker container:       4 appid containerid workdir
container-script tokens pidfile nm-local-dirs nm-log-dirs
docker-command-file resources *
*            signal container:       2 container-pid signal*
*            delete as user:         3 relative-path*
*            list as user:           5 relative-path*



Clearly, the container-executor --run-docker is disabled by default. My
question is how to enable this option via building option/configuration
option ?


Appreciate anyone's help!

Wei

Reply via email to