• DataxWeb运行报错“/usr/bin/python: can't find '__main__' module in ''”


    vi /usr/local/datax-web/modules/datax-executor/bin/datax-executor.sh 
    修改JAVA_OPTS=${JAVA_OPTS}" -Dserver.port="${SERVER_PORT}" -Ddata.path="${DATA_PATH}" -Dexecutor.port="${EXECUTOR_PORT}" -Djson.path="${JSON_PATH}" -Dpython.path="${PYTHON_PATH}" -Ddatax.admin.port="${DATAX_ADMIN_PORT} 
    为:JAVA_OPTS=${JAVA_OPTS}" -Dserver.port="${SERVER_PORT}" -Ddata.path="${DATA_PATH}" -Dexecutor.port="${EXECUTOR_PORT}" -Djson.path="${JSON_PATH}" -Dpython.path="/usr/local/datax/bin/datax.py" -Ddatax.admin.port="${DATAX_ADMIN_PORT}   
    
    -- 或者 
    vi /usr/local/datax-web/modules/datax-executor/bin/env.properties PYTHON_PATH=/usr/local/datax/bin/datax.py   
    
    -- 然后重启 
    /usr/local/datax-web/bin/stop-all.sh 
    /usr/local/datax-web/bin/start-all.sh
  • 相关阅读:
    K8S calico
    K9S之glusterfs
    kubeadm安装报错
    创建crd和cr
    分布式学习汇总
    容器常见问题分析
    项目迁移到k8s平台流程
    K8S storageclass
    awk命令
    K8S headless service服务详解
  • 原文地址:https://www.cnblogs.com/kgdxpr/p/16787715.html
Copyright © 2020-2023  润新知