使用Ambari

时间:2017-05-09 05:56:34

标签: yarn hortonworks-data-platform ambari emc

我正在使用hdp 2.5.3,使用isilon存储作为DataNode,Ambari在我想要启动纱线或蜂巢时显示以下错误

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 个答案:

答案 0 :(得分:0)

错误非常清楚。用户hdfs希望在文件夹/ats/done中写入并且不允许。给他写权限,它应该工作。