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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doGet
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) getFragmentationInfo
(HMaster master, org.apache.hadoop.conf.Configuration conf) private ServerName
getMetaLocationOrNull
(HMaster master) Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
Methods 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:
doGet
in 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
-