diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/DurationInfo.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/DurationInfo.java index 2a1b78d0cf0..9dd75db27c7 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/DurationInfo.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/DurationInfo.java @@ -29,8 +29,8 @@ * This allows it to be used in a try-with-resources clause, and have the * duration automatically logged. */ -@Public -@Unstable +@InterfaceAudience.Private +@InterfaceStability.Unstable public class DurationInfo extends OperationDuration implements AutoCloseable { private final String text;