admin 管理员组

文章数量: 1086019

spark-notebook:
    image: bde2020/spark-notebook:2.1.0-hadoop2.8-hive
    container_name: spark-notebook
    restart: on-failure:5
    command: sh -c "rm -f /opt/spark-notebook/RUNNING_PID && /opt/spark-notebook/bin/spark-notebook"
    env_file:
      - ./hadoop-hive.env
    ports:
      - 9001:9001

when i try to run the container for the first time without the command sh -c "rm -f /opt/spark-notebook/RUNNING_PID && /opt/spark-notebook/bin/spark-notebook" , it work but for the second time it give me "This application is already running (Or delete /opt/spark-notebook/RUNNING_PID file)" , for that i tried this command but it gived me rm: missing operand The "rm: missing operand" error is not triggered when running the command manually

本文标签:

Error[2]: Invalid argument supplied for foreach(), File: /www/wwwroot/roclinux.cn/tmp/view_template_quzhiwa_htm_read.htm, Line: 58
File: /www/wwwroot/roclinux.cn/tmp/route_read.php, Line: 205, include(/www/wwwroot/roclinux.cn/tmp/view_template_quzhiwa_htm_read.htm)
File: /www/wwwroot/roclinux.cn/tmp/index.inc.php, Line: 129, include(/www/wwwroot/roclinux.cn/tmp/route_read.php)
File: /www/wwwroot/roclinux.cn/index.php, Line: 29, include(/www/wwwroot/roclinux.cn/tmp/index.inc.php)