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

Hudson commented on AMBARI-14522:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #4106 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/4106/])
AMBARI-14522. Unable to install Ranger Admin and start Ranger Usersync 
(aonishuk: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0050787b853898a1387556b8f16cd1bfe609c3b5])
* 
ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/kms.py
* 
ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py
* 
ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/ranger_service.py


> 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)

Reply via email to