錯誤
Permission denied: user=dr.who, access=WRITE, inode=“/”:yuxiao:supergroup:drwxr-xr-x
問題
在本地單節(jié)點(diǎn)部署的Hadoop上刪除文件時出現(xiàn)沒有權(quán)限的錯誤,如下圖所示:
原因
Permission denied: user=dr.who, access=WRITE, inode="/":yuxiao:supergroup:drwxr-xr-x
,根據(jù)錯誤消息,yuxiao
這個用戶沒有操作的權(quán)限,需要給改用戶添加頁面相關(guān)操作的權(quán)限。文章來源:http://www.zghlxwxcb.cn/news/detail-762917.html
解決
<property>
<name>hadoop.http.staticuser.user</name>
<value>yuxiao</value>
</property>
在core-site.xml文件中添加如上配置,然后重啟dfs,再回到頁面操作文件就正常了。文章來源地址http://www.zghlxwxcb.cn/news/detail-762917.html
到了這里,關(guān)于Hadoop[3.3.x]Permission denied: user=dr.who, access=WRITE, inode=“/“:xxx:supergroup:drwxr-xr-x的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!