Build #5,622

License check with RAT and Checkstyle

Code commits

caskdata/cdap

  • wyzhang <wyzhang@google.com>

    wyzhang <wyzhang@google.com> cb093f26c6fa8e98a40b728b764ff190c1538e4a

    Merge pull request #13768 from cdapio/feature/CDAP-18627/wyzhang-leveldb-api-preview
    [CDAP-18627] Switch DefaultPreviewStore to use new LevelDBTableCore API

  • Wangyuan Zhang <wyzhang@google.com>

    Wangyuan Zhang <wyzhang@google.com> 291a794f9042943b43bc7c2dd992a07f1f955a34

    [CDAP-18627] Switch DefaultPreviewStore to use new LevelDBTableCore API              Also fix a test breakage for DefaultPreviewStoreTest
    Why:
    DefaultPreviewStore doesn't need to read/write/delete to levelDB at different versions.
    So switch to use new LevelDBTableCore API that operate at max version (i.e. always
    overwrite old value). This also provide some performance gain by getRow()->get()
    as getRow() internally perform iterator().next while get() is a point lookup
    for a specific version.

    • cdap-app-fabric/src/main/java/io/cdap/cdap/internal/app/store/preview/DefaultPreviewStore.java (version 291a794f9042943b43bc7c2dd992a07f1f955a34)