You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Velmurugan Periasamy (JIRA)" <ji...@apache.org> on 2015/11/28 16:39:11 UTC

[jira] [Commented] (RANGER-751) Ranger admin setup fails with TypeError

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

Velmurugan Periasamy commented on RANGER-751:
---------------------------------------------

Patch Review request available - https://reviews.apache.org/r/40781/

> Ranger admin setup fails with TypeError
> ---------------------------------------
>
>                 Key: RANGER-751
>                 URL: https://issues.apache.org/jira/browse/RANGER-751
>             Project: Ranger
>          Issue Type: Bug
>          Components: admin, Ranger
>    Affects Versions: 0.6.0
>            Reporter: Velmurugan Periasamy
>            Assignee: Velmurugan Periasamy
>            Priority: Blocker
>             Fix For: 0.6.0
>
>
> Ranger admin setup fails with the below error:
> {noformat}
> Traceback (most recent call last):
>   File "update_property.py", line 40, in <module>    write_properties_to_xml(ranger_admin_site_xml_path,parameter_name,parameter_value)
>   File "update_property.py", line 21, in write_properties_to_xml
>     if(os.path.isfile(xml_path)):
>   File "/usr/lib/python2.7/genericpath.py", line 29, in isfile
>     st = os.stat(path)
> TypeError: coercing to Unicode: need string or buffer, NoneType found
> 2015-11-28 18:46:39,743  [E] Update property failed for:
> {noformat}
> This issue is most likely introduced by this commit https://github.com/apache/incubator-ranger/commit/d5c707ffc5517722d6a5514ded2ed31a0d4ae6e4 performed for https://issues.apache.org/jira/browse/RANGER-685
> This is critical and needs to be fixed ASAP.



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