ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandor Magyari (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-16430) Remove hive identity from NODEMANAGER kerberos settings
Date Wed, 11 May 2016 08:09:12 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-16430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sandor Magyari updated AMBARI-16430:
------------------------------------
    Status: Patch Available  (was: Open)

> Remove hive identity from NODEMANAGER kerberos settings
> -------------------------------------------------------
>
>                 Key: AMBARI-16430
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16430
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: ambari-2.4.0
>            Reporter: Sandor Magyari
>            Assignee: Sandor Magyari
>            Priority: Blocker
>             Fix For: ambari-2.4.0
>
>         Attachments: AMBARI-16430.patch
>
>
> Secure cluster deployments containing NODEMANAGER without HIVE components, fails when

> distributing Keytabs because hive-env.hive_user is not set:
> {code}
> Traceback (most recent call last):
>   File "/var/lib/ambari-agent/cache/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_client.py",
line 79, in <module>
>     KerberosClient().execute()
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 254, in execute
>     method(env)
>   File "/var/lib/ambari-agent/cache/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_client.py",
line 69, in set_keytab
>     self.write_keytab_file()
>   File "/var/lib/ambari-agent/cache/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_common.py",
line 407, in write_keytab_file
>     group=group)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155,
in __init__
>     self.env.run()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line
160, in run
>     self.run_action(resource, action)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line
124, in run_action
>     provider_action()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
line 141, in action_create
>     self.resource.group, mode=self.resource.mode, cd_access=self.resource.cd_access)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
line 53, in _ensure_metadata
>     raise Fail("User '{0}' doesn't exist".format(user))
> resource_management.core.exceptions.Fail: User '${hive-env/hive_user}' doesn't exist
> {code}



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

Mime
View raw message