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

Switch to Plain View
Hadoop >> mail # user >> Re: HDFS Web UI - Incorrect context

Copy link to this message
Re: HDFS Web UI - Incorrect context
Few questions:

1. What do you mean by a "Tomcat context"? The HDFS core daemons (NN,
DN, SNN, etc.) use Jetty to deploy their HTTP servlets, not Tomcat.
2. Did you run a build on your install and are using a built classpath
instead of the installed one?

In any case, if your problem is specific to CDH packages, please send
your mail with more details on your packages/setup instead to

On Sat, Nov 24, 2012 at 1:57 AM, Dhaval Shah
> Hello everyone.. I have a very weird issue at hand.. I am using CDH4.0.0 on
> one of my clusters and it works perfectly fine.. Now I tried deploying the
> same packages to another cluster with very similar configs (the only
> difference is machine names).. Hadoop does come up but the HDFS UI seems to
> have an incorrect Tomcat context.. The only thing it shows up is
> Directory: /
> webapps/ 4096 bytes Nov 23, 2012 2:44:13 PM
> When I click on webapps, it shows an option for hdfs and when I click hdfs,
> it takes me to http://localhost:50070/webapps/hdfs/dfshealth.jsp which
> throws a 404.. Ideally /webapps/hdfs should have been the root context and
> this works correctly on my other cluster.. Any pointers?
> Regards,
> Dhaval

Harsh J
Dhaval Shah 2012-11-26, 21:44