ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Re: Review Request 33473: Ranger Admin Install fails with an Attribute Error
Date Fri, 24 Apr 2015 09:58:16 GMT

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

(Updated April 24, 2015, 9:58 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 (updated)
-----

  ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/setup_ranger.py
391df2a 
  ambari-server/src/test/python/stacks/2.2/RANGER/test_ranger_admin.py 4bff50f 

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