diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/DNS.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/DNS.java index 061971cb68..531ad80f41 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/DNS.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/DNS.java @@ -19,7 +19,6 @@ package org.apache.hadoop.net; import com.google.common.net.InetAddresses; -import com.sun.istack.Nullable; import org.apache.hadoop.classification.InterfaceAudience; import org.apache.hadoop.classification.InterfaceStability; import org.slf4j.Logger; @@ -36,6 +35,7 @@ import java.util.List; import java.util.Vector; +import javax.annotation.Nullable; import javax.naming.NamingException; import javax.naming.directory.Attributes; import javax.naming.directory.DirContext;