|
@@ -91,6 +91,9 @@ public class TestSaslRPC {
|
|
public void setup() {
|
|
public void setup() {
|
|
conf = new Configuration();
|
|
conf = new Configuration();
|
|
conf.set(HADOOP_SECURITY_AUTHENTICATION, "kerberos");
|
|
conf.set(HADOOP_SECURITY_AUTHENTICATION, "kerberos");
|
|
|
|
+ conf.setBoolean(
|
|
|
|
+ CommonConfigurationKeys.IPC_CLIENT_FALLBACK_TO_SIMPLE_AUTH_ALLOWED_KEY,
|
|
|
|
+ true);
|
|
UserGroupInformation.setConfiguration(conf);
|
|
UserGroupInformation.setConfiguration(conf);
|
|
}
|
|
}
|
|
|
|
|