瀏覽代碼

HADOOP-7355 Add audience and stability annotations to HttpServer class

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.22@1130741 13f79535-47bb-0310-9956-ffa450edef68
Michael Stack 14 年之前
父節點
當前提交
c2d8a40943
共有 2 個文件被更改,包括 6 次插入0 次删除
  1. 3 0
      CHANGES.txt
  2. 3 0
      src/java/org/apache/hadoop/http/HttpServer.java

+ 3 - 0
CHANGES.txt

@@ -248,6 +248,9 @@ Release 0.22.0 - Unreleased
     HADOOP-7312. Update value of hadoop.common.configuration.version.
     (Harsh J Chouraria via todd)
 
+    HADOOP-7355  Add audience and stability annotations to HttpServer class
+    (stack)
+
   OPTIMIZATIONS
 
     HADOOP-6884. Add LOG.isDebugEnabled() guard for each LOG.debug(..).

+ 3 - 0
src/java/org/apache/hadoop/http/HttpServer.java

@@ -44,6 +44,7 @@ import javax.servlet.http.HttpServletResponse;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.conf.ConfServlet;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.CommonConfigurationKeys;
@@ -85,6 +86,8 @@ import org.mortbay.util.MultiException;
  *   "/static/" -> points to common static files (src/webapps/static)
  *   "/" -> the jsp server code from (src/webapps/<name>)
  */
+@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce", "HBase"})
+@InterfaceStability.Evolving
 public class HttpServer implements FilterContainer {
   public static final Log LOG = LogFactory.getLog(HttpServer.class);