Qihoo360 / hbox

AI on Hadoop
Apache License 2.0
1.73k stars 385 forks source link

Support docker runtime on yarn in xleanrning #59

Closed lshmouse closed 5 months ago

lshmouse commented 5 years ago

Support docker runtime on yarn in xleanrning with following configs in xlearning-site.xml

  <property>                                                                                                                
    <name>yarn.app.xlearning.am.env</name>                                                                                  
    <value>YARN_CONTAINER_RUNTIME_TYPE=docker,YARN_CONTAINER_RUNTIME_DOCKER_IMAGE=tensorflow/tensorflow:1.12.0</value>
  </property>                                                                                                               

  <property>                                                                                                                
    <name>yarn.app.xlearning.container.env</name>                                                                           
    <value>YARN_CONTAINER_RUNTIME_TYPE=docker,YARN_CONTAINER_RUNTIME_DOCKER_IMAGE=tensorflow/tensorflow:1.12.0</value>
  </property> 
jiayuhan-it commented 5 months ago

已支持