Member since
07-01-2016
2
Posts
0
Kudos Received
0
Solutions
07-13-2016
02:21 PM
Thanks Steve for the article..that did the trick...thanks again for all ur help Sreeram
... View more
07-12-2016
06:44 PM
HI, I recently upgraded from HDP 2.3.2 to HDP 2.4.2 on a secure cluster. When I try to start MR History server, yarn Timeline service and HBase master service, all three are throwing the same error as failed to obtain user group information: java.io.IOException: Usernames not matched: name=hdfs != expected=hdfs-REALM
Below is the stacktrace:
File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py", line 195, in run_command
raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of 'curl -sS -L -w '%{http_code}' -X GET --negotiate -u : 'http://znlhacdt0002.amer.zurich.corp:50070/webhdfs/v1/app-logs?op=GETFILESTATUS&user.name=hdfs'' returned status_code=403.
{
"RemoteException": {
"exception": "SecurityException",
"javaClassName": "java.lang.SecurityException",
"message": "Failed to obtain user group information: java.io.IOException: Usernames not matched: name=hdfs != expected=hdfs-SANDBOX"
}
}
Not sure why the user.name its using hdfs-sandox instead hdfs. When I tried the curl, it works with hdfs-sandbox, but doesnt work with hdfs. Please let me know where I have to change the config to make it work..
Any help is greatly appreciated.
thanks,
Sreeram
... View more
Labels:
- Labels:
-
Apache Hadoop