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

Replace Hadoop annotations/configs with Ozone-specific ones

    XMLWordPrintableJSON

Details

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

    Description

      Replace accidental usage of Hadoop's annotations:

      hadoop-hdds/common/src/main/java/org/apache/hadoop/util/MutableMinMax.java
      20:import org.apache.hadoop.classification.InterfaceAudience;
      21:import org.apache.hadoop.classification.InterfaceStability;
      
      hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/OzoneFsDelete.java
      26:import org.apache.hadoop.classification.InterfaceAudience;
      27:import org.apache.hadoop.classification.InterfaceStability;
      

      Use DFSConfigKeysLegacy instead of DFSConfigKeys:

      hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/node/NodeDecommissionManager.java
      37:import org.apache.hadoop.hdfs.DFSConfigKeys;
      
      hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/ratis/RatisHelper.java
      46:import org.apache.hadoop.hdfs.DFSConfigKeys;
      
      hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/protocol/SecretKeyProtocolDatanode.java
      23:import static org.apache.hadoop.hdfs.DFSConfigKeys.DFS_DATANODE_KERBEROS_PRINCIPAL_KEY;
      
      hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/protocolPB/SecretKeyProtocolDatanodePB.java
      24:import static org.apache.hadoop.hdfs.DFSConfigKeys.DFS_DATANODE_KERBEROS_PRINCIPAL_KEY;
      

      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: