hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eli Finkelshteyn <iefin...@gmail.com>
Subject Re: Netstat Shows Port 8020 Doesn't Seem to Listen
Date Mon, 09 Jan 2012 20:17:27 GMT
<value>hdfs://localhost:8020</value>

On 1/9/12 3:14 PM, Harsh J wrote:
> Eli,
>
> What is your fs.default.name set to, in core-site.xml?
>
> On Tue, Jan 10, 2012 at 1:07 AM, Eli Finkelshteyn<iefinkel@gmail.com>  wrote:
>> Positive. Like I said before, netstat -a | grep 8020 gives me nothing. Even
>> if the firewall was the problem, that should still give me output that the
>> port is listening, but I'd just be unable to hit it from an outside box (I
>> tested this by blocking port 50070, at which point it still showed up in
>> netstat -a, but was inaccessible through http from a remote machine). This
>> problem is something else.
>>
>>
>> On 1/9/12 2:31 PM, zGreenfelder wrote:
>>> On Mon, Jan 9, 2012 at 1:58 PM, Eli Finkelshteyn<iefinkel@gmail.com>
>>>   wrote:
>>>> More info:
>>>>
>>>> In the DataNode log, I'm also seeing:
>>>>
>>>> 2012-01-09 13:06:27,751 INFO org.apache.hadoop.ipc.Client: Retrying
>>>> connect
>>>> to server: localhost/127.0.0.1:8020. Already tried 9 time(s).
>>>>
>>>> Why would things just not load on port 8020? I feel like all the errors
>>>> I'm
>>>> seeing are caused by this, but I can't see any errors about why this
>>>> occurred in the first place.
>>>>
>>> are you sure there isn't a firewall in place blocking port 8020?
>>> e.g. iptables on the local machines?   if you do
>>> telnet localhost 8020
>>> do you make a connection? if you use lsof and/or netstat can you see
>>> the port open?
>>> if you have root access you can try turning off the firewall with
>>> iptables -F to see if things work without firewall rules.
>>
>
>


Mime
View raw message