You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2015/04/08 15:07:31 UTC

Review Request 32968: Raw number password for ranger results in failure

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

Review request for Ambari and Vitalyi Brodetskyi.


Bugs: AMBARI-10397
    https://issues.apache.org/jira/browse/AMBARI-10397


Repository: ambari


Description
-------

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()
      File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/setup_ranger.py", line 29, in setup_ranger
        if check_db_connnection():
      File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/setup_ranger.py", line 236, in check_db_connnection
        cmd_str = "\"" + sql_command_invoker + "\"" + " -u " + db_root_user + " --password=" + db_root_password + " -h " + db_host + " -s -e \"select version();\""
    TypeError: coercing to Unicode: need string or buffer, int found


Diffs
-----

  ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/params.py d67211e 

Diff: https://reviews.apache.org/r/32968/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 32968: Raw number password for ranger results in failure

Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/32968/#review79334
-----------------------------------------------------------

Ship it!


Ship It!

- Vitalyi Brodetskyi


On Квітень 8, 2015, 1:07 після полудня, Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/32968/
> -----------------------------------------------------------
> 
> (Updated Квітень 8, 2015, 1:07 після полудня)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-10397
>     https://issues.apache.org/jira/browse/AMBARI-10397
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> 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()
>       File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/setup_ranger.py", line 29, in setup_ranger
>         if check_db_connnection():
>       File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/setup_ranger.py", line 236, in check_db_connnection
>         cmd_str = "\"" + sql_command_invoker + "\"" + " -u " + db_root_user + " --password=" + db_root_password + " -h " + db_host + " -s -e \"select version();\""
>     TypeError: coercing to Unicode: need string or buffer, int found
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/params.py d67211e 
> 
> Diff: https://reviews.apache.org/r/32968/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>