Build #5,615

License check with RAT and Checkstyle

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

Code commits

caskdata/cdap

  • wyzhang <wyzhang@google.com>

    wyzhang <wyzhang@google.com> 36e8baf98e3d92b4dd6df6646eb1cfd83003c78d

    Merge pull request #13754 from cdapio/feature/CDAP-18627/wyzhang-leveldb-compaction
    [CDAP-18627] Enable levelDB periodic compaction (once per 7 days)

  • wyzhang <wyzhang@google.com>

    wyzhang <wyzhang@google.com> 44c0f916633ea3a0ee2f8178bf865628da3330b7

    Merge pull request #13751 from cdapio/feature/CDAP-18626/wyzhang-rbac-preview-sidecar-unpack
    [CDAP-18626] Revive artifact-fetching-and-caching-WITHOUT-unpacking API

  • Wangyuan Zhang <wyzhang@google.com>

    Wangyuan Zhang <wyzhang@google.com> f249f161b1bf2ec61f17cbf7931b1d1e43f4bc0d m

    address comment

    • cdap-app-fabric/src/main/java/io/cdap/cdap/internal/app/worker/sidecar/ArtifactLocalizer.java (version f249f161b1bf2ec61f17cbf7931b1d1e43f4bc0d)
    • cdap-app-fabric/src/main/java/io/cdap/cdap/internal/app/worker/sidecar/ArtifactLocalizerClient.java (version f249f161b1bf2ec61f17cbf7931b1d1e43f4bc0d)
    • cdap-app-fabric/src/test/java/io/cdap/cdap/internal/app/worker/sidecar/ArtifactLocalizerServiceTest.java (version f249f161b1bf2ec61f17cbf7931b1d1e43f4bc0d)
  • Wangyuan Zhang <wyzhang@google.com>

    Wangyuan Zhang <wyzhang@google.com> c8a16d9b5f82aa047383e05122058228e5f527c7 m

    [CDAP-18627] Enable levelDB periodic compaction (once per 7 days)              Also randomize compactions timings of tables.
    Why:
    periodic compaction allows us to recycle disk space and discard
    tombstones/deletion-markers. This can improve levelDB access latency.

    • cdap-data-fabric/src/main/java/io/cdap/cdap/data2/dataset2/lib/table/leveldb/LevelDBTableService.java (version c8a16d9b5f82aa047383e05122058228e5f527c7)
  • Wangyuan Zhang <wyzhang@google.com>

    Wangyuan Zhang <wyzhang@google.com> d4ac8cd9f3b82a6413e4253a34e8b8f06099959b m

    [CDAP-18627] Enable levelDB periodic compaction (once per 7 days)              Also randomize compactions timings of tables.
    Why:
    periodic compaction allows us to recycle disk space and discard
    tombstones/deletion-markers. This can improve levelDB access latency.

    • cdap-common/src/main/java/io/cdap/cdap/common/conf/Constants.java (version d4ac8cd9f3b82a6413e4253a34e8b8f06099959b)
    • cdap-data-fabric/src/main/java/io/cdap/cdap/data2/dataset2/lib/table/leveldb/LevelDBTableService.java (version d4ac8cd9f3b82a6413e4253a34e8b8f06099959b)
  • Wangyuan Zhang <wyzhang@google.com>

    Wangyuan Zhang <wyzhang@google.com> 096d9cce34c84d266fd9994b5c3c066e1777118f m

    [CDAP-18626] Revive artifact-fetching-and-caching-WITHOUT-unpacking API
    Why:
    To allow preview runner running with restricted permission (i.e.
    no permission to access artifacts on distributed file system or
    metadata in external database), we need an API for preview runner
    to fetch and cache artifact.

    What:
    Add back the APIs for ArtifactLocalizer to fetch artifact jar.

    • cdap-app-fabric/src/main/java/io/cdap/cdap/internal/app/worker/sidecar/ArtifactLocalizer.java (version 096d9cce34c84d266fd9994b5c3c066e1777118f)
    • cdap-app-fabric/src/main/java/io/cdap/cdap/internal/app/worker/sidecar/ArtifactLocalizerClient.java (version 096d9cce34c84d266fd9994b5c3c066e1777118f)
    • cdap-app-fabric/src/main/java/io/cdap/cdap/internal/app/worker/sidecar/ArtifactLocalizerHttpHandlerInternal.java (version 096d9cce34c84d266fd9994b5c3c066e1777118f)
    • cdap-app-fabric/src/test/java/io/cdap/cdap/internal/app/worker/sidecar/ArtifactLocalizerServiceTest.java (version 096d9cce34c84d266fd9994b5c3c066e1777118f)