You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by st...@apache.org on 2019/06/06 11:53:08 UTC

[hadoop] branch trunk updated: HADOOP-16344. Make DurationInfo public unstable.

This is an automated email from the ASF dual-hosted git repository.

stevel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 829848b  HADOOP-16344. Make DurationInfo public unstable.
829848b is described below

commit 829848ba2e3e04e3b7bf5a02e0379470eec0809e
Author: Huan-Ping Su <pi...@gmail.com>
AuthorDate: Thu Jun 6 12:49:20 2019 +0100

    HADOOP-16344. Make DurationInfo public unstable.
    
    Contributed by Huan-Ping Su
    
    Change-Id: I64a94cf382f9db78b4ef49a3912f25f0d906af7c
---
 .../src/main/java/org/apache/hadoop/util/DurationInfo.java            | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 9dd75db..2a1b78d 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 @@ import org.apache.hadoop.classification.InterfaceStability;
  * This allows it to be used in a try-with-resources clause, and have the
  * duration automatically logged.
  */
-@InterfaceAudience.Private
-@InterfaceStability.Unstable
+@Public
+@Unstable
 public class DurationInfo extends OperationDuration
     implements AutoCloseable {
   private final String text;


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org