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

Bhavik Patel commented on RANGER-4237:
--------------------------------------

Ambari community is working on python3 support and PR is already raised couple 
of week back.

> Fix bugs in changepasswordutil.py and changeusernameutil.py
> -----------------------------------------------------------
>
>                 Key: RANGER-4237
>                 URL: https://issues.apache.org/jira/browse/RANGER-4237
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>    Affects Versions: 2.4.0
>            Reporter: Abhishek Kumar
>            Assignee: Abhishek Kumar
>            Priority: Major
>             Fix For: 3.0.0
>
>
> Found bugs:
>  * changepasswordutil.py exposes passwords while taking input
>  * unused imports
>  * RMI call to java may hang indefinitely in case the command doesn't 
> complete, add a timeout.
>  * Redundant logging constructs
>  * Fix while loops for parsing user input
>  * Use argparse & getpass to parse input
>  * Avoid sys.exit(1) in function calls to be more reusable.
>  * migrate to python3



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to