hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "XiaoboGu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-1802) Web interface of namenode does not work probably
Date Thu, 14 Apr 2011 15:53:05 GMT

    [ https://issues.apache.org/jira/browse/HDFS-1802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019874#comment-13019874
] 

XiaoboGu commented on HDFS-1802:
--------------------------------

I set it up on a different server named solsvr2

HTTP ERROR: 500
n must be positive
RequestURI=/nn_browsedfscontent.jsp

Caused by:
java.lang.IllegalArgumentException: n must be positive
	at java.util.Random.nextInt(Random.java:250)
	at org.apache.hadoop.net.NetworkTopology.chooseRandom(NetworkTopology.java:540)
	at org.apache.hadoop.net.NetworkTopology.chooseRandom(NetworkTopology.java:508)
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getRandomDatanode(FSNamesystem.java:3411)
	at org.apache.hadoop.hdfs.server.namenode.NamenodeJspHelper.redirectToRandomDataNode(NamenodeJspHelper.java:288)
	at org.apache.hadoop.hdfs.server.namenode.nn_005fbrowsedfscontent_jsp._jspService(nn_005fbrowsedfscontent_jsp.java:74)
	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:502)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1124)
	at org.apache.hadoop.http.HttpServer$QuotingInputFilter.doFilter(HttpServer.java:767)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
	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:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)

Powered by Jetty://



> Web interface of namenode does not work probably
> ------------------------------------------------
>
>                 Key: HDFS-1802
>                 URL: https://issues.apache.org/jira/browse/HDFS-1802
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node
>    Affects Versions: 0.21.0
>         Environment: 0.21.0 on Oracle Solaris 10u7 X64
>            Reporter: XiaoboGu
>
> I have done the required steps point by FAQ of hadoop
> :http://wiki.apache.org/hadoop/FAQ#Why_do_files_and_directories_show_up_as_DrWho_and.2BAC8-or_user_names_are_missing.2BAC8-weird.3F
> but the web interface of namenode still have problems:
> 1. The "Browse the filesystem" link in page
> "http://solsvr:50070/dfshealth.jsp" can't be started.
> 2.  The "Go back to DFS home " link in page
> http://solsvr:50075/browseDirectory.jsp?namenodeInfoPort=50070&dir=%2F,
> points to "http://localhost:50070/dfshealth.jsp", which should be
> "http://namenode-server:50070/dfshealth.jsp"
> > -bash-3.00$ more /etc/hosts
> > #
> > # Internet host table
> > #
> > ::1     localhost
> > 127.0.0.1       localhost
> > 192.168.72.4    solsvr  loghost
> > -bash-3.00$
> I have only one entry in both slaves and masters file  under $hadoop_home/conf.
> solsvr

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message