我在完成hdfs的Kerberos认证后,命令行访问HDFS可以成功。
但是在浏览器中访问HDFS“http://master:50070/nn_browsedfscontent.jsp”,系统报错,报错信息如下:
HTTP ERROR 500
Problem accessing /nn_browsedfscontent.jsp. Reason:
Security enabled but user not authenticated by filter
Caused by:
java.io.IOException: Security enabled but user not authenticated by filter at org.apache.hadoop.hdfs.server.namenode.JspHelper.getUGI(JspHelper.java:511) at org.apache.hadoop.hdfs.server.namenode.JspHelper.getUGI(JspHelper.java:450) at org.apache.hadoop.hdfs.server.namenode.nn_005fbrowsedfscontent_jsp.redirectToRandomDataNode(nn_005fbrowsedfscontent_jsp.java:51) at org.apache.hadoop.hdfs.server.namenode.nn_005fbrowsedfscontent_jsp._jspService(nn_005fbrowsedfscontent_jsp.java:117) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221) at org.apache.hadoop.http.HttpServer$QuotingInputFilter.doFilter(HttpServer.java:835) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
大家在配置时有没有遇到这样的问题?我折腾三天了,到现在是直接毫无头绪了,大家是怎么解决的?help, please!
我和你遇到了同样的问题,无法解决,在网上也没找到相应的解决方案
我也是,楼主最后找到解决办法了吗?