getJobExecutionById
    • PDF

    getJobExecutionById

    • PDF

    記事の要約

    ジョブの実行結果を照会します。

    GET https://dataflow.apigw.ntruss.com/api/v1/jobs/{jobId}/executions/{executionId}
    

    リクエスト

    リクエストパラメータ

    パラメータ名必須の有無タイプ制限事項説明
    jobIdYesStringジョブ ID
    executionIdYesStringジョブ実行 ID

    レスポンス

    フィールド名タイプ説明備考
    jobIdStringジョブ ID
    jobNameStringジョブ名
    jobExecutionIdStringジョブ実行 ID
    triggerIdStringトリガー ID
    triggerNameStringトリガー名
    statusStringジョブの状態
    jobCondition.workerTypeStringWorkerタイプ
    jobCondition.numWorkerNumberWorker数
    jobCondition.timeoutNumber実行タイムアウト
    jobCondition.nrnStringポリシー NRN
    jobCondition.scriptPathString実行スクリプトの保存パス
    jobCondition.logPathString実行ログの保存パス
    waitingTimeNumberジョブ待ち時間
    runningTimeNumberジョブの実行時間
    executorNumNumberジョブ Worker数
    parsedParametersObject変換されたパラメータ
    createdDateStringジョブ作成日
    startDateStringジョブ実行日
    endDateStringジョブ実行終了日

    レスポンスステータス

    HTTP StatusDesc
    200OK(照会完了)
    400Bad Request
    401Unauthorized
    403Forbidden
    404Not Found
    500Internal Server Error

    リクエスト例

    GET /api/v1/jobs/5Yns7JgRt25f/executions/4Yz7GaZjhqBq
    
    Host: dataflow.apigw.ntruss.com
    x-ncp-iam-access-key: {Access key}
    x-ncp-apigw-signature-v2: {API GW signature}
    x-ncp-apigw-timestamp: {timestamp}
    
    
    

    レスポンス例

      {
          "jobExecutionId": "mY3275GiRXkm",
          "jobId": "5Yns7JgRt25f",
          "jobCondition": {
            "workerType": "DEFAULT",
            "numWorker": 3,
            "timeout": 360,
            "nrn": "nrn:PUB:IAM::25****4:Role/****-a9d6-****-a85d-246e96592200",
            "scriptPath": "dataflow-33-****/scripts/",
            "logPath": "dataflow-33-****/sparkHistoryLogs/"
          },
          "status": "COMPLETED",
          "startDate": "2024-08-07T17:34:31+09:00",
          "endDate": "2024-08-07T17:36:12+09:00",
          "createdDate": "2024-08-07T17:34:31+09:00",
          "triggerId": "",
          "jobName": "ndjson",
          "waitingTime": 17,
          "executorNum": 2,
          "runningTime": 46,
          "parsedParameters": [
            {
              "nodeType": "SOURCE",
              "nodeName": "obs",
              "key": "$abc",
              "value": "abcd/"
            }
          ]
        }
    

    この記事は役に立ちましたか?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.