ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jayush Luniya" <jlun...@hortonworks.com>
Subject Re: Review Request 33473: Ranger Admin Install fails with an Attribute Error
Date Thu, 23 Apr 2015 16:47:44 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/33473/#review81325
-----------------------------------------------------------

Ship it!


This code might become irrelevant depending on https://reviews.apache.org/r/33462/ but lets
fix existing code.

- Jayush Luniya


On April 23, 2015, 9:26 a.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/33473/
> -----------------------------------------------------------
> 
> (Updated April 23, 2015, 9:26 a.m.)
> 
> 
> Review request for Ambari and Jayush Luniya.
> 
> 
> Bugs: AMBARI-10686
>     https://issues.apache.org/jira/browse/AMBARI-10686
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> navigated through Ambari install wizard to install HDP. after install add
> ranger as a service (ranger db being Oracle). Ranger admin install fails with
> the below error:  
> Here is the cluster where we noticed this: 172.22.72.225:8080. please help
> take a look
> 
>     
>     
>     
>     Traceback (most recent call last):
>       File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py",
line 74, in <module>
>         RangerAdmin().execute()
>       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/RANGER/0.4.0/package/scripts/ranger_admin.py",
line 37, in install
>         self.configure(env)
>       File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py",
line 70, in configure
>         setup_ranger_admin()
>       File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/setup_ranger.py",
line 29, in setup_ranger_admin
>         check_db_connnection()
>       File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/setup_ranger.py",
line 99, in check_db_connnection
>         Logger.info(ex)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/logger.py", line
65, in info
>         Logger.logger.info(Logger.filter_text(text))
>       File "/usr/lib/python2.6/site-packages/resource_management/core/logger.py", line
98, in filter_text
>         text = text.replace(placeholder, '')
>     AttributeError: 'Fail' object has no attribute 'replace'
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/setup_ranger.py
391df2a 
> 
> Diff: https://reviews.apache.org/r/33473/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message