Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Ranger UI Users list does not show the User added through Rest API

Highlighted

Ranger UI Users list does not show the User added through Rest API

New Contributor

Hi,

I have upgraded my HDP to 2.6.2 version and testing Rangers 0.7. I have added a new user using Rest API from the host machine as below

curl -u admin:admin -v -i -s -X POST -H "Accept: application/json" -H "Content-Type: application/json" http://localhost:6080/service/xusers/users -d @/file_path/newuser.json

The above command executed successfully creating new user with and id = 23, so when I used the below curl command to get this user, it shows me the recently added user, But Ranger UI does not show the new user added. Can anyone please tell me why it is happening.

curl -u admin:admin -v -i -s -X GET http://localhost:6080/service/xusers/users/23

Thanks.