Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
HDFS >> mail # user >> How to configure kerberos to access namenode's web jsp?


+
shixing 2012-06-14, 10:46
Copy link to this message
-
Re: How to configure kerberos to access namenode's web jsp?
Hi,

You will need to additionally follow this for getting back web UI
functionality on a secured cluster:
http://hadoop.apache.org/common/docs/stable/HttpAuthentication.html

Let us know if it helps!

On Thu, Jun 14, 2012 at 4:16 PM, shixing <[EMAIL PROTECTED]> wrote:
> Hi, hadooper:
>    I configure kerberos in hdfs, when I access
> http://hdpnn:50070/nn_browsedfscontent.jsp, I got the error like this:
>
> 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:462)
>        at org.apache.hadoop.hdfs.server.namenode.nn_005fbrowsedfscontent_jsp.getDelegationToken(nn_005fbrowsedfscontent_jsp.java:32)
>        at org.apache.hadoop.hdfs.server.namenode.nn_005fbrowsedfscontent_jsp.redirectToRandomDataNode(nn_005fbrowsedfscontent_jsp.java:52)
>        at org.apache.hadoop.hdfs.server.namenode.nn_005fbrowsedfscontent_jsp._jspService(nn_005fbrowsedfscontent_jsp.java:115)
>        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:829)
>        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)
>
> ------------------------------
> *Powered by Jetty://*
>
> How to configure in browser? Thanks!
> --
> Best wishes!
> My Friend~

--
Harsh J
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB