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

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

    [ https://issues.apache.org/jira/browse/HIVE-4976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13726793#comment-13726793 ] 

Gunther Hagleitner commented on HIVE-4976:
------------------------------------------

Good find [~yhuai]. We should really first change the build to fail if tests don't actually compile and then fix the code to compile properly.
                
> 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