Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-2456

Upgrade RocksDB to 6.5.3

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3
    • 1.5
    • None
    • None

    Description

      We are currently on RocksDB 5.7.3 version which is over 2 and 1/2 years old build. As such we should upgrade to the latest RocksDB version to include any fixes or new features. Also there is a segment fault when trying to run RocksDB 5.7.3 with Tensorflow described below:

      RocksDB version in Samza is 5.7.3<https://jarvis.corp.linkedin.com/codesearch/result/?name=dependency-versions.gradle&path=samza-li%2Fsamza%2Fgradle&reponame=samza%2Fsamza-li>. However, this would cause a segment fault if the dependency order is not properly provisioned. For example, if RockDB library is loaded before Tensorflow library, segment fault is triggered. In contrast, if Tensorflow library is loaded first, then there is no run-time error. Please see the following experiments for more details.

      ===========experiments==============
      public class RocksDBTest{
      public static void main(String[] args) throws InterruptedException

      { //System.load("/home/yangzhan/libs/librocksdbjni7259590262328036607.so"); // RocksDB v=5.0.1 => Failed // System.load("/home/yangzhan/libs/librocksdbjni575105474288895339.so"); // RocksDB v=5.7.3 => Failed System.load("/home/yangzhan/libs/librocksdbjni6484631531885492614.so"); // RockdsDB v=5.15.10 => Passed System.load("/home/yangzhan/libs/libtensorflow_framework.so"); }

      }
      =========================

      This issue was reported in a Tensorflow open-source ticket<https://github.com/tensorflow/tensorflow/issues/22307> created by @Shanthoosh Venkataraman<svenkataraman@linkedin.com>.

      Attachments

        1. RocksDB performance.xlsx
          629 kB
          Eric Pan

        Issue Links

          Activity

            People

              eripan Eric Pan
              eripan Eric Pan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m