0

I am using hdp 2.5.3, with isilon storage as DataNode, Ambari shows below error whenever i want to start yarn or hive

self.util.run_command(self.main_resource.resource.target, 'SETPERMISSION', method='PUT', permission=self.mode, assertable_result=False)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py", line 192, in run_command
    raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of 'curl -sS -L -w '%{http_code}' -X PUT 'http://zonehdfs.isi.mcci.local:8082/webhdfs/v1/ats/done?op=SETPERMISSION&user.name=hdfs&permission=755'' returned status_code=403. 
{
  "RemoteException": {
    "exception": "AccessControlException", 
    "javaClassName": "org.apache.hadoop.security.AccessControlException", 
    "message": "Permission denied: user=hdfs, access=WRITE, path=\"/ats/done\""
  }
}

1 Answers1

0

Error is pretty clear. The User hdfs wants for Write in the Folder /ats/done and is not allowed to. Give him the write-permissions and it should work.

Daniel
  • 1,027
  • 1
  • 8
  • 23