Hadoop cannot access /logs/. in secure mode

北慕城南 提交于 2019-12-23 05:15:13

问题


I am using hadoop-2.6.0 and enabled security with kerberos. All working fine. But i am unable to access the logs files from browser. It shows

Problem accessing /logs/. Reason:

User babu is unauthorized to access this page.

I tried with all users but no luck.

Can anyone help me how to authorize any user to access log files?


回答1:


You shouldn't access the logs directly in the FS, access is restricted to the NM user and the yarn group. Use the log-aggregation service to retrieve/view logs. See Simplifying user-logs management and access in YARN.



来源:https://stackoverflow.com/questions/30231084/hadoop-cannot-access-logs-in-secure-mode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!