public class TestNettyTLSIPCFileWatcher extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
CONF |
private static org.apache.hadoop.hbase.util.NettyEventLoopGroupConfig |
EVENT_LOOP_GROUP_CONFIG |
X509KeyType |
keyType |
private static X509TestContextProvider |
PROVIDER |
private static org.apache.hadoop.hbase.HBaseServerBase<?> |
SERVER |
org.apache.hadoop.hbase.io.crypto.tls.KeyStoreFileType |
storeFileType |
private static HBaseCommonTestingUtil |
UTIL |
private X509TestContext |
x509TestContext |
Constructor and Description |
---|
TestNettyTLSIPCFileWatcher() |
Modifier and Type | Method and Description |
---|---|
private org.apache.hadoop.hbase.ipc.RpcServer |
createRpcServer(String name,
List<org.apache.hadoop.hbase.ipc.RpcServer.BlockingServiceAndInterface> services,
InetSocketAddress bindAddress,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.ipc.RpcScheduler scheduler) |
static List<Object[]> |
data() |
void |
setUp() |
static void |
setUpBeforeClass() |
void |
tearDown() |
static void |
tearDownAfterClass() |
void |
testReplaceClientAndServerKeystore() |
void |
testReplaceServerKeystore() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.apache.hadoop.conf.Configuration CONF
private static final HBaseCommonTestingUtil UTIL
private static org.apache.hadoop.hbase.HBaseServerBase<?> SERVER
private static X509TestContextProvider PROVIDER
private static org.apache.hadoop.hbase.util.NettyEventLoopGroupConfig EVENT_LOOP_GROUP_CONFIG
private X509TestContext x509TestContext
public X509KeyType keyType
public org.apache.hadoop.hbase.io.crypto.tls.KeyStoreFileType storeFileType
public TestNettyTLSIPCFileWatcher()
public static void setUpBeforeClass() throws IOException
IOException
public static void tearDownAfterClass() throws InterruptedException
InterruptedException
public void setUp() throws IOException
IOException
public void tearDown()
public void testReplaceServerKeystore() throws IOException, org.apache.hbase.thirdparty.com.google.protobuf.ServiceException, GeneralSecurityException, org.bouncycastle.operator.OperatorCreationException
IOException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
GeneralSecurityException
org.bouncycastle.operator.OperatorCreationException
public void testReplaceClientAndServerKeystore() throws GeneralSecurityException, IOException, org.bouncycastle.operator.OperatorCreationException, org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
GeneralSecurityException
IOException
org.bouncycastle.operator.OperatorCreationException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
private org.apache.hadoop.hbase.ipc.RpcServer createRpcServer(String name, List<org.apache.hadoop.hbase.ipc.RpcServer.BlockingServiceAndInterface> services, InetSocketAddress bindAddress, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.ipc.RpcScheduler scheduler) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.