Java 类org.apache.hadoop.conf.ConfServlet 实例源码

项目:hadoop-oss    文件:HttpServer2.java   
/**
 * Add default servlets.
 * Note: /metrics servlet will be removed in 3.X release.
 */
@SuppressWarnings("deprecation")
protected void addDefaultServlets() {
  // set up default servlets
  addServlet("stacks", "/stacks", StackServlet.class);
  addServlet("logLevel", "/logLevel", LogLevel.Servlet.class);
  addServlet("metrics", "/metrics", MetricsServlet.class);
  addServlet("jmx", "/jmx", JMXJsonServlet.class);
  addServlet("conf", "/conf", ConfServlet.class);
}
项目:hadoop    文件:HttpServer.java   
/**
 * Add default servlets.
 */
protected void addDefaultServlets() {
  // set up default servlets
  addServlet("stacks", "/stacks", StackServlet.class);
  addServlet("logLevel", "/logLevel", LogLevel.Servlet.class);
  addServlet("metrics", "/metrics", MetricsServlet.class);
  addServlet("jmx", "/jmx", JMXJsonServlet.class);
  addServlet("conf", "/conf", ConfServlet.class);
}
项目:hadoop    文件:HttpServer2.java   
/**
 * Add default servlets.
 */
protected void addDefaultServlets() {
  // set up default servlets
  addServlet("stacks", "/stacks", StackServlet.class);
  addServlet("logLevel", "/logLevel", LogLevel.Servlet.class);
  addServlet("metrics", "/metrics", MetricsServlet.class);
  addServlet("jmx", "/jmx", JMXJsonServlet.class);
  addServlet("conf", "/conf", ConfServlet.class);
}
项目:aliyun-oss-hadoop-fs    文件:HttpServer2.java   
/**
 * Add default servlets.
 * Note: /metrics servlet will be removed in 3.X release.
 */
@SuppressWarnings("deprecation")
protected void addDefaultServlets() {
  // set up default servlets
  addServlet("stacks", "/stacks", StackServlet.class);
  addServlet("logLevel", "/logLevel", LogLevel.Servlet.class);
  addServlet("metrics", "/metrics", MetricsServlet.class);
  addServlet("jmx", "/jmx", JMXJsonServlet.class);
  addServlet("conf", "/conf", ConfServlet.class);
}
项目:big-c    文件:HttpServer.java   
/**
 * Add default servlets.
 */
protected void addDefaultServlets() {
  // set up default servlets
  addServlet("stacks", "/stacks", StackServlet.class);
  addServlet("logLevel", "/logLevel", LogLevel.Servlet.class);
  addServlet("metrics", "/metrics", MetricsServlet.class);
  addServlet("jmx", "/jmx", JMXJsonServlet.class);
  addServlet("conf", "/conf", ConfServlet.class);
}
项目:big-c    文件:HttpServer2.java   
/**
 * Add default servlets.
 */
protected void addDefaultServlets() {
  // set up default servlets
  addServlet("stacks", "/stacks", StackServlet.class);
  addServlet("logLevel", "/logLevel", LogLevel.Servlet.class);
  addServlet("metrics", "/metrics", MetricsServlet.class);
  addServlet("jmx", "/jmx", JMXJsonServlet.class);
  addServlet("conf", "/conf", ConfServlet.class);
}
项目:hadoop-2.6.0-cdh5.4.3    文件:HttpServer.java   
/**
 * Add default servlets.
 */
protected void addDefaultServlets() {
  // set up default servlets
  addServlet("stacks", "/stacks", StackServlet.class);
  addServlet("logLevel", "/logLevel", LogLevel.Servlet.class);
  addServlet("metrics", "/metrics", MetricsServlet.class);
  addServlet("jmx", "/jmx", JMXJsonServlet.class);
  addServlet("conf", "/conf", ConfServlet.class);
}
项目:hadoop-2.6.0-cdh5.4.3    文件:HttpServer2.java   
/**
 * Add default servlets.
 */
protected void addDefaultServlets() {
  // set up default servlets
  addServlet("stacks", "/stacks", StackServlet.class);
  addServlet("logLevel", "/logLevel", LogLevel.Servlet.class);
  addServlet("metrics", "/metrics", MetricsServlet.class);
  addServlet("jmx", "/jmx", JMXJsonServlet.class);
  addServlet("conf", "/conf", ConfServlet.class);
}
项目:hadoop-EAR    文件:HttpServer.java   
/**
 * Add default servlets.
 */
protected void addDefaultServlets() {
  // set up default servlets
  addServlet("stacks", "/stacks", StackServlet.class);
  addServlet("logLevel", "/logLevel", LogLevel.Servlet.class);
  addServlet("jmx", "/jmx", JMXJsonServlet.class);
  addServlet("metrics", "/metrics", MetricsServlet.class);
  addServlet("conf", "/conf", ConfServlet.class);
  }
项目:hadoop-plus    文件:HttpServer.java   
/**
 * Add default servlets.
 */
protected void addDefaultServlets() {
  // set up default servlets
  addServlet("stacks", "/stacks", StackServlet.class);
  addServlet("logLevel", "/logLevel", LogLevel.Servlet.class);
  addServlet("metrics", "/metrics", MetricsServlet.class);
  addServlet("jmx", "/jmx", JMXJsonServlet.class);
  addServlet("conf", "/conf", ConfServlet.class);
}
项目:hops    文件:HttpServer.java   
/**
 * Add default servlets.
 */
protected void addDefaultServlets() {
  // set up default servlets
  addServlet("stacks", "/stacks", StackServlet.class);
  addServlet("logLevel", "/logLevel", LogLevel.Servlet.class);
  addServlet("metrics", "/metrics", MetricsServlet.class);
  addServlet("jmx", "/jmx", JMXJsonServlet.class);
  addServlet("conf", "/conf", ConfServlet.class);
}
项目:hops    文件:HttpServer2.java   
/**
 * Add default servlets.
 * Note: /metrics servlet will be removed in 3.X release.
 */
@SuppressWarnings("deprecation")
protected void addDefaultServlets() {
  // set up default servlets
  addServlet("stacks", "/stacks", StackServlet.class);
  addServlet("logLevel", "/logLevel", LogLevel.Servlet.class);
  addServlet("metrics", "/metrics", MetricsServlet.class);
  addServlet("jmx", "/jmx", JMXJsonServlet.class);
  addServlet("conf", "/conf", ConfServlet.class);
}
项目:hadoop-TCP    文件:HttpServer.java   
/**
 * Add default servlets.
 */
protected void addDefaultServlets() {
  // set up default servlets
  addServlet("stacks", "/stacks", StackServlet.class);
  addServlet("logLevel", "/logLevel", LogLevel.Servlet.class);
  addServlet("metrics", "/metrics", MetricsServlet.class);
  addServlet("jmx", "/jmx", JMXJsonServlet.class);
  addServlet("conf", "/conf", ConfServlet.class);
}
项目:hardfs    文件:HttpServer.java   
/**
 * Add default servlets.
 */
protected void addDefaultServlets() {
  // set up default servlets
  addServlet("stacks", "/stacks", StackServlet.class);
  addServlet("logLevel", "/logLevel", LogLevel.Servlet.class);
  addServlet("metrics", "/metrics", MetricsServlet.class);
  addServlet("jmx", "/jmx", JMXJsonServlet.class);
  addServlet("conf", "/conf", ConfServlet.class);
}
项目:hadoop-on-lustre2    文件:HttpServer.java   
/**
 * Add default servlets.
 */
protected void addDefaultServlets() {
  // set up default servlets
  addServlet("stacks", "/stacks", StackServlet.class);
  addServlet("logLevel", "/logLevel", LogLevel.Servlet.class);
  addServlet("metrics", "/metrics", MetricsServlet.class);
  addServlet("jmx", "/jmx", JMXJsonServlet.class);
  addServlet("conf", "/conf", ConfServlet.class);
}
项目:hadoop-on-lustre2    文件:HttpServer2.java   
/**
 * Add default servlets.
 */
protected void addDefaultServlets() {
  // set up default servlets
  addServlet("stacks", "/stacks", StackServlet.class);
  addServlet("logLevel", "/logLevel", LogLevel.Servlet.class);
  addServlet("metrics", "/metrics", MetricsServlet.class);
  addServlet("jmx", "/jmx", JMXJsonServlet.class);
  addServlet("conf", "/conf", ConfServlet.class);
}
项目:RDFS    文件:HttpServer.java   
/**
  * Add default servlets.
  */
 protected void addDefaultServlets() {
   // set up default servlets
   addServlet("stacks", "/stacks", StackServlet.class);
   addServlet("logLevel", "/logLevel", LogLevel.Servlet.class);
   addServlet("metrics", "/metrics", MetricsServlet.class);
     addServlet("conf", "/conf", ConfServlet.class);
}