ambari-dev mailing list archives

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

             Summary: 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


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