Class TestRSStatusServlet
java.lang.Object
org.apache.hadoop.hbase.regionserver.http.TestRSStatusServlet
Tests for the region server status page and its template.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
(package private) static final int
(package private) static final int
private final org.apache.hadoop.hbase.ServerName
private final org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.GetServerInfoResponse
private final org.apache.hadoop.hbase.ServerName
private static final org.slf4j.Logger
org.junit.rules.TestName
private org.apache.hadoop.hbase.ipc.RpcServerInterface
private org.apache.hadoop.hbase.regionserver.RSRpcServices
private org.apache.hadoop.hbase.regionserver.HRegionServer
-
Constructor Summary
-
Method Summary
-
Field Details
-
CLASS_RULE
-
LOG
-
rs
-
rpcServices
-
rpcServer
-
FAKE_IPC_PORT
- See Also:
-
FAKE_WEB_PORT
- See Also:
-
fakeServerName
-
fakeResponse
private final org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.GetServerInfoResponse fakeResponse -
fakeMasterAddress
-
name
-
-
Constructor Details
-
TestRSStatusServlet
public TestRSStatusServlet()
-
-
Method Details
-
setupBasicMocks
public void setupBasicMocks() throws IOException, org.apache.hbase.thirdparty.com.google.protobuf.ServiceException- Throws:
IOException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
-
testBasic
public void testBasic() throws IOException, org.apache.hbase.thirdparty.com.google.protobuf.ServiceException- Throws:
IOException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
-
testWithRegions
public void testWithRegions() throws IOException, org.apache.hbase.thirdparty.com.google.protobuf.ServiceException- Throws:
IOException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
-