I have user as 'knox' on hadoop cluster (Kerberos enabled). I am running Demo LDAP for Knox authentication.
My proxy settings in core-site.xml:
hadoop.proxyuser.knox.groups = users
hadoop.proxyuser.knox.hosts = [myhadoopMasterNode_Hostname]
Now I am trying to run curl command using username 'guest' and pwd 'guest-password' from users.ldif file.
This is giving error: knox is not able to impersonate guest.
Then I changed this property: hadoop.proxyuser.knox.groups=*. I am able to run curl command successfully.
Please help me understand two things:
1) How this property(hadoop.proxyuser.knox.groups) setting is working>
2) Can identity-assertion property in topology file can help resolving this same issue?