I installed HDFS using Cloudera Manager 5 . Then i tried to browse http://localhost:50070/ it was not working .
I tried running iptables -A INPUT -p tcp --dport 50070 -j ACCEPT still its not working.
Please help .
Does the CM page for the HDFS service report everything as healthy?
Can you try browsing to the NameNode UI via the link provided on the CM page for the HDFS service?
Which version of CM are you using?
In general, the link is on the HDFS service page on the top line and in the "HDFS Summary" section.
On CM 5.0.2 the latter is right under the "configured capacity" display and is labeled "namenode web ui."
Circled in red:
- Can you verify that DNS works from your workstation to resolve the host that is running the namenode you're trying to look at?
- The message sounds like a firewall issue. Are you sure there isn't a firewall between you and the namenode machine preventing access?
One way to zero in on the problem is to copy the namenode ui link from CM adn then check it from the machine running the namenode to rule out network interference.
For example, if the namenode UI link is http://namenode1.example.com:50070/
[root@namenode1 ~]# curl http://namenode1.example.com:50070/ <meta HTTP-EQUIV="REFRESH" content="0;url=dfshealth.jsp"/> <html> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <head> <title>Hadoop Administration</title> </head> <body> <h1>Hadoop Administration</h1> <ul> <li><a href="dfshealth.jsp">DFS Health/Status</a></li> </ul> </body> </html> [root@namenode1 ~]#
is the single system your local workstation? is it a VM?
check via curl to rule out your browser.
recheck that DNS resolution works for hte hostname CM thinks the node should be.
Curl works, so that's good news. DNS at least works at teh OS level.
The current problem appears to be with your web browser then. What browser is it? Do you know if it's running any kind of filtering add on?