我尝试在hdfs中使用setfacl for solar user和chmod for/solr目录,但面临相同的问题。有人能帮忙吗
solrctl collection --create dev_test -c case_classification
{
"responseHeader":{ "status":400, "QTime":1611},
"failure":{
"server.com:8983_solr":
"org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:
Error from server at http://server.com:8983/solr: Error CREATEing SolrCore 'dev_test_shard1_replica_n1': Unable to create core [dev_test_shard1_replica_n1]
Caused by: Permission denied: user=solr, access=WRITE, inode=\"/\":hdfs:supergroup:drwxr-xr-x\n\tat org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:504)\n
\tat org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(FSPermissionChecker.java:336)\n
\tat org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermissionWithContext(FSPermissionChecker.java:360)\n
\tat org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(FSPermissionChecker.java:240)\n
\tat org.apache.hadoop.hdfs.server.namenode.FSDirectory.checkPermission(FSDirectory.java:1947)\n
\tat
暂无答案!
目前还没有任何答案,快来回答吧!