You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Yin Huai (JIRA)" <ji...@apache.org> on 2013/08/01 20:57:48 UTC

[jira] [Created] (HIVE-4976) TestHadoop20SAuthBridge needs to be updated after HIVE-3255

Yin Huai created HIVE-4976:
------------------------------

             Summary: TestHadoop20SAuthBridge needs to be updated after HIVE-3255
                 Key: HIVE-4976
                 URL: https://issues.apache.org/jira/browse/HIVE-4976
             Project: Hive
          Issue Type: Bug
            Reporter: Yin Huai


I found the following error appearing. Here is the log from jenkins
{code}
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.
{\code}

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)'. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira