Class MasterStatusServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.hadoop.hbase.master.http.MasterStatusServlet
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
The servlet responsible for rendering the index page of the master.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) getFragmentationInfo(HMaster master, org.apache.hadoop.conf.Configuration conf) private ServerNamegetMetaLocationOrNull(HMaster master) Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceMethods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Field Details
-
serialVersionUID
- See Also:
-
-
Constructor Details
-
MasterStatusServlet
public MasterStatusServlet()
-
-
Method Details
-
doGet
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException - Overrides:
doGetin classjavax.servlet.http.HttpServlet- Throws:
IOException
-
getMetaLocationOrNull
-
getFragmentationInfo
private Map<String,Integer> getFragmentationInfo(HMaster master, org.apache.hadoop.conf.Configuration conf) throws IOException - Throws:
IOException
-