数据治理中心 DATAARTS STUDIO-Shell/Python节点执行失败,后台报错session is down:原因分析

时间:2024-12-03 19:54:18

原因分析

  1. 获取Shell节点的运行日志。
    [2021/11/17 02:00:36 GMT+0800] [INFO] No job-level agency is set, Workspace-level agency is dlg_agency, Execute job use agency dlg_agency, job id is 07572F197E4642E5BE549C2B656F157Ctm7cHkHd
    [2021/11/17 02:00:36 GMT+0800] [DEBUG] ===============================================
    [2021/11/17 02:00:36 GMT+0800] [INFO] Get response from agent when try to submit shell running job :
    [2021/11/17 02:00:36 GMT+0800] [INFO]
    {
    "jobResultList":[
    {
    "jobId":"a567f7f5-3c9e-4dfc-a464-bd477ac5b1ea",
    "status":"created",
    "errorCode":0,
    "failCount":0,
    "result":[
    
    ]
    }
    ],
    "agentId":"614853ee-c1c6-456d-9aa6-fc84ad1281ed"
    }
    [2021/11/17 02:00:36 GMT+0800] [DEBUG] ===============================================
    [2021/11/17 02:05:56 GMT+0800] [DEBUG] ===============================================
    [2021/11/17 02:05:56 GMT+0800] [INFO] Job Run finish , the raw output is :
    [2021/11/17 02:05:56 GMT+0800] [INFO]
    {
    "jobId":"a567f7f5-3c9e-4dfc-a464-bd477ac5b1ea",
    "status":"failed",
    "errorCode":3427,
    "errorMessage":"Shell script job execute failed.",
    "failCount":0,
    "result":[
    {
    "is_success":false,
    "exeTime":300.609
    }
    ]
    }
    [2021/11/17 02:05:56 GMT+0800] [DEBUG] ===============================================
    [2021/11/17 02:05:56 GMT+0800] [DEBUG] ===============================================
    [2021/11/17 02:05:56 GMT+0800] [INFO] The return code is : [-1].
    [2021/11/17 02:05:56 GMT+0800] [DEBUG] ===============================================
    [2021/11/17 02:05:56 GMT+0800] [INFO] Execute shell script job finished.
    [2021/11/17 02:05:56 GMT+0800] [ERROR] Shell exit code is not 0
    [2021/11/17 02:05:56 GMT+0800] [DEBUG] ===============================================
    [2021/11/17 02:05:56 GMT+0800] [ERROR] Shell script job execute failed. Please contact E CS  Service.
    [2021/11/17 02:05:56 GMT+0800] [ERROR] Exception message: RuntimeException: Shell script job execute failed. Please contact ECS Service.
    [2021/11/17 02:05:56 GMT+0800] [ERROR] Root Cause message:RuntimeException: Shell script job execute failed. Please contact ECS Service.
  2. 确认其ECS的sshd_config参数如下。

    原因分析:由于ssh session超时断开了,因此Shell节点失败。

support.huaweicloud.com/dataartsstudio_faq/dataartsstudio_03_0618.html