[
https://issues.apache.org/jira/browse/AMBARI-20052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15872462#comment-15872462
]
Hadoop QA commented on AMBARI-20052:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12853281/AMBARI-20052.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:red}-1 tests included{color}. The patch doesn't appear to include
any new or modified tests.
Please justify why no new tests are needed for this
patch.
Also please list what manual steps were performed to
verify this patch.
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:green}+1 release audit{color}. The applied patch does not increase
the total number of release audit warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in
ambari-server.
Test results:
https://builds.apache.org/job/Ambari-trunk-test-patch/10635//testReport/
Console output:
https://builds.apache.org/job/Ambari-trunk-test-patch/10635//console
This message is automatically generated.
> Spark2 service check is failing in secure cluster
> -------------------------------------------------
>
> Key: AMBARI-20052
> URL: https://issues.apache.org/jira/browse/AMBARI-20052
> Project: Ambari
> Issue Type: Bug
> Reporter: Yesha Vora
> Assignee: Eugene Chekanskiy
> Attachments: AMBARI-20052.patch
>
>
> Spark2 Service check is failing in secure cluster.
> {code:title=errors-411.txt}
> Traceback (most recent call last):
> File
> "/var/lib/ambari-agent/cache/common-services/SPARK2/2.0.0/package/scripts/service_check.py",
> line 62, in <module>
> SparkServiceCheck().execute()
> File
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
> line 313, in execute
> method(env)
> File
> "/var/lib/ambari-agent/cache/common-services/SPARK2/2.0.0/package/scripts/service_check.py",
> line 36, in service_check
> livy_kinit_cmd = format("{kinit_path_local} -kt {smoke_user_keytab}
> {smokeuser_principal}; ")
> File
> "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format.py",
> line 95, in format
> return ConfigurationFormatter().format(format_string, args, **result)
> File
> "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format.py",
> line 59, in format
> result_protected = self.vformat(format_string, args, all_params)
> File "/usr/lib64/python2.7/string.py", line 549, in vformat
> result = self._vformat(format_string, args, kwargs, used_args, 2)
> File "/usr/lib64/python2.7/string.py", line 571, in _vformat
> obj, arg_used = self.get_field(field_name, args, kwargs)
> File "/usr/lib64/python2.7/string.py", line 632, in get_field
> obj = self.get_value(first, args, kwargs)
> File "/usr/lib64/python2.7/string.py", line 591, in get_value
> return kwargs[key]
> File "/usr/lib/python2.6/site-packages/resource_management/core/utils.py",
> line 57, in __getitem__
> return self._convert_value(self._dict[name])
> KeyError: 'smoke_user_keytab'{code}
> {code:title=output-411.txt}
> 2017-02-16 18:52:44,887 - Using hadoop conf dir:
> /usr/hdp/current/hadoop-client/conf
> 2017-02-16 18:52:44,904 - Execute['/usr/bin/kinit -kt
> /etc/security/keytabs/spark2.headless.keytab [email protected]; '] {'user':
> 'spark'}
> Command failed after 1 tries{code}
> As per above logs, kinit operation failed on a host. I was able to run same
> kinit command successfully from same host manually.
> {code}
> [root@xxx ~]$ sudo su spark
> bash-4.2$ /usr/bin/kinit -kt /etc/security/keytabs/spark2.headless.keytab
> [email protected]
> bash-4.2$ echo $?
> 0
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)