Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
I found the following error appearing. Here is the log from jenkins
compile-test-worker: [echo] Project: shims [echo] Compiling shim tests against hadoop 20S [echo] Test srcdir : /home/jenkins/jenkins-slave/workspace/Hive-trunk-h0.21/hive/shims/src/common-secure/test [javac] Compiling 3 source files to /home/jenkins/jenkins-slave/workspace/Hive-trunk-h0.21/hive/build/shims/test/classes [javac] /home/jenkins/jenkins-slave/workspace/Hive-trunk-h0.21/hive/shims/src/common-secure/test/org/apache/hadoop/hive/thrift/TestHadoop20SAuthBridge.java:103: cannot find symbol [javac] symbol : method startDelegationTokenSecretManager(org.apache.hadoop.conf.Configuration) [javac] location: class org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S.Server [javac] super.startDelegationTokenSecretManager(conf); [javac] ^ [javac] /home/jenkins/jenkins-slave/workspace/Hive-trunk-h0.21/hive/shims/src/common-secure/test/org/apache/hadoop/hive/thrift/TestHadoop20SAuthBridge.java:100: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] 2 errors [subant] Failure for target 'test' of: /home/jenkins/jenkins-slave/workspace/Hive-trunk-h0.21/hive/shims/build.xml [subant] The following error occurred while executing this line: [subant] /home/jenkins/jenkins-slave/workspace/Hive-trunk-h0.21/hive/shims/build.xml:174: The following error occurred while executing this line: [subant] /home/jenkins/jenkins-slave/workspace/Hive-trunk-h0.21/hive/shims/build.xml:154: The following error occurred while executing this line: [subant] /home/jenkins/jenkins-slave/workspace/Hive-trunk-h0.21/hive/shims/build.xml:106: Compile failed; see the compiler error output for details.
I found HIVE-3255 changed the interface of HadoopThriftAuthBridge20S.Server.startDelegationTokenSecretManager to 'startDelegationTokenSecretManager(Configuration conf, Object hms)'. But in TestHadoop20SAuthBridge, we are still using the old interface which is 'startDelegationTokenSecretManager(conf)'.