diff --git a/src/rest-server/src/templates/yarnContainerScript.mustache b/src/rest-server/src/templates/yarnContainerScript.mustache index af7dc4dc51..898835a0e5 100644 --- a/src/rest-server/src/templates/yarnContainerScript.mustache +++ b/src/rest-server/src/templates/yarnContainerScript.mustache @@ -232,7 +232,7 @@ fi # Prepare docker debug log log_dir="tmp/pai-root/log" mkdir -p $log_dir -ln -s $log_dir/DockerContainerDebug.log $LAUNCHER_LOG_DIR/DockerContainerDebug.log +ln -s /$LOCAL_DIRS/$CONTAINER_ID/$log_dir/DockerContainerDebug.log $LAUNCHER_LOG_DIR/DockerContainerDebug.log # copy the hadoop configuration file hadoop_config_dir="hadoop_config"