HBASE-20950 Helper method to configure secure DFS cluster for tests
commit7be97980f57ad0a251afc562ef3d6fd7ec15a7b7
authorWei-Chiu Chuang <weichiu@cloudera.com>
Fri, 27 Jul 2018 22:45:33 +0000 (27 15:45 -0700)
committertedyu <yuzhihong@gmail.com>
Tue, 31 Jul 2018 20:36:17 +0000 (31 13:36 -0700)
treeeb3f5999503e8f9a9eb9912ac9408bff9065dc1f
parenta8e184dc77470bdf9d62e19c5d36bc1de7cf4c6d
HBASE-20950 Helper method to configure secure DFS cluster for tests

Create a helper method HBaseKerberosUtils#setSecuredConfiguration().
TestSecureExport, TestSaslFanOutOneBlockAsyncDFSOutput,
SecureTestCluster and TestThriftSpnegoHttpServer uses this new helper
method.

Signed-off-by: tedyu <yuzhihong@gmail.com>
hbase-endpoint/src/test/java/org/apache/hadoop/hbase/coprocessor/TestSecureExport.java
hbase-server/src/test/java/org/apache/hadoop/hbase/io/asyncfs/TestSaslFanOutOneBlockAsyncDFSOutput.java
hbase-server/src/test/java/org/apache/hadoop/hbase/security/HBaseKerberosUtils.java
hbase-server/src/test/java/org/apache/hadoop/hbase/security/token/SecureTestCluster.java
hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftSpnegoHttpServer.java