|
@@ -43,6 +43,8 @@ public class TestHftpDelegationToken {
|
|
|
|
|
|
@Test
|
|
|
public void testHdfsDelegationToken() throws Exception {
|
|
|
+ SecurityUtilTestHelper.setTokenServiceUseIp(true);
|
|
|
+
|
|
|
final Configuration conf = new Configuration();
|
|
|
conf.set(HADOOP_SECURITY_AUTHENTICATION, "kerberos");
|
|
|
UserGroupInformation.setConfiguration(conf);
|