Skip to content

Commit

Permalink
HBASE-23971 protoc warns: "no protobuf syntax specified" (apache#1278)
Browse files Browse the repository at this point in the history
Remove overcommit in TestUsersOperationsWithSecureHadoop
(Noticed by ndimiduk)
  • Loading branch information
saintstack authored and thangTang committed Apr 16, 2020
1 parent 8de948d commit e98f9b9
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@

import java.io.File;
import java.io.IOException;
import java.util.concurrent.TimeUnit;

import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.AuthUtil;
Expand Down Expand Up @@ -65,11 +64,7 @@ public class TestUsersOperationsWithSecureHadoop {
private static String CLIENT_NAME;

@BeforeClass
public static void destroyAndSetup() throws Exception {
//destroy localhost kerberos users
Process process = Runtime.getRuntime().exec(new String[]{"bash", "-c", "kdestroy"});
process.waitFor(2, TimeUnit.SECONDS);
// setup mini kdc
public static void setUp() throws Exception {
KDC = TEST_UTIL.setupMiniKdc(KEYTAB_FILE);
PRINCIPAL = "hbase/" + HOST;
CLIENT_NAME = "foo";
Expand Down

0 comments on commit e98f9b9

Please sign in to comment.