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-10059) Start services are failed(SERVICE_CHECK falcon is failed) when adding falcon service on kerberized Ambari 2.0 with enabled NN, HA RM
Date Fri, 13 Mar 2015 17:29:38 GMT

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

Hudson commented on AMBARI-10059:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2028 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2028/])
AMBARI-10059. Start services are failed(SERVICE_CHECK falcon is failed) when adding falcon
service on kerberized Ambari 2.0 with enabled NN, HA RM (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=f92c3f13fac6af66b2d429feade5414146ca63f2)
* ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/kerberos.json


> Start services are failed(SERVICE_CHECK falcon is failed) when adding falcon service
on kerberized Ambari 2.0 with enabled NN, HA RM
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-10059
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10059
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.0.0
>
>
> CentOS 6.5, hash 86f309f4bffd430f1aadab59c2f44efd27378d47
> STR:
>   * Deploy cluster (HDFS, YARN/MR2, HIVE, TEZ, PIG, METRICS in my case)
>   * Enable HDFS HA, RM HA
>   * Enable security
>   * Add Falcon Service
> Expected: Services will start successfully  
> Real: Services start failed.
>     
>     
>     
>     stderr:   /var/lib/ambari-agent/data/errors-427.txt
>     
>     2015-03-11 14:36:31,608 - 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 214, in execute
>         method(env)
>       File "/var/lib/ambari-agent/cache/common-services/FALCON/0.5.0.2.1/package/scripts/service_check.py",
line 36, in service_check
>         try_sleep = 20
>       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 274, in action_run
>         raise ex
>     Fail: Execution of '/usr/hdp/current/falcon-client/bin/falcon admin -version' returned
255. Stacktrace:
>     org.apache.falcon.client.FalconCLIException: Unable to initialize Falcon Client object
>     	at org.apache.falcon.client.FalconClient.<init>(FalconClient.java:145)
>     	at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:178)
>     	at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:133)
>     Caused by: org.apache.falcon.client.FalconCLIException: Could not authenticate, Authentication
failed, status: 503, message: Service Unavailable
>     	at org.apache.falcon.client.FalconClient.getToken(FalconClient.java:172)
>     	at org.apache.falcon.client.FalconClient.<init>(FalconClient.java:143)
>     	... 2 more
>     Caused by: org.apache.hadoop.security.authentication.client.AuthenticationException:
Authentication failed, status: 503, message: Service Unavailable
>     	at org.apache.hadoop.security.authentication.client.AuthenticatedURL.extractToken(AuthenticatedURL.java:275)
>     	at org.apache.hadoop.security.authentication.client.PseudoAuthenticator.authenticate(PseudoAuthenticator.java:77)
>     	at org.apache.hadoop.security.authentication.client.KerberosAuthenticator.authenticate(KerberosAuthenticator.java:205)
>     	at org.apache.hadoop.security.authentication.client.AuthenticatedURL.openConnection(AuthenticatedURL.java:216)
>     	at org.apache.falcon.client.FalconClient.getToken(FalconClient.java:170)
>     	... 3 more
>     stdout:   /var/lib/ambari-agent/data/output-427.txt
>     
>     2015-03-11 14:35:47,350 - u"Execute['/usr/bin/kinit -kt /etc/security/keytabs/smokeuser.headless.keytab
ambari-qa']" {'user': 'ambari-qa'}
>     2015-03-11 14:35:47,460 - u"Execute['/usr/hdp/current/falcon-client/bin/falcon admin
-version']" {'logoutput': True, 'tries': 3, 'user': 'ambari-qa', 'try_sleep': 20}
>     Stacktrace:
>     org.apache.falcon.client.FalconCLIException: Unable to initialize Falcon Client object
>     	at org.apache.falcon.client.FalconClient.<init>(FalconClient.java:145)
>     	at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:178)
>     	at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:133)
>     Caused by: org.apache.falcon.client.FalconCLIException: Could not authenticate, Authentication
failed, status: 503, message: Service Unavailable
>     	at org.apache.falcon.client.FalconClient.getToken(FalconClient.java:172)
>     	at org.apache.falcon.client.FalconClient.<init>(FalconClient.java:143)
>     	... 2 more
>     Caused by: org.apache.hadoop.security.authentication.client.AuthenticationException:
Authentication failed, status: 503, message: Service Unavailable
>     	at org.apache.hadoop.security.authentication.client.AuthenticatedURL.extractToken(AuthenticatedURL.java:275)
>     	at org.apache.hadoop.security.authentication.client.PseudoAuthenticator.authenticate(PseudoAuthenticator.java:77)
>     	at org.apache.hadoop.security.authentication.client.KerberosAuthenticator.authenticate(KerberosAuthenticator.java:205)
>     	at org.apache.hadoop.security.authentication.client.AuthenticatedURL.openConnection(AuthenticatedURL.java:216)
>     	at org.apache.falcon.client.FalconClient.getToken(FalconClient.java:170)
>     	... 3 more
>     2015-03-11 14:35:48,816 - Retrying after 20 seconds. Reason: Execution of '/usr/hdp/current/falcon-client/bin/falcon
admin -version' returned 255. Stacktrace:
>     org.apache.falcon.client.FalconCLIException: Unable to initialize Falcon Client object
>     	at org.apache.falcon.client.FalconClient.<init>(FalconClient.java:145)
>     	at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:178)
>     	at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:133)
>     Caused by: org.apache.falcon.client.FalconCLIException: Could not authenticate, Authentication
failed, status: 503, message: Service Unavailable
>     	at org.apache.falcon.client.FalconClient.getToken(FalconClient.java:172)
>     	at org.apache.falcon.client.FalconClient.<init>(FalconClient.java:143)
>     	... 2 more
>     Caused by: org.apache.hadoop.security.authentication.client.AuthenticationException:
Authentication failed, status: 503, message: Service Unavailable
>     	at org.apache.hadoop.security.authentication.client.AuthenticatedURL.extractToken(AuthenticatedURL.java:275)
>     	at org.apache.hadoop.security.authentication.client.PseudoAuthenticator.authenticate(PseudoAuthenticator.java:77)
>     	at org.apache.hadoop.security.authentication.client.KerberosAuthenticator.authenticate(KerberosAuthenticator.java:205)
>     	at org.apache.hadoop.security.authentication.client.AuthenticatedURL.openConnection(AuthenticatedURL.java:216)
>     	at org.apache.falcon.client.FalconClient.getToken(FalconClient.java:170)
>     	... 3 more
>     Stacktrace:
>     org.apache.falcon.client.FalconCLIException: Unable to initialize Falcon Client object
>     	at org.apache.falcon.client.FalconClient.<init>(FalconClient.java:145)
>     	at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:178)
>     	at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:133)
>     Caused by: org.apache.falcon.client.FalconCLIException: Could not authenticate, Authentication
failed, status: 503, message: Service Unavailable
>     	at org.apache.falcon.client.FalconClient.getToken(FalconClient.java:172)
>     	at org.apache.falcon.client.FalconClient.<init>(FalconClient.java:143)
>     	... 2 more
>     Caused by: org.apache.hadoop.security.authentication.client.AuthenticationException:
Authentication failed, status: 503, message: Service Unavailable
>     	at org.apache.hadoop.security.authentication.client.AuthenticatedURL.extractToken(AuthenticatedURL.java:275)
>     	at org.apache.hadoop.security.authentication.client.PseudoAuthenticator.authenticate(PseudoAuthenticator.java:77)
>     	at org.apache.hadoop.security.authentication.client.KerberosAuthenticator.authenticate(KerberosAuthenticator.java:205)
>     	at org.apache.hadoop.security.authentication.client.AuthenticatedURL.openConnection(AuthenticatedURL.java:216)
>     	at org.apache.falcon.client.FalconClient.getToken(FalconClient.java:170)
>     	... 3 more
>     2015-03-11 14:36:10,190 - Retrying after 20 seconds. Reason: Execution of '/usr/hdp/current/falcon-client/bin/falcon
admin -version' returned 255. Stacktrace:
>     org.apache.falcon.client.FalconCLIException: Unable to initialize Falcon Client object
>     	at org.apache.falcon.client.FalconClient.<init>(FalconClient.java:145)
>     	at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:178)
>     	at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:133)
>     Caused by: org.apache.falcon.client.FalconCLIException: Could not authenticate, Authentication
failed, status: 503, message: Service Unavailable
>     	at org.apache.falcon.client.FalconClient.getToken(FalconClient.java:172)
>     	at org.apache.falcon.client.FalconClient.<init>(FalconClient.java:143)
>     	... 2 more
>     Caused by: org.apache.hadoop.security.authentication.client.AuthenticationException:
Authentication failed, status: 503, message: Service Unavailable
>     	at org.apache.hadoop.security.authentication.client.AuthenticatedURL.extractToken(AuthenticatedURL.java:275)
>     	at org.apache.hadoop.security.authentication.client.PseudoAuthenticator.authenticate(PseudoAuthenticator.java:77)
>     	at org.apache.hadoop.security.authentication.client.KerberosAuthenticator.authenticate(KerberosAuthenticator.java:205)
>     	at org.apache.hadoop.security.authentication.client.AuthenticatedURL.openConnection(AuthenticatedURL.java:216)
>     	at org.apache.falcon.client.FalconClient.getToken(FalconClient.java:170)
>     	... 3 more
>     Stacktrace:
>     org.apache.falcon.client.FalconCLIException: Unable to initialize Falcon Client object
>     	at org.apache.falcon.client.FalconClient.<init>(FalconClient.java:145)
>     	at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:178)
>     	at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:133)
>     Caused by: org.apache.falcon.client.FalconCLIException: Could not authenticate, Authentication
failed, status: 503, message: Service Unavailable
>     	at org.apache.falcon.client.FalconClient.getToken(FalconClient.java:172)
>     	at org.apache.falcon.client.FalconClient.<init>(FalconClient.java:143)
>     	... 2 more
>     Caused by: org.apache.hadoop.security.authentication.client.AuthenticationException:
Authentication failed, status: 503, message: Service Unavailable
>     	at org.apache.hadoop.security.authentication.client.AuthenticatedURL.extractToken(AuthenticatedURL.java:275)
>     	at org.apache.hadoop.security.authentication.client.PseudoAuthenticator.authenticate(PseudoAuthenticator.java:77)
>     	at org.apache.hadoop.security.authentication.client.KerberosAuthenticator.authenticate(KerberosAuthenticator.java:205)
>     	at org.apache.hadoop.security.authentication.client.AuthenticatedURL.openConnection(AuthenticatedURL.java:216)
>     	at org.apache.falcon.client.FalconClient.getToken(FalconClient.java:170)
>     	... 3 more
>     2015-03-11 14:36:31,608 - 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 214, in execute
>         method(env)
>       File "/var/lib/ambari-agent/cache/common-services/FALCON/0.5.0.2.1/package/scripts/service_check.py",
line 36, in service_check
>         try_sleep = 20
>       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 274, in action_run
>         raise ex
>     Fail: Execution of '/usr/hdp/current/falcon-client/bin/falcon admin -version' returned
255. Stacktrace:
>     org.apache.falcon.client.FalconCLIException: Unable to initialize Falcon Client object
>     	at org.apache.falcon.client.FalconClient.<init>(FalconClient.java:145)
>     	at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:178)
>     	at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:133)
>     Caused by: org.apache.falcon.client.FalconCLIException: Could not authenticate, Authentication
failed, status: 503, message: Service Unavailable
>     	at org.apache.falcon.client.FalconClient.getToken(FalconClient.java:172)
>     	at org.apache.falcon.client.FalconClient.<init>(FalconClient.java:143)
>     	... 2 more
>     Caused by: org.apache.hadoop.security.authentication.client.AuthenticationException:
Authentication failed, status: 503, message: Service Unavailable
>     	at org.apache.hadoop.security.authentication.client.AuthenticatedURL.extractToken(AuthenticatedURL.java:275)
>     	at org.apache.hadoop.security.authentication.client.PseudoAuthenticator.authenticate(PseudoAuthenticator.java:77)
>     	at org.apache.hadoop.security.authentication.client.KerberosAuthenticator.authenticate(KerberosAuthenticator.java:205)
>     	at org.apache.hadoop.security.authentication.client.AuthenticatedURL.openConnection(AuthenticatedURL.java:216)
>     	at org.apache.falcon.client.FalconClient.getToken(FalconClient.java:170)
>     	... 3 more
>     



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

Mime
View raw message