ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-9940) Oozie Service check fails on cluster with Oozie HA + Security
Date Thu, 05 Mar 2015 04:56:38 GMT

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

Hudson commented on AMBARI-9940:
--------------------------------

FAILURE: Integrated in Ambari-branch-2.0.0 #6 (See [https://builds.apache.org/job/Ambari-branch-2.0.0/6/])
AMBARI-9940. Oozie Service check fails on cluster with Oozie HA + Security (smohanty: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=37525b562c077735c74950afe4eb24ce3872b60b)
* ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/files/oozieSmoke2.sh


> 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
> <VirtualHost *:11000>
>         ProxyRequests off
>         ServerName c6404.ambari.apache.org
>         <Proxy balancer://ooziebalancer>
>                 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
>         </Proxy>
>         <Location /balancer-manager>
>                 SetHandler balancer-manager
>                 Order deny,allow
>                 Allow from all
>         </Location>
>         ProxyPass /balancer-manager !
>         ProxyPass / balancer://ooziebalancer/
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message