[
https://issues.apache.org/jira/browse/AMBARI-16801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Levas updated AMBARI-16801:
----------------------------------
Attachment: AMBARI-16801_trunk_01.patch
> MAPREDUCE2_SERVICE_CHECK failed on secured cluster
> --------------------------------------------------
>
> Key: AMBARI-16801
> URL: https://issues.apache.org/jira/browse/AMBARI-16801
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.4.0
> Reporter: Robert Levas
> Assignee: Robert Levas
> Priority: Blocker
> Fix For: 2.4.0
>
> Attachments: AMBARI-16801_trunk_01.patch
>
>
> Error:
> {code}
> "stderr" : "Traceback (most recent call last):\n File
> \"/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/mapred_service_check.py\",
> line 162, in <module>\n MapReduce2ServiceCheck().execute()\n File
> \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
> line 254, in execute\n method(env)\n File
> \"/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/mapred_service_check.py\",
> line 140, in service_check\n params.smokeuser_principal, params.hostname,
> params.tmp_dir)\n File
> \"/usr/lib/python2.6/site-packages/resource_management/libraries/functions/security_commons.py\",
> line 204, in cached_kinit_executor\n new_cached_exec(key, file_path,
> kinit_path, temp_dir, exec_user, keytab_file, principal, hostname)\n File
> \"/usr/lib/python2.6/site-packages/resource_management/libraries/functions/security_commons.py\",
> line 225, in new_cached_exec\n Execute(command, user=exec_user)\n File
> \"/usr/lib/python2.6/site-packages/resource_management/core/base.py\", line
> 155, in __init__\n self.env.run()\n File
> \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\",
> line 160, in run\n self.run_action(resource, action)\n File
> \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\",
> line 124, in run_action\n provider_action()\n File
> \"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py\",
> line 273, in action_run\n tries=self.resource.tries,
> try_sleep=self.resource.try_sleep)\n File
> \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line
> 70, in inner\n result = function(command, **kwargs)\n File
> \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line
> 92, in checked_call\n tries=tries, try_sleep=try_sleep)\n File
> \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line
> 140, in _call_wrapper\n result = _call(command, **kwargs_copy)\n File
> \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line
> 293, in _call\n raise
> Fail(err_msg)\nresource_management.core.exceptions.Fail: Execution of
> '/usr/bin/kinit -c /var/lib/ambari-agent/tmp/tmpGyLePc -kt
> /etc/security/keytabs/smokeuser.headless.keytab [email protected]'
> returned 1. kinit(v5): Internal credentials cache error when initializing
> cache /var/lib/ambari-agent/tmp/tmpGyLePc",
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)