diff options
Diffstat (limited to 'core/lib/hadoop-0.20.0/webapps/hdfs')
-rw-r--r-- | core/lib/hadoop-0.20.0/webapps/hdfs/WEB-INF/web.xml | 40 | ||||
-rw-r--r-- | core/lib/hadoop-0.20.0/webapps/hdfs/index.html | 20 |
2 files changed, 60 insertions, 0 deletions
diff --git a/core/lib/hadoop-0.20.0/webapps/hdfs/WEB-INF/web.xml b/core/lib/hadoop-0.20.0/webapps/hdfs/WEB-INF/web.xml new file mode 100644 index 0000000000..40a73d5293 --- /dev/null +++ b/core/lib/hadoop-0.20.0/webapps/hdfs/WEB-INF/web.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<web-app xmlns="http://java.sun.com/xml/ns/javaee" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" + version="2.5"> + + + <servlet> + <servlet-name>org.apache.hadoop.hdfs.server.namenode.nn_005fbrowsedfscontent_jsp</servlet-name> + <servlet-class>org.apache.hadoop.hdfs.server.namenode.nn_005fbrowsedfscontent_jsp</servlet-class> + </servlet> + + <servlet> + <servlet-name>org.apache.hadoop.hdfs.server.namenode.dfsnodelist_jsp</servlet-name> + <servlet-class>org.apache.hadoop.hdfs.server.namenode.dfsnodelist_jsp</servlet-class> + </servlet> + + <servlet> + <servlet-name>org.apache.hadoop.hdfs.server.namenode.dfshealth_jsp</servlet-name> + <servlet-class>org.apache.hadoop.hdfs.server.namenode.dfshealth_jsp</servlet-class> + </servlet> + + <servlet-mapping> + <servlet-name>org.apache.hadoop.hdfs.server.namenode.nn_005fbrowsedfscontent_jsp</servlet-name> + <url-pattern>/nn_browsedfscontent.jsp</url-pattern> + </servlet-mapping> + + <servlet-mapping> + <servlet-name>org.apache.hadoop.hdfs.server.namenode.dfsnodelist_jsp</servlet-name> + <url-pattern>/dfsnodelist.jsp</url-pattern> + </servlet-mapping> + + <servlet-mapping> + <servlet-name>org.apache.hadoop.hdfs.server.namenode.dfshealth_jsp</servlet-name> + <url-pattern>/dfshealth.jsp</url-pattern> + </servlet-mapping> + +</web-app> + diff --git a/core/lib/hadoop-0.20.0/webapps/hdfs/index.html b/core/lib/hadoop-0.20.0/webapps/hdfs/index.html new file mode 100644 index 0000000000..b9ad74218a --- /dev/null +++ b/core/lib/hadoop-0.20.0/webapps/hdfs/index.html @@ -0,0 +1,20 @@ +<meta HTTP-EQUIV="REFRESH" content="0;url=dfshealth.jsp"/> +<html> + +<head> +<title>Hadoop Administration</title> +</head> + +<body> + +<h1>Hadoop Administration</h1> + +<ul> + +<li><a href="dfshealth.jsp">DFS Health/Status</a></li> + +</ul> + +</body> + +</html> |