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작업 실행 종료일

    응답 Status

    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.