Ok.

I updated the configuration in Ambari UI. (is that what you meant, not the
Ranger UI but the ambari UI, right ?)
Then I tested to execute the script you mentioned but I got the following
error message :
###
# /usr/hdp/current/ranger-usersync/updatepolicymgrpassword.sh
Please enter policymgr username: rangerusersync
Please enter policymgr password: [2016/05/13 17:40:13]:  [I] Storing
policymgr usersync password in credential store
Error: Could not find or load main class
org.apache.ranger.credentialapi.buildks
ERROR: Required file, not found:
/usr/hdp/current/ranger-usersync/conf/unixauthservice.properties, Aborting
installation
###

I'll retry with the Custom usersync-properties ? Maybe it will create this
property file ?

BR.

Lune.

On Fri, May 13, 2016 at 5:32 PM, Sailaja Polavarapu <
spolavar...@hortonworks.com> wrote:

> Custom ranger-ugsync-site.
> P.S:- These properties are configured only when the rangerusersync user’s
> default password in changed.
> Changing the default password is a 2-step process – 1. Update the password
> in Ranger UI, 2. Run updatepolicymgrpassword.sh to update the key store.
>
> - Sailaja.
>
> From: Lune Silver <lunescar.ran...@gmail.com>
> Reply-To: "user@ranger.incubator.apache.org" <
> user@ranger.incubator.apache.org>
> Date: Friday, May 13, 2016 at 8:16 AM
> To: "user@ranger.incubator.apache.org" <user@ranger.incubator.apache.org>
> Subject: Re: Cannot log in the Ranger Admin UI
>
> hello Sailaja.
>
> As usual your answers aree realy helpful, thanks.
>
> Just a last question, do you know where do I have to add these properties
> in ambari UI ?
> - ranger.usersync.policymgr.username
> - ranger.usersync.policymgr.password
> - ranger.usersync.policymgr.alias
>
> In the custom usersync-properties part of the advanced tab in Ambari UI ?
> Or in the part "Custom ranger-ugsync-site" ?
> Or another one ?
>
> BR.
>
> Lune.
>

Reply via email to