Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 40896188CC for ; Wed, 26 Aug 2015 20:48:49 +0000 (UTC) Received: (qmail 28699 invoked by uid 500); 26 Aug 2015 20:48:49 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 28667 invoked by uid 500); 26 Aug 2015 20:48:49 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 28652 invoked by uid 99); 26 Aug 2015 20:48:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Aug 2015 20:48:49 +0000 Date: Wed, 26 Aug 2015 20:48:48 +0000 (UTC) From: "Nate Cole (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-12257) hive-site/hive.metastore.sasl.enabled value incorrect when adding Hive to a Kerberized Cluster MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-12257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nate Cole updated AMBARI-12257: ------------------------------- Fix Version/s: (was: 2.1.1) 2.1.2 > hive-site/hive.metastore.sasl.enabled value incorrect when adding Hive to a Kerberized Cluster > ---------------------------------------------------------------------------------------------- > > Key: AMBARI-12257 > URL: https://issues.apache.org/jira/browse/AMBARI-12257 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.1.0 > Reporter: Robert Levas > Assignee: Robert Levas > Priority: Critical > Labels: kerberos > Fix For: 2.1.2 > > > When *adding* Hive to an existing Kerberized cluster, the {{hive-site/hive.metastore.sasl.enabled}} value is set to {{false}} when it should be {{true}}. If Hive was installed before enabling Kerberos, > {{hive-site/hive.metastore.sasl.enabled}} is set to {{true}} after enabling Kerberos. > If {{hive-site/hive.metastore.sasl.enabled}} is {{false}} in a Kerberized cluster, the following error can be seen in the hiverserver2.log: > {noformat:title=/var/log/hive/hiveserver2.log} > 2015-07-01 23:35:16,128 ERROR [HiveServer2-Handler-Pool: Thread-37]: server.TThreadPoolServer (TThreadPoolServer.java:run(296)) - Error occurred during processing of message. > java.lang.RuntimeException: org.apache.thrift.transport.TTransportException: Unsupported mechanism type GSSAPI > at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:219) > at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:268) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > Caused by: org.apache.thrift.transport.TTransportException: Unsupported mechanism type GSSAPI > at org.apache.thrift.transport.TSaslTransport.sendAndThrowMessage(TSaslTransport.java:232) > at org.apache.thrift.transport.TSaslServerTransport.handleSaslStartMessage(TSaslServerTransport.java:138) > at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:271) > at org.apache.thrift.transport.TSaslServerTransport.open(TSaslServerTransport.java:41) > at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:216) > ... 4 more > {noformat} > *Cause* > It appears that the front end is updating the Kerberos Descriptor _artifact_ with _old_ data rather than the data the is specified on the stack's Kerberos Descriptor. This occurs during the transition between the "Review" and "Install, Start, Test" pages of the "Add Service Wizard". > *Solution* > Use the current Kerberos Descriptor's values as default value for the updated Kerberos Descriptor and update only what the user changes in the relevant fields. -- This message was sent by Atlassian JIRA (v6.3.4#6332)