By default the logs are in /var/log/hadoop or /var/logs/hadoop

Which mode are u running? Standalone? Pseudo distributed? Distributed?

Best Regards,
Anil

On Jun 6, 2012, at 9:45 AM, Babak Bastan <babak...@gmail.com> wrote:

> Thank you for your answer,where is the log of namemode?How can I control it?
> if I type hadoop -version as result I have:
> 
> java version "1.6.0_26"
> Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
> Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode)
> 
> and I downloaded hadoop 0.20.2
> On Wed, Jun 6, 2012 at 6:41 PM, anil gupta <anilgupt...@gmail.com> wrote:
> 
>> Babak,
>> 
>> Probably, your namenode is not up. Check the logs of namenode first.
>> Also, please specify the version? the mode in which you are running hadoop?
>> 
>> On Wed, Jun 6, 2012 at 9:35 AM, Babak Bastan <babak...@gmail.com> wrote:
>> 
>>> If I type 'http://localhost:50070' or 'http://localhost:9000' to see the
>>> nodes,my browser shows me nothing I think it can't connect to the
>> server. I
>>> tested my hadoop with this command:
>>> 
>>> hadoop jar hadoop-*test*.jar TestDFSIO -write -nrFiles 10 -fileSize 1000
>>> 
>>> but too didn't work and it tries to connect to the server,this is the
>>> output:
>>> 
>>> 12/06/06 17:25:24 INFO mapred.FileInputFormat: nrFiles = 10
>>> 12/06/06 17:25:24 INFO mapred.FileInputFormat: fileSize (MB) = 1000
>>> 12/06/06 17:25:24 INFO mapred.FileInputFormat: bufferSize = 1000000
>>> 12/06/06 17:25:25 INFO ipc.Client: Retrying connect to server:
>>> localhost/127.0.0.1:9000. Already tried 0 time(s).
>>> 12/06/06 17:25:26 INFO ipc.Client: Retrying connect to server:
>>> localhost/127.0.0.1:9000. Already tried 1 time(s).
>>> 12/06/06 17:25:27 INFO ipc.Client: Retrying connect to server:
>>> localhost/127.0.0.1:9000. Already tried 2 time(s).
>>> 12/06/06 17:25:28 INFO ipc.Client: Retrying connect to server:
>>> localhost/127.0.0.1:9000. Already tried 3 time(s).
>>> 12/06/06 17:25:29 INFO ipc.Client: Retrying connect to server:
>>> localhost/127.0.0.1:9000. Already tried 4 time(s).
>>> 12/06/06 17:25:30 INFO ipc.Client: Retrying connect to server:
>>> localhost/127.0.0.1:9000. Already tried 5 time(s).
>>> 12/06/06 17:25:31 INFO ipc.Client: Retrying connect to server:
>>> localhost/127.0.0.1:9000. Already tried 6 time(s).
>>> 12/06/06 17:25:32 INFO ipc.Client: Retrying connect to server:
>>> localhost/127.0.0.1:9000. Already tried 7 time(s).
>>> 12/06/06 17:25:33 INFO ipc.Client: Retrying connect to server:
>>> localhost/127.0.0.1:9000. Already tried 8 time(s).
>>> 12/06/06 17:25:34 INFO ipc.Client: Retrying connect to server:
>>> localhost/127.0.0.1:9000. Already tried 9 time(s).
>>> java.net.ConnectException: Call to localhost/127.0.0.1:9000 failed on
>>> connection exception: java.net.ConnectException: Connection refused
>>> 
>>> I changed some files like this: in conf/core-site.xml:
>>> 
>>> <configuration>
>>> <property>
>>>   <name>fs.default.name</name>
>>>   <value>hdfs://localhost:9000</value>
>>> </property>
>>> 
>>> in conf/hdfs-site.xml:
>>> 
>>> <configuration>
>>> <property>
>>>   <name>dfs.replication</name>
>>>   <value>1</value>
>>> </property>
>>> </configuration>
>>> </configuration>
>>> 
>>> in conf/mapred-site.xml:
>>> 
>>> <configuration>
>>> <property>
>>>   <name>mapred.job.tracker</name>
>>>   <value>localhost:9001</value>
>>> </property>
>>> </configuration>
>>> 
>>> but no effect !Have you any Idee,How can I solve my problem?
>>> 
>> 
>> 
>> 
>> --
>> Thanks & Regards,
>> Anil Gupta
>> 

Reply via email to