Build #5,598

License check with RAT and Checkstyle

Build: #5598 was successful Changes by wyzhang <wyzhang@google.com>

Code commits

caskdata/cdap

  • wyzhang <wyzhang@google.com>

    wyzhang <wyzhang@google.com> 71b36c43c1fcf6681d580327588db462f242b4b4

    Merge pull request #13706 from cdapio/feature/CDAP-18557/wyzhang-runtime-runrecord
    [CDAP-18557] Trim down runrecord when runtime service caches it in lo…

  • Wangyuan Zhang <wyzhang@google.com>

    Wangyuan Zhang <wyzhang@google.com> 34e6ff9371172727300018cb7e554dc80f7f8cd4 m

    [CDAP-18557] Trim down runrecord when runtime service caches it in local storage.
    Why:
    RunRecord could be quite large due to containing large system args (i.e.
    containing plugin documentations when pipeline runs are triggered based on events)
    This leads to large-sized value stored in local levelDB by runtime service.
    The large-sized value could lead to disk overhead and out of memory problems
    for runtime service. As runtime record is used only for tracking inflight
    program runs to perform validations, there is no need to store entire
    runrecord.

    • cdap-app-fabric/src/main/java/io/cdap/cdap/internal/app/runtime/monitor/DirectRuntimeRequestValidator.java (version 34e6ff9371172727300018cb7e554dc80f7f8cd4)
    • cdap-app-fabric/src/main/java/io/cdap/cdap/internal/app/runtime/monitor/RuntimeMonitors.java (version 34e6ff9371172727300018cb7e554dc80f7f8cd4)
    • cdap-app-fabric/src/main/java/io/cdap/cdap/internal/app/runtime/monitor/RuntimeProgramStatusSubscriberService.java (version 34e6ff9371172727300018cb7e554dc80f7f8cd4)