You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Yu Gao (JIRA)" <ji...@apache.org> on 2014/09/17 03:49:33 UTC
[jira] [Commented] (HIVE-8154)
HadoopThriftAuthBridge20S.getHadoopSaslProperties is incompatible with
Hadoop 2.4.1 and later
[ https://issues.apache.org/jira/browse/HIVE-8154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14136653#comment-14136653 ]
Yu Gao commented on HIVE-8154:
------------------------------
Hadoop 2.4.1 has refactored the sasl related classes, moving sasl properties related code including sasl QOP setting from method SaslRpcServer.init to a new class named SaslPropertiesResolver. However, the HadoopThriftAuthBridge20S.getHadoopSaslProperties method still replies on the old implementation, which will not work for newer versions of Hadoop.
> HadoopThriftAuthBridge20S.getHadoopSaslProperties is incompatible with Hadoop 2.4.1 and later
> ---------------------------------------------------------------------------------------------
>
> Key: HIVE-8154
> URL: https://issues.apache.org/jira/browse/HIVE-8154
> Project: Hive
> Issue Type: Bug
> Components: Shims
> Affects Versions: 0.13.1
> Environment: Kerberos
> Hadoop 2.4.1
> Reporter: Yu Gao
>
> Enabled Kerberos in Hadoop 2.4.1 and Hive 0.13.1, with all kerberos properties and principals/keytabs configured correctly. Hadoop cluster is healthy but Hive Server2 is not able to start, due to following error in hive.log:
> 2014-09-16 13:52:32,964 ERROR thrift.ThriftCLIService (ThriftBinaryCLIService.java:run(93)) - Error:
> java.lang.IllegalArgumentException: Unknown auth type: null Allowed values are: [auth-int, auth-conf, auth]
> at org.apache.hive.service.auth.SaslQOP.fromString(SaslQOP.java:56)
> at org.apache.hive.service.auth.HiveAuthFactory.getSaslProperties(HiveAuthFactory.java:118)
> at org.apache.hive.service.auth.HiveAuthFactory.getAuthTransFactory(HiveAuthFactory.java:133)
> at org.apache.hive.service.cli.thrift.ThriftBinaryCLIService.run(ThriftBinaryCLIService.java:43)
> at java.lang.Thread.run(Thread.java:853)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)