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-11124) PIG service check fails on enabling security
Date Thu, 14 May 2015 11:17:00 GMT

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

Hudson commented on AMBARI-11124:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #2593 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2593/])
AMBARI-11124. PIG service check fails on enabling security (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=630b501ef478d6b63226ae5b66768ac16692c3d8)
* ambari-server/src/main/resources/common-services/PIG/0.12.0.2.0/package/scripts/params_linux.py
* ambari-server/src/test/python/stacks/2.2/PIG/test_pig_service_check.py


> PIG service check fails on enabling security
> --------------------------------------------
>
>                 Key: AMBARI-11124
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11124
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.1.0
>
>
> On enabling security PIG service check fails. Noticed this on devdeploy test
> run.
> Logs:
>     
>     
>     stderr:   /var/lib/ambari-agent/data/errors-609.txt
>     
>     2015-05-13 20:11:15,910 - 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/PIG/0.12.0.2.0/package/scripts/service_check.py",
line 50, in service_check
>         params.HdfsResource(None, action="execute")
>       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/libraries/providers/hdfs_resource.py",
line 101, in action_execute
>         user=user
>       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 269, in action_run
>         raise ex
>     Fail: Execution of '/usr/bin/kinit -kt /etc/security/keytabs/hdfs.headless.keytab
hdfs@EXAMPLE.COM' returned 125. su: user hdfs@EXAMPLE.COM does not exist
>     stdout:   /var/lib/ambari-agent/data/output-609.txt
>     
>     2015-05-13 20:11:15,770 - HdfsResource['/user/ambari-qa/pigsmoke.out'] {'security_enabled':
True, 'hadoop_bin_dir': '/usr/hdp/current/hadoop-client/bin', 'keytab': '/etc/security/keytabs/hdfs.headless.keytab',
'kinit_path_local': '/usr/bin/kinit', 'user': 'ambari-qa', 'action': ['delete_on_execute'],
'hadoop_conf_dir': '/usr/hdp/current/hadoop-client/conf', 'type': 'directory'}
>     2015-05-13 20:11:15,772 - HdfsResource['/user/ambari-qa/passwd'] {'security_enabled':
True, 'hadoop_bin_dir': '/usr/hdp/current/hadoop-client/bin', 'keytab': '/etc/security/keytabs/hdfs.headless.keytab',
'kinit_path_local': '/usr/bin/kinit', 'source': '/etc/passwd', 'user': 'ambari-qa', 'action':
['create_on_execute'], 'hadoop_conf_dir': '/usr/hdp/current/hadoop-client/conf', 'type': 'file'}
>     2015-05-13 20:11:15,772 - HdfsResource['None'] {'security_enabled': True, 'hadoop_bin_dir':
'/usr/hdp/current/hadoop-client/bin', 'keytab': '/etc/security/keytabs/hdfs.headless.keytab',
'kinit_path_local': '/usr/bin/kinit', 'user': 'hdfs@EXAMPLE.COM', 'action': ['execute'], 'hadoop_conf_dir':
'/usr/hdp/current/hadoop-client/conf'}
>     2015-05-13 20:11:15,773 - Execute['/usr/bin/kinit -kt /etc/security/keytabs/hdfs.headless.keytab
hdfs@EXAMPLE.COM'] {'user': 'hdfs@EXAMPLE.COM'}
>     2015-05-13 20:11:15,910 - 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/PIG/0.12.0.2.0/package/scripts/service_check.py",
line 50, in service_check
>         params.HdfsResource(None, action="execute")
>       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/libraries/providers/hdfs_resource.py",
line 101, in action_execute
>         user=user
>       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 269, in action_run
>         raise ex
>     Fail: Execution of '/usr/bin/kinit -kt /etc/security/keytabs/hdfs.headless.keytab
hdfs@EXAMPLE.COM' returned 125. su: user hdfs@EXAMPLE.COM does not exist
>     



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

Mime
View raw message