Build #1,496

Build: #1496 failed Child of CDAP-DRC-5435

Code commits

caskdata/cdap

  • wyzhang <wyzhang@google.com>

    wyzhang <wyzhang@google.com> 5ad3db6a1de41f704c2e9e5c6ba9b5a0db789f64

    Merge pull request #13413 from cdapio/feature/CDAP-18010/wyzhang-pod-isolation-artifact-part1
    CDAP-18010: Run artifact inspection in isolation.

  • wyzhang <wyzhang@google.com>

    wyzhang <wyzhang@google.com> d6838da9f9c23c24848078cc4cb6b2ab53371b1c

    CDAP-18010: Run artifact inspection in isolation.
    Part 1: Add an endpoint in task worker to allow submit tasks via query params.
    Part 2: Allow new endpoint to allow uploading a file which is made
            available for task runnable via RunnableTaskContext

    Why:
    Artifact inspection takes places right after upload completes, it resides
    in a temp dir in appfab. To run artifact inspection in worker pod, appfab
    needs to send file over. Current rest endpoint "/run" use request body
    to store task specification, which makes it challenging to send file
    as well. Thus introducing a new endpoint to specify task specifiction
    via query parameter, then file content can be streamed over via
    request body.

    • cdap-app-fabric/src/main/java/io/cdap/cdap/internal/app/worker/RunnableTaskLauncher.java (version d6838da9f9c23c24848078cc4cb6b2ab53371b1c)
    • cdap-app-fabric/src/main/java/io/cdap/cdap/internal/app/worker/TaskWorkerHttpHandlerInternal.java (version d6838da9f9c23c24848078cc4cb6b2ab53371b1c)
    • cdap-app-fabric/src/test/java/io/cdap/cdap/internal/app/worker/RunnableTaskLauncherTest.java (version d6838da9f9c23c24848078cc4cb6b2ab53371b1c)
    • cdap-app-fabric/src/test/java/io/cdap/cdap/internal/app/worker/TaskWorkerServiceTest.java (version d6838da9f9c23c24848078cc4cb6b2ab53371b1c)
    • cdap-common/src/main/java/io/cdap/cdap/common/internal/worker/RunnableTaskContext.java (version d6838da9f9c23c24848078cc4cb6b2ab53371b1c)