[ https://issues.apache.org/jira/browse/HIVE-7620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14089920#comment-14089920 ]
Thejas M Nair commented on HIVE-7620: ------------------------------------- bq. How often is getHadoopSaslProperties called? Might make sense to cache method object to invoke if it's often. Otherwise looks good In metastore server it is called once during metastore startup. For metastore clients, it is called everytime HiveMetaStoreClient is created and for every reconnect. So its not very frequent, but I guess there is no harm in caching that as well. > Hive metastore fails to start in secure mode due to > "java.lang.NoSuchFieldError: SASL_PROPS" error > -------------------------------------------------------------------------------------------------- > > Key: HIVE-7620 > URL: https://issues.apache.org/jira/browse/HIVE-7620 > Project: Hive > Issue Type: Bug > Components: Metastore > Environment: Hadoop 2.5-snapshot with kerberos authentication on > Reporter: Thejas M Nair > Assignee: Thejas M Nair > Attachments: HIVE-7620.1.patch > > > When Hive metastore is started in a Hadoop 2.5 cluster, it fails to start > with following error > {code} > 14/07/31 17:45:58 [main]: ERROR metastore.HiveMetaStore: Metastore Thrift > Server threw an exception... > java.lang.NoSuchFieldError: SASL_PROPS > at > org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S.getHadoopSaslProperties(HadoopThriftAuthBridge20S.java:126) > at > org.apache.hadoop.hive.metastore.MetaStoreUtils.getMetaStoreSaslProperties(MetaStoreUtils.java:1483) > at > org.apache.hadoop.hive.metastore.HiveMetaStore.startMetaStore(HiveMetaStore.java:5225) > at > org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:5152) > {code} > Changes in HADOOP-10451 to remove SaslRpcServer.SASL_PROPS are causing this > error. -- This message was sent by Atlassian JIRA (v6.2#6252)