Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6430

Remove Apache Commons Math3 dependency from Segment Tar

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.4, 1.8.0
    • Component/s: segment-tar
    • Labels:
      None

      Description

      The percentile implementation used when implemented OAK-4732 introduces a dependency on commons-math3. The SynchronizedDescriptiveStatistics [0] used can be easily replaced with
      a Histogram implementation [1] from an already used dependency - dropwizard metric library.

      [0] http://commons.apache.org/proper/commons-math/javadocs/api-3.3/org/apache/commons/math3/stat/descriptive/SynchronizedDescriptiveStatistics.html
      [1] http://metrics.dropwizard.io/3.1.0/apidocs/com/codahale/metrics/Histogram.html

        Attachments

        1. OAK-6430-02.patch
          0.8 kB
          Andrei Dulceanu
        2. OAK-6430.patch
          5 kB
          Andrei Dulceanu

          Issue Links

            Activity

              People

              • Assignee:
                adulceanu Andrei Dulceanu
                Reporter:
                adulceanu Andrei Dulceanu
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: