diff --git build.xml build.xml index 016d363..b9e9680 100644 --- build.xml +++ build.xml @@ -123,10 +123,6 @@ - - - - @@ -362,7 +358,7 @@ - + diff --git shims/src/common-secure/test/org/apache/hadoop/hive/thrift/TestHadoop20SAuthBridge.java shims/src/common-secure/test/org/apache/hadoop/hive/thrift/TestHadoop20SAuthBridge.java index 379d24e..6883284 100644 --- shims/src/common-secure/test/org/apache/hadoop/hive/thrift/TestHadoop20SAuthBridge.java +++ shims/src/common-secure/test/org/apache/hadoop/hive/thrift/TestHadoop20SAuthBridge.java @@ -72,8 +72,6 @@ public Server createServer(String keytabFile, String principalConf) return new Server(); } - - static class Server extends HadoopThriftAuthBridge20S.Server { public Server() throws TTransportException { super(); @@ -98,9 +96,9 @@ protected DelegationTokenStore getTokenStore(Configuration conf) throws IOExcept } @Override - public void startDelegationTokenSecretManager(Configuration conf) + public void startDelegationTokenSecretManager(Configuration conf, Object hms) throws IOException{ - super.startDelegationTokenSecretManager(conf); + super.startDelegationTokenSecretManager(conf, hms); isMetastoreTokenManagerInited = true; } @@ -226,6 +224,7 @@ public void testDelegationTokenSharedStore() throws Exception { public void testSaslWithHiveMetaStore() throws Exception { setup(); + assertEquals(false, true); UserGroupInformation clientUgi = UserGroupInformation.getCurrentUser(); obtainTokenAndAddIntoUGI(clientUgi, null); obtainTokenAndAddIntoUGI(clientUgi, "tokenForFooTablePartition");