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 D6D4517922 for ; Thu, 5 Mar 2015 03:01:38 +0000 (UTC) Received: (qmail 89841 invoked by uid 500); 5 Mar 2015 03:01:38 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 89796 invoked by uid 500); 5 Mar 2015 03:01:38 -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 89777 invoked by uid 99); 5 Mar 2015 03:01:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2015 03:01:38 +0000 Date: Thu, 5 Mar 2015 03:01:38 +0000 (UTC) From: "Sumit Mohanty (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-9940) Oozie Service check fails on cluster with Oozie HA + Security 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-9940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sumit Mohanty updated AMBARI-9940: ---------------------------------- Attachment: AMBARI-9940.patch > Oozie Service check fails on cluster with Oozie HA + Security > ------------------------------------------------------------- > > Key: AMBARI-9940 > URL: https://issues.apache.org/jira/browse/AMBARI-9940 > Project: Ambari > Issue Type: Bug > Components: stacks > Affects Versions: 2.0.0 > Reporter: Sumit Mohanty > Assignee: Sumit Mohanty > Fix For: 2.0.0 > > Attachments: AMBARI-9940.patch > > > Install Oozie server to each node of cluster. > Configure Oozie HA. > Run Oozie service check - passed > Enable Security > Run Oozie service check - it fails > {code} > No of retries = 1. Exception = Could not authenticate, GSSException: No valid credentials provided (Mechanism level: Server not found in Kerberos database (7) - UNKNOWN_SERVER) > Invalid sub-command: Missing argument for option: info > use 'help [sub-command]' for help details > Invalid sub-command: Missing argument for option: info > use 'help [sub-command]' for help details > workflow_status= > 2015-02-27 11:22:13,475 - Error while executing command 'service_check': > Traceback (most recent call last): > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 208, in execute > method(env) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/service_check.py", line 35, in service_check > oozie_smoke_shell_file( smoke_test_file_name) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/service_check.py", line 56, in oozie_smoke_shell_file > logoutput = True > File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__ > self.env.run() > File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 152, in run > self.run_action(resource, action) > File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 118, in run_action > provider_action() > File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 276, in action_run > raise ex > Fail: Execution of '/var/lib/ambari-agent/data/tmp/oozieSmoke2.sh /usr/hdp/current/oozie-client /etc/oozie/conf /usr/hdp/current/oozie-client/bin /etc/hadoop/conf /usr/hdp/current/hadoop-client/bin ambari-qa True /etc/security/keytabs/smokeuser.headless.keytab /usr/bin/kinit ambari-qa@EXAMPLE.COM' returned 1. Located Oozie examples JAR at /usr/hdp/current/oozie-client/doc > 15/02/27 11:21:49 INFO fs.TrashPolicyDefault: Namenode trash configuration: Deletion interval = 360 minutes, Emptier interval = 0 minutes. > Moved: 'hdfs://c6401.ambari.apache.org:8020/user/ambari-qa/examples' to trash at: hdfs://c6401.ambari.apache.org:8020/user/ambari-qa/.Trash/Current > 15/02/27 11:21:55 INFO fs.TrashPolicyDefault: Namenode trash configuration: Deletion interval = 360 minutes, Emptier interval = 0 minutes. > Moved: 'hdfs://c6401.ambari.apache.org:8020/user/ambari-qa/input-data' to trash at: hdfs://c6401.ambari.apache.org:8020/user/ambari-qa/.Trash/Current > /usr/bin/kinit -kt /etc/security/keytabs/smokeuser.headless.keytab /usr/hdp/current/oozie-client0; source /etc/oozie/conf/oozie-env.sh ; /usr/hdp/current/oozie-client/bin/oozie -Doozie.auth.token.cache=false job -oozie http://c6404.ambari.apache.org:11000/oozie -config /usr/hdp/current/oozie-client/doc/examples/apps/map-reduce/job.properties -run > kinit: Keytab contains no suitable keys for /usr/hdp/current/oozie-client0@EXAMPLE.COM while getting initial credentials > Error: IO_ERROR : java.io.IOException: Error while connecting Oozie server. No of retries = 1. Exception = Could not authenticate, GSSException: No valid credentials provided (Mechanism level: Server not found in Kerberos database (7) - UNKNOWN_SERVER) > Invalid sub-command: Missing argument for option: info > use 'help [sub-command]' for help details > Invalid sub-command: Missing argument for option: info > use 'help [sub-command]' for help details > workflow_status= > {code} > Part of httpd.conf with balancer config > {code} > Listen 11000 > > ProxyRequests off > ServerName c6404.ambari.apache.org > > BalancerMember http://c6401.ambari.apache.org:11000 > BalancerMember http://c6402.ambari.apache.org:11000 > BalancerMember http://c6403.ambari.apache.org:11000 > Order Deny,Allow > Deny from none > Allow from all > ProxySet lbmethod=byrequests > > > SetHandler balancer-manager > Order deny,allow > Allow from all > > ProxyPass /balancer-manager ! > ProxyPass / balancer://ooziebalancer/ > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)