ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-14522) Unable to install Ranger Admin and start Ranger Usersync
Date Wed, 30 Dec 2015 10:19:49 GMT

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

Andrew Onischuk updated AMBARI-14522:
-------------------------------------
    Attachment: AMBARI-14522.patch

> Unable to install Ranger Admin and start Ranger Usersync
> --------------------------------------------------------
>
>                 Key: AMBARI-14522
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14522
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-14522.patch
>
>
> Tried to add Ranger via Add Service and catched these issues.  
> For install Ranger Admin:
>     
>     
>     Traceback (most recent call last):
>       File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py",
line 124, in <module>
>         RangerAdmin().execute()
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 237, in execute
>         method(env)
>       File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py",
line 45, in install
>         self.configure(env)
>       File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py",
line 103, in configure
>         ranger('ranger_admin')
>       File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py",
line 41, in ranger
>         setup_ranger_admin(upgrade_type=upgrade_type)
>       File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py",
line 101, in setup_ranger_admin
>         recursive_ownership = True,
>       File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line
147, in __init__
>         raise Fail("%s received unsupported argument %s" % (self, key))
>     resource_management.core.exceptions.Fail: Directory['/usr/hdp/current/ranger-admin/']
received unsupported argument user
>     
> For start Ranger Usersync:
>     
>     
>     Traceback (most recent call last):
>       File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_usersync.py",
line 82, in <module>
>         RangerUsersync().execute()
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 237, in execute
>         method(env)
>       File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_usersync.py",
line 51, in start
>         ranger_service('ranger_usersync')
>       File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_service.py",
line 40, in ranger_service
>         recursive_ownership = True,
>       File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line
147, in __init__
>         raise Fail("%s received unsupported argument %s" % (self, key))
>     resource_management.core.exceptions.Fail: Directory['/var/log/ranger/usersync/']
received unsupported argument user
>     
> Changing
>     
>     
>     user
> to
>     
>     
>     owner
> in ranger_service.py:38 and setup_ranger_xml.py:99 fixed issue.



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

Mime
View raw message