Build #2,110

Cask Data Application Platform - Develop Build and Test

Build: #2110 failed Child of CDAP-DRC-3694

Code commits

CDAP

  • albertshau <albert@cask.co>

    albertshau <albert@cask.co> 79bd1469f84d624e9ad9410e9e1a3e98777978a3

    Merge pull request #9976 from caskdata/feature/CDAP-13096-move-scheduler-out-prog-lifecycle
    CDAP-13096 move scheduler out of program lifecycle service

  • vinishavyasa <CuriousVini@users.noreply.github.com>

    vinishavyasa <CuriousVini@users.noreply.github.com> ad7defdb1667930308aeafb43f6bc24a70e43d02

    Merge pull request #9957 from caskdata/feature/runtime-monitor-service
    Adding first draft of polling service

  • Terence Yim

    Terence Yim f7ecfeec36027f2f4b967b410271fd2dd1977f23

    Merge pull request #9965 from caskdata/feature/CDAP-13143-recursive-schema
    (CDAP-13143) Supports recursive Schema correctly

  • Vinisha Shah

    Vinisha Shah a7c656b0666f3b375e33254104de7509995b4639 m

    Poll program status and publish to TMS using Runtime Monitor

    • cdap-app-fabric/pom.xml (version a7c656b0666f3b375e33254104de7509995b4639)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/app/runtime/monitor/MonitorConsumeRequest.java (version a7c656b0666f3b375e33254104de7509995b4639)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/app/runtime/monitor/MonitorMessage.java (version a7c656b0666f3b375e33254104de7509995b4639)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/app/runtime/monitor/RuntimeMonitor.java (version a7c656b0666f3b375e33254104de7509995b4639)
    • cdap-app-fabric/src/test/java/co/cask/cdap/app/runtime/monitor/RuntimeMonitorTest.java (version a7c656b0666f3b375e33254104de7509995b4639)
    • cdap-client/src/main/java/co/cask/cdap/client/util/RESTClient.java (version a7c656b0666f3b375e33254104de7509995b4639)
    • cdap-common/src/main/java/co/cask/cdap/common/conf/Constants.java (version a7c656b0666f3b375e33254104de7509995b4639)
    • cdap-common/src/main/resources/cdap-default.xml (version a7c656b0666f3b375e33254104de7509995b4639)
    • cdap-runtime-monitor/pom.xml (version a7c656b0666f3b375e33254104de7509995b4639)
    • cdap-runtime-monitor/src/main/java/co/cask/cdap/runtime/monitor/MonitorTopic.java (version a7c656b0666f3b375e33254104de7509995b4639)
    • cdap-runtime-monitor/src/main/java/co/cask/cdap/runtime/monitor/RuntimeMonitor.java (version a7c656b0666f3b375e33254104de7509995b4639)
    • cdap-runtime-monitor/src/test/java/co/cask/cdap/runtime/monitor/RuntimeMonitorTest.java (version a7c656b0666f3b375e33254104de7509995b4639)
    • pom.xml (version a7c656b0666f3b375e33254104de7509995b4639)
  • Terence Yim

    Terence Yim 0275d286a50f09b7618eb53ff42a0906b54341f6 m

    (CDAP-13143) Supports recursive Schema correctly

    • cdap-api-common/src/main/java/co/cask/cdap/api/data/schema/Schema.java (version 0275d286a50f09b7618eb53ff42a0906b54341f6)
    • cdap-common/src/test/java/co/cask/cdap/io/SchemaTest.java (version 0275d286a50f09b7618eb53ff42a0906b54341f6)
  • Albert Shau <albert@cask.co>

    Albert Shau <albert@cask.co> 40a93b8aab2ee55527492db9556bfeb1aa6296eb m

    CDAP-13096 move scheduler out of program lifecycle service
    Moving Scheduler out of ProgramLifecycleService to avoid a
    circular dependency chain with ProgramLifecycleService to
    CoreSchedulerService to ConstraintCheckerService back to
    ProgramLifecycleService.

    Also move direct usage of Scheduler that was taking place in the
    ProgramLifecycleHttpHandler into a new ProgramScheduleService.
    The remaining logic in the handler is validation of user input,
    transformation of user string input into internal classes, and
    transformation of internal classes to what should be returned
    by the REST endpoints.

    Also doing various cleanup and bug fixes with scheduler operations.
    For example, authorization was not being performed when getting
    schedule details, but was when getting schedule status.

    Also starting ProgramLifecycleService in TestBase in preparation
    for cluster lifecycle changes, and to make sure that
    ProgramLifecycleService can be instantiated.

    • cdap-api/src/main/java/co/cask/cdap/api/schedule/Trigger.java (version 40a93b8aab2ee55527492db9556bfeb1aa6296eb)
    • cdap-app-fabric/src/main/java/co/cask/cdap/gateway/handlers/ProgramLifecycleHttpHandler.java (version 40a93b8aab2ee55527492db9556bfeb1aa6296eb)
    • cdap-app-fabric/src/main/java/co/cask/cdap/gateway/handlers/WorkflowHttpHandler.java (version 40a93b8aab2ee55527492db9556bfeb1aa6296eb)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/app/runtime/schedule/store/Schedulers.java (version 40a93b8aab2ee55527492db9556bfeb1aa6296eb)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/app/services/ProgramLifecycleService.java (version 40a93b8aab2ee55527492db9556bfeb1aa6296eb)
    • cdap-app-fabric/src/main/java/co/cask/cdap/scheduler/ProgramScheduleService.java (version 40a93b8aab2ee55527492db9556bfeb1aa6296eb)
    • cdap-app-fabric/src/test/java/co/cask/cdap/internal/AppFabricClient.java (version 40a93b8aab2ee55527492db9556bfeb1aa6296eb)
    • cdap-app-fabric/src/test/java/co/cask/cdap/internal/app/services/http/handlers/ProgramLifecycleHttpHandlerTest.java (version 40a93b8aab2ee55527492db9556bfeb1aa6296eb)
    • cdap-proto/src/main/java/co/cask/cdap/proto/ProgramType.java (version 40a93b8aab2ee55527492db9556bfeb1aa6296eb)
    • cdap-unit-test/src/main/java/co/cask/cdap/test/TestBase.java (version 40a93b8aab2ee55527492db9556bfeb1aa6296eb)
  • Vinisha Shah

    Vinisha Shah 00fb2a904736dd12e07c2c85de7b324273292c6c m

    Adding first draft of polling service

    • cdap-runtime-monitor/pom.xml (version 00fb2a904736dd12e07c2c85de7b324273292c6c)
    • cdap-runtime-monitor/src/main/java/co/cask/cdap/runtime/monitor/MonitorTopic.java (version 00fb2a904736dd12e07c2c85de7b324273292c6c)
    • cdap-runtime-monitor/src/main/java/co/cask/cdap/runtime/monitor/RuntimeMonitor.java (version 00fb2a904736dd12e07c2c85de7b324273292c6c)
    • cdap-runtime-monitor/src/test/java/co/cask/cdap/runtime/monitor/RuntimeMonitorTest.java (version 00fb2a904736dd12e07c2c85de7b324273292c6c)
    • pom.xml (version 00fb2a904736dd12e07c2c85de7b324273292c6c)