[ https://issues.apache.org/jira/browse/RANGER-4237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Abhishek Kumar updated RANGER-4237: ----------------------------------- Description: 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 was: 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. > 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)