Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
MapReduce, mail # user - Cannot Access Hadoop Web UI


Copy link to this message
-
Cannot Access Hadoop Web UI
FrkN 2013-10-25, 11:58
Hi Everyone,

I am using hadoop 1.2.1 version. I am starting my hadoop cluster by
using hadoop-core library from Java. Everything works fine but I cannot
access the web UI of NameNode, JobTracker, etc.

To clarify, when I execute "$ hadoop dfsadmin -report", it gives such an
output:

*--------
Upgrade for version -41 has been completed.
Upgrade is not finalized.
Configured Capacity: 475245862912 (442.61 GB)
Present Capacity: 399008677888 (371.61 GB)
DFS Remaining: 398935851008 (371.54 GB)
DFS Used: 72826880 (69.45 MB)
DFS Used%: 0.02%
Under replicated blocks: 64
Blocks with corrupt replicas: 0
Missing blocks: 0

-------------------------------------------------
Datanodes available: 1 (1 total, 0 dead)

Name: 127.0.0.1:50010
Decommission Status : Normal
Configured Capacity: 475245862912 (442.61 GB)
DFS Used: 72826880 (69.45 MB)
Non DFS Used: 76237185024 (71 GB)
DFS Remaining: 398935851008(371.54 GB)
DFS Used%: 0.02%
DFS Remaining%: 83.94%
Last contact: Fri Oct 25 14:50:24 EEST 2013
--------*

However, when I try to open web UI of NameNode
"http://localhost:50070/webapps/hdfs/dfshealth.jsp"("/webapps" and
"/webapps/hdfs" directories exist), it gives the following error:

*--------
    HTTP ERROR 404

Problem accessing /webapps/hdfs/dfshealth.jsp. Reason:

     /webapps/hdfs/dfshealth.jsp

--------*

Similarly, when I try to open web UI of JobTracker
"http://localhost:50030/webapps/job/jobtracker.jsp", it gives the
following error:

*--------
    HTTP ERROR 500

Problem accessing /webapps/job/jobtracker.jsp. Reason:

     Unable to compile class for JSP

An error occurred at line: 88 in the jsp file: /webapps/job/jobtracker.jsp
Generated servlet error:
The method getSafeModeText() from the type JobTracker is not visible

....(some more errors)
      Caused by:

org.apache.jasper.JasperException: Unable to compile class for JSP An
error occurred at line: 88 in the jsp file: /webapps/job/jobtracker.jsp
Generated servlet error: The method getSafeModeText() from the type
JobTracker is not visible

....(some more errors)

at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:409)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
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:914)
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)
How can I resolve this problem?

Any help would be much appreciated.

Thanks,

FrkN.