You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by Dhaval Shah <pr...@yahoo.co.in> on 2012/11/23 21:27:48 UTC

HDFS Web UI - Incorrect context

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

Re: HDFS Web UI - Incorrect context

Posted by Dhaval Shah <pr...@yahoo.co.in>.
50070 on namenode and 50075 on datanodes.. Both give the same output
 
Regards,
Dhaval


________________________________
 From: "Kartashov, Andy" <An...@mpac.ca>
To: "user@hadoop.apache.org" <us...@hadoop.apache.org>; Dhaval Shah <pr...@yahoo.co.in> 
Sent: Friday, 23 November 2012 4:50 PM
Subject: RE: HDFS Web UI - Incorrect context
 

 
This is on port 50075, correct?  
 
From:Dhaval Shah [mailto:prince_mithibai@yahoo.co.in] 
Sent: Friday, November 23, 2012 3:28 PM
To: user@hadoop.apache.org
Subject: HDFS Web UI - Incorrect context
 
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
NOTICE: This e-mail message and any attachments are confidential, subject to copyright and may be privileged. Any unauthorized use, copying or disclosure is prohibited. If you are not the intended recipient, please delete and contact the sender immediately. Please consider the environment before printing this e-mail. AVIS : le présent courriel et toute pièce jointe qui l'accompagne sont confidentiels, protégés par le droit d'auteur et peuvent être couverts par le secret professionnel. Toute utilisation, copie ou divulgation non autorisée est interdite. Si vous n'êtes pas le destinataire prévu de ce courriel, supprimez-le et contactez immédiatement l'expéditeur. Veuillez penser à l'environnement avant d'imprimer le présent courriel 

Re: HDFS Web UI - Incorrect context

Posted by Dhaval Shah <pr...@yahoo.co.in>.
50070 on namenode and 50075 on datanodes.. Both give the same output
 
Regards,
Dhaval


________________________________
 From: "Kartashov, Andy" <An...@mpac.ca>
To: "user@hadoop.apache.org" <us...@hadoop.apache.org>; Dhaval Shah <pr...@yahoo.co.in> 
Sent: Friday, 23 November 2012 4:50 PM
Subject: RE: HDFS Web UI - Incorrect context
 

 
This is on port 50075, correct?  
 
From:Dhaval Shah [mailto:prince_mithibai@yahoo.co.in] 
Sent: Friday, November 23, 2012 3:28 PM
To: user@hadoop.apache.org
Subject: HDFS Web UI - Incorrect context
 
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
NOTICE: This e-mail message and any attachments are confidential, subject to copyright and may be privileged. Any unauthorized use, copying or disclosure is prohibited. If you are not the intended recipient, please delete and contact the sender immediately. Please consider the environment before printing this e-mail. AVIS : le présent courriel et toute pièce jointe qui l'accompagne sont confidentiels, protégés par le droit d'auteur et peuvent être couverts par le secret professionnel. Toute utilisation, copie ou divulgation non autorisée est interdite. Si vous n'êtes pas le destinataire prévu de ce courriel, supprimez-le et contactez immédiatement l'expéditeur. Veuillez penser à l'environnement avant d'imprimer le présent courriel 

Re: HDFS Web UI - Incorrect context

Posted by Dhaval Shah <pr...@yahoo.co.in>.
50070 on namenode and 50075 on datanodes.. Both give the same output
 
Regards,
Dhaval


________________________________
 From: "Kartashov, Andy" <An...@mpac.ca>
To: "user@hadoop.apache.org" <us...@hadoop.apache.org>; Dhaval Shah <pr...@yahoo.co.in> 
Sent: Friday, 23 November 2012 4:50 PM
Subject: RE: HDFS Web UI - Incorrect context
 

 
This is on port 50075, correct?  
 
From:Dhaval Shah [mailto:prince_mithibai@yahoo.co.in] 
Sent: Friday, November 23, 2012 3:28 PM
To: user@hadoop.apache.org
Subject: HDFS Web UI - Incorrect context
 
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
NOTICE: This e-mail message and any attachments are confidential, subject to copyright and may be privileged. Any unauthorized use, copying or disclosure is prohibited. If you are not the intended recipient, please delete and contact the sender immediately. Please consider the environment before printing this e-mail. AVIS : le présent courriel et toute pièce jointe qui l'accompagne sont confidentiels, protégés par le droit d'auteur et peuvent être couverts par le secret professionnel. Toute utilisation, copie ou divulgation non autorisée est interdite. Si vous n'êtes pas le destinataire prévu de ce courriel, supprimez-le et contactez immédiatement l'expéditeur. Veuillez penser à l'environnement avant d'imprimer le présent courriel 

Re: HDFS Web UI - Incorrect context

Posted by Dhaval Shah <pr...@yahoo.co.in>.
50070 on namenode and 50075 on datanodes.. Both give the same output
 
Regards,
Dhaval


________________________________
 From: "Kartashov, Andy" <An...@mpac.ca>
To: "user@hadoop.apache.org" <us...@hadoop.apache.org>; Dhaval Shah <pr...@yahoo.co.in> 
Sent: Friday, 23 November 2012 4:50 PM
Subject: RE: HDFS Web UI - Incorrect context
 

 
This is on port 50075, correct?  
 
From:Dhaval Shah [mailto:prince_mithibai@yahoo.co.in] 
Sent: Friday, November 23, 2012 3:28 PM
To: user@hadoop.apache.org
Subject: HDFS Web UI - Incorrect context
 
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
NOTICE: This e-mail message and any attachments are confidential, subject to copyright and may be privileged. Any unauthorized use, copying or disclosure is prohibited. If you are not the intended recipient, please delete and contact the sender immediately. Please consider the environment before printing this e-mail. AVIS : le présent courriel et toute pièce jointe qui l'accompagne sont confidentiels, protégés par le droit d'auteur et peuvent être couverts par le secret professionnel. Toute utilisation, copie ou divulgation non autorisée est interdite. Si vous n'êtes pas le destinataire prévu de ce courriel, supprimez-le et contactez immédiatement l'expéditeur. Veuillez penser à l'environnement avant d'imprimer le présent courriel 

RE: HDFS Web UI - Incorrect context

Posted by "Kartashov, Andy" <An...@mpac.ca>.
This is on port 50075, correct?

From: Dhaval Shah [mailto:prince_mithibai@yahoo.co.in]
Sent: Friday, November 23, 2012 3:28 PM
To: user@hadoop.apache.org
Subject: HDFS Web UI - Incorrect context

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
NOTICE: This e-mail message and any attachments are confidential, subject to copyright and may be privileged. Any unauthorized use, copying or disclosure is prohibited. If you are not the intended recipient, please delete and contact the sender immediately. Please consider the environment before printing this e-mail. AVIS : le pr?sent courriel et toute pi?ce jointe qui l'accompagne sont confidentiels, prot?g?s par le droit d'auteur et peuvent ?tre couverts par le secret professionnel. Toute utilisation, copie ou divulgation non autoris?e est interdite. Si vous n'?tes pas le destinataire pr?vu de ce courriel, supprimez-le et contactez imm?diatement l'exp?diteur. Veuillez penser ? l'environnement avant d'imprimer le pr?sent courriel

RE: HDFS Web UI - Incorrect context

Posted by "Kartashov, Andy" <An...@mpac.ca>.
This is on port 50075, correct?

From: Dhaval Shah [mailto:prince_mithibai@yahoo.co.in]
Sent: Friday, November 23, 2012 3:28 PM
To: user@hadoop.apache.org
Subject: HDFS Web UI - Incorrect context

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
NOTICE: This e-mail message and any attachments are confidential, subject to copyright and may be privileged. Any unauthorized use, copying or disclosure is prohibited. If you are not the intended recipient, please delete and contact the sender immediately. Please consider the environment before printing this e-mail. AVIS : le pr?sent courriel et toute pi?ce jointe qui l'accompagne sont confidentiels, prot?g?s par le droit d'auteur et peuvent ?tre couverts par le secret professionnel. Toute utilisation, copie ou divulgation non autoris?e est interdite. Si vous n'?tes pas le destinataire pr?vu de ce courriel, supprimez-le et contactez imm?diatement l'exp?diteur. Veuillez penser ? l'environnement avant d'imprimer le pr?sent courriel

Re: HDFS Web UI - Incorrect context

Posted by Dhaval Shah <pr...@yahoo.co.in>.
Alright.. The issue was with packaging.. If you have the pig jar in the classpath, it messes up
 
Regards,
Dhaval


________________________________
 From: Harsh J <ha...@cloudera.com>
To: "<us...@hadoop.apache.org>" <us...@hadoop.apache.org>; Dhaval Shah <pr...@yahoo.co.in> 
Sent: Saturday, 24 November 2012 2:30 AM
Subject: 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
cdh-user@cloudera.org
(https://groups.google.com/a/cloudera.org/forum/?fromgroups=#!forum/cdh-user).

On Sat, Nov 24, 2012 at 1:57 AM, Dhaval Shah
<pr...@yahoo.co.in> wrote:
> 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

Re: HDFS Web UI - Incorrect context

Posted by Dhaval Shah <pr...@yahoo.co.in>.
Alright.. The issue was with packaging.. If you have the pig jar in the classpath, it messes up
 
Regards,
Dhaval


________________________________
 From: Harsh J <ha...@cloudera.com>
To: "<us...@hadoop.apache.org>" <us...@hadoop.apache.org>; Dhaval Shah <pr...@yahoo.co.in> 
Sent: Saturday, 24 November 2012 2:30 AM
Subject: 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
cdh-user@cloudera.org
(https://groups.google.com/a/cloudera.org/forum/?fromgroups=#!forum/cdh-user).

On Sat, Nov 24, 2012 at 1:57 AM, Dhaval Shah
<pr...@yahoo.co.in> wrote:
> 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

Re: HDFS Web UI - Incorrect context

Posted by Dhaval Shah <pr...@yahoo.co.in>.
Alright.. The issue was with packaging.. If you have the pig jar in the classpath, it messes up
 
Regards,
Dhaval


________________________________
 From: Harsh J <ha...@cloudera.com>
To: "<us...@hadoop.apache.org>" <us...@hadoop.apache.org>; Dhaval Shah <pr...@yahoo.co.in> 
Sent: Saturday, 24 November 2012 2:30 AM
Subject: 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
cdh-user@cloudera.org
(https://groups.google.com/a/cloudera.org/forum/?fromgroups=#!forum/cdh-user).

On Sat, Nov 24, 2012 at 1:57 AM, Dhaval Shah
<pr...@yahoo.co.in> wrote:
> 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

Re: HDFS Web UI - Incorrect context

Posted by Dhaval Shah <pr...@yahoo.co.in>.
Alright.. The issue was with packaging.. If you have the pig jar in the classpath, it messes up
 
Regards,
Dhaval


________________________________
 From: Harsh J <ha...@cloudera.com>
To: "<us...@hadoop.apache.org>" <us...@hadoop.apache.org>; Dhaval Shah <pr...@yahoo.co.in> 
Sent: Saturday, 24 November 2012 2:30 AM
Subject: 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
cdh-user@cloudera.org
(https://groups.google.com/a/cloudera.org/forum/?fromgroups=#!forum/cdh-user).

On Sat, Nov 24, 2012 at 1:57 AM, Dhaval Shah
<pr...@yahoo.co.in> wrote:
> 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

Re: HDFS Web UI - Incorrect context

Posted by Harsh J <ha...@cloudera.com>.
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
cdh-user@cloudera.org
(https://groups.google.com/a/cloudera.org/forum/?fromgroups=#!forum/cdh-user).

On Sat, Nov 24, 2012 at 1:57 AM, Dhaval Shah
<pr...@yahoo.co.in> wrote:
> 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

RE: HDFS Web UI - Incorrect context

Posted by "Kartashov, Andy" <An...@mpac.ca>.
This is on port 50075, correct?

From: Dhaval Shah [mailto:prince_mithibai@yahoo.co.in]
Sent: Friday, November 23, 2012 3:28 PM
To: user@hadoop.apache.org
Subject: HDFS Web UI - Incorrect context

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
NOTICE: This e-mail message and any attachments are confidential, subject to copyright and may be privileged. Any unauthorized use, copying or disclosure is prohibited. If you are not the intended recipient, please delete and contact the sender immediately. Please consider the environment before printing this e-mail. AVIS : le pr?sent courriel et toute pi?ce jointe qui l'accompagne sont confidentiels, prot?g?s par le droit d'auteur et peuvent ?tre couverts par le secret professionnel. Toute utilisation, copie ou divulgation non autoris?e est interdite. Si vous n'?tes pas le destinataire pr?vu de ce courriel, supprimez-le et contactez imm?diatement l'exp?diteur. Veuillez penser ? l'environnement avant d'imprimer le pr?sent courriel

Re: HDFS Web UI - Incorrect context

Posted by Harsh J <ha...@cloudera.com>.
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
cdh-user@cloudera.org
(https://groups.google.com/a/cloudera.org/forum/?fromgroups=#!forum/cdh-user).

On Sat, Nov 24, 2012 at 1:57 AM, Dhaval Shah
<pr...@yahoo.co.in> wrote:
> 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

RE: HDFS Web UI - Incorrect context

Posted by "Kartashov, Andy" <An...@mpac.ca>.
This is on port 50075, correct?

From: Dhaval Shah [mailto:prince_mithibai@yahoo.co.in]
Sent: Friday, November 23, 2012 3:28 PM
To: user@hadoop.apache.org
Subject: HDFS Web UI - Incorrect context

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
NOTICE: This e-mail message and any attachments are confidential, subject to copyright and may be privileged. Any unauthorized use, copying or disclosure is prohibited. If you are not the intended recipient, please delete and contact the sender immediately. Please consider the environment before printing this e-mail. AVIS : le pr?sent courriel et toute pi?ce jointe qui l'accompagne sont confidentiels, prot?g?s par le droit d'auteur et peuvent ?tre couverts par le secret professionnel. Toute utilisation, copie ou divulgation non autoris?e est interdite. Si vous n'?tes pas le destinataire pr?vu de ce courriel, supprimez-le et contactez imm?diatement l'exp?diteur. Veuillez penser ? l'environnement avant d'imprimer le pr?sent courriel

Re: HDFS Web UI - Incorrect context

Posted by Harsh J <ha...@cloudera.com>.
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
cdh-user@cloudera.org
(https://groups.google.com/a/cloudera.org/forum/?fromgroups=#!forum/cdh-user).

On Sat, Nov 24, 2012 at 1:57 AM, Dhaval Shah
<pr...@yahoo.co.in> wrote:
> 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

Re: HDFS Web UI - Incorrect context

Posted by Harsh J <ha...@cloudera.com>.
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
cdh-user@cloudera.org
(https://groups.google.com/a/cloudera.org/forum/?fromgroups=#!forum/cdh-user).

On Sat, Nov 24, 2012 at 1:57 AM, Dhaval Shah
<pr...@yahoo.co.in> wrote:
> 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