HBASE-23971 protoc warns: "no protobuf syntax specified" (#1278)
Remove overcommit in TestUsersOperationsWithSecureHadoop (Noticed by ndimiduk)
This commit is contained in:
parent
2e1485f505
commit
9804f73c66
|
@ -29,7 +29,6 @@ import static org.junit.Assert.assertTrue;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.concurrent.TimeUnit;
|
|
||||||
|
|
||||||
import org.apache.hadoop.conf.Configuration;
|
import org.apache.hadoop.conf.Configuration;
|
||||||
import org.apache.hadoop.hbase.AuthUtil;
|
import org.apache.hadoop.hbase.AuthUtil;
|
||||||
|
@ -65,11 +64,7 @@ public class TestUsersOperationsWithSecureHadoop {
|
||||||
private static String CLIENT_NAME;
|
private static String CLIENT_NAME;
|
||||||
|
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void destroyAndSetup() throws Exception {
|
public static void setUp() throws Exception {
|
||||||
//destroy localhost kerberos users
|
|
||||||
Process process = Runtime.getRuntime().exec(new String[]{"bash", "-c", "kdestroy"});
|
|
||||||
process.waitFor(2, TimeUnit.SECONDS);
|
|
||||||
// setup mini kdc
|
|
||||||
KDC = TEST_UTIL.setupMiniKdc(KEYTAB_FILE);
|
KDC = TEST_UTIL.setupMiniKdc(KEYTAB_FILE);
|
||||||
PRINCIPAL = "hbase/" + HOST;
|
PRINCIPAL = "hbase/" + HOST;
|
||||||
CLIENT_NAME = "foo";
|
CLIENT_NAME = "foo";
|
||||||
|
|
Loading…
Reference in New Issue