Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-11276 Clean up dependencies
  3. HDDS-11278

Move code out of Hadoop util package

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Done
    • None
    • 2.0.0
    • None

    Description

      Ozone should not add code in Hadoop packages unless necessary for extending/using non-public classes. Using org.apache.hadoop.test and org.apache.hadoop.util can be avoided.

      hadoop-hdds/common/src/main/java/org/apache/hadoop/util/CacheMetrics.java:package org.apache.hadoop.util;
      hadoop-hdds/common/src/main/java/org/apache/hadoop/util/ClosableIterator.java:package org.apache.hadoop.util;
      hadoop-hdds/common/src/main/java/org/apache/hadoop/util/MetricUtil.java:package org.apache.hadoop.util;
      hadoop-hdds/common/src/main/java/org/apache/hadoop/util/MutableMinMax.java:package org.apache.hadoop.util;
      hadoop-hdds/common/src/main/java/org/apache/hadoop/util/package-info.java:package org.apache.hadoop.util;
      hadoop-hdds/common/src/main/java/org/apache/hadoop/util/PerformanceMetricsInitializer.java:package org.apache.hadoop.util;
      hadoop-hdds/common/src/main/java/org/apache/hadoop/util/PerformanceMetrics.java:package org.apache.hadoop.util;
      hadoop-hdds/common/src/main/java/org/apache/hadoop/util/ProtobufUtils.java:package org.apache.hadoop.util;
      hadoop-hdds/common/src/main/java/org/apache/hadoop/util/StringWithByteString.java:package org.apache.hadoop.util;
      hadoop-hdds/common/src/main/java/org/apache/hadoop/util/UUIDUtil.java:package org.apache.hadoop.util;
      hadoop-hdds/test-utils/src/main/java/org/apache/hadoop/test/JacocoServer.java:package org.apache.hadoop.test;
      hadoop-ozone/tools/src/test/java/org/apache/hadoop/test/OzoneTestDriver.java:package org.apache.hadoop.test;
      

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: