You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Dineshkumar Yadav (Jira)" <ji...@apache.org> on 2021/03/12 10:13:00 UTC

[jira] [Updated] (RANGER-3206) Enhance db_setup.py to allow reading env variables set in ranger-admin-env scripts

     [ https://issues.apache.org/jira/browse/RANGER-3206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dineshkumar Yadav updated RANGER-3206:
--------------------------------------
    Summary: Enhance db_setup.py to allow reading env variables set in ranger-admin-env scripts  (was: [HDP to HDP7 upgrade] Ranger admin may fail to start during change all admin password)

> Enhance db_setup.py to allow reading env variables set in ranger-admin-env scripts
> ----------------------------------------------------------------------------------
>
>                 Key: RANGER-3206
>                 URL: https://issues.apache.org/jira/browse/RANGER-3206
>             Project: Ranger
>          Issue Type: Improvement
>          Components: Ranger
>            Reporter: Dineshkumar Yadav
>            Assignee: Dineshkumar Yadav
>            Priority: Major
>
> During the upgrade Ranger admin may fail applying Java patch to change all admin password if hadoop.security.credstore.java-keystore-provider.password-file property is set in core-site.
> This fix required below manual steps before HDP upgrade. 
> 1. ssh to ranger admin host
> 2. cd /etc/ranger/admin/conf/
> 3. vi ranger-admin-env-credstore.sh
> 4. add "export HADOOP_CREDSTORE_PASSWORD=none" in the "ranger-admin-env-credstore.sh" file
> 5. chown ranger:ranger ranger-admin-env-credstore.sh
> 6. chmod 755 ranger-admin-env-credstore.sh



--
This message was sent by Atlassian Jira
(v8.3.4#803005)