Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 757AF105F5 for ; Mon, 27 Apr 2015 10:51:04 +0000 (UTC) Received: (qmail 42953 invoked by uid 500); 27 Apr 2015 10:51:00 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 42810 invoked by uid 500); 27 Apr 2015 10:51:00 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 42799 invoked by uid 99); 27 Apr 2015 10:51:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2015 10:51:00 +0000 X-ASF-Spam-Status: No, hits=3.9 required=5.0 tests=FORGED_YAHOO_RCVD,HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: encountered temporary error during SPF processing of domain of anand_vihar@yahoo.com) Received: from [54.191.145.13] (HELO mx1-us-west.apache.org) (54.191.145.13) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2015 10:50:52 +0000 Received: from nm43-vm9.bullet.mail.bf1.yahoo.com (nm43-vm9.bullet.mail.bf1.yahoo.com [216.109.114.170]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 404ED2071A for ; Mon, 27 Apr 2015 10:50:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1430131805; bh=7MbKrH3GFGGNgyqlq+5Z7OtrM5aacBUt0T8q8bVNytY=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=mwOUvXz5IRl9fTDwzPUlbrC0fnLsK2q4RV6ONj57Y2DgHvVAdpovcKxIOa8WRT0bCxTwpI+gN7guLCI0UikwTA+T8x8T2+Y3gC9czs9nG0gmeLssHc/4oSGRbEJVIDQFg3K6dopMTYLGHr4tXRjkoSrytDVOlTPbswY8JlumO/4Tt3V0hc31FXKFA0XGWvqCA1SAvreC6t86WwH8K8QLq9HULdeDsbA1gBw0pmP6em2ahquucaDWh+L4JamnIkHOEfoONTAurL1EAn12S+EAhBsNW1rbmHYk9bqQuBYAOZt94r+PCqYporxksICOrUlLbkvrl1e7zhQfR+CsrQx8Rg== Received: from [98.139.170.182] by nm43.bullet.mail.bf1.yahoo.com with NNFMP; 27 Apr 2015 10:50:05 -0000 Received: from [98.139.212.192] by tm25.bullet.mail.bf1.yahoo.com with NNFMP; 27 Apr 2015 10:50:05 -0000 Received: from [127.0.0.1] by omp1001.mail.bf1.yahoo.com with NNFMP; 27 Apr 2015 10:50:05 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 647119.80367.bm@omp1001.mail.bf1.yahoo.com X-YMail-OSG: keHKltwVM1nzybog0DEX8.msBJebSurpiFHUC3yTacjUoV5HgrLSdHEmdJg7aPL QIdPGpQaG6zRNXSzvOCaUjNDpUnXvDjhO63ieupIiTfpFN5us4_MDxomwOgrb5Iiv7quu3CaM4LH Z7tI9SRgmcONrZ5aWIjuXjA0dt4Swxl5OGaoJoJgxeG5F9AA80lFsOF9AZRwLEuWDAclks02K0oQ sLOBaNkXeiF8tKP6rBmF2mz7cpg927qFf4KhBRGJwiYQOLO6994q1104kv2hdpi6V4xo2teZXgGN Rt.Z.Hwj.x6rzPorfaDz3STBrp03y0K_KE1t6F2ibDie2CoUSa318ndsKkQoJFd2EsjYkGw4qHsl 6Zp6uDt4bpo7yNFI9XE32vmbNXCYA1YGycW5cfniyKviXw_r9rYWl3Kioo13EY8wZbnKuhPolxB3 31_..mVWQoYklxISEb2pfvmg3mMIhB5km4k.8AB4cN.mfls4EBZoDrDWm44mMlzl657KhkuZRzCv qrOZ6eUVUwQ-- Received: by 66.196.81.116; Mon, 27 Apr 2015 10:50:05 +0000 Date: Mon, 27 Apr 2015 10:50:04 +0000 (UTC) From: Anand Murali Reply-To: Anand Murali To: "user@hadoop.apache.org" Message-ID: <1403113039.6034090.1430131804177.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: <8FA5DEE6-D4E0-4EC4-A1E8-2C6A072ACBBE@gmail.com> References: <8FA5DEE6-D4E0-4EC4-A1E8-2C6A072ACBBE@gmail.com> Subject: Re: Connection Refused error on Hadoop2.6 running Ubuntu 15.04 Desktop on Pseudo-distributed mode MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6034088_1648599751.1430131804170" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_6034088_1648599751.1430131804170 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Wellington: I have done it at installation time. I shall try once again. However, reque= st you look at this URL, and maybe let me know your views/suggestions. BTW,= if I uninstall and re-install this error goes away for that session. Thanks. =C2=A0Anand Murali=C2=A0=C2=A011/7, 'Anand Vihar', Kandasamy St, MylaporeCh= ennai - 600 004, IndiaPh: (044)- 28474593/=C2=A043526162 (voicemail)=20 On Monday, April 27, 2015 4:16 PM, Wellington Chevreuil wrote: =20 Hello Anand, This error means =C2=A0NN could not find it's metadata directory. You proba= bly need to run "hadoop namenode -format" command before trying to start hd= fs. =E2=80=A62015-04-27 15:21:42,696 WARN org.apache.hadoop.hdfs.server.namenod= e.FSNamesystem: Encountered exception loading fsimageorg.apache.hadoop.hdfs= .server.common.InconsistentFSStateException: Directory /tmp/hadoop-anand_vi= har/dfs/name is in an inconsistent state: storage directory does not exist = or is not accessible.=E2=80=A6 Running the mentioned command will create this directory. You may also want= to define a different location for NN metadata directory, by setting "dfs.= namenode.name.dir" property in hdfs-site.xml. On 27 Apr 2015, at 11:02, Anand Murali wrote: Dear Wellington: You were right. There is a error with respect to temp files. Find attached = log file. Appreciate your help. Thanks =C2=A0Anand Murali=C2=A0=C2=A011/7, 'Anand Vihar', Kandasamy St, MylaporeCh= ennai - 600 004, IndiaPh: (044)- 28474593/=C2=A043526162 (voicemail)=20 On Monday, April 27, 2015 2:46 PM, Wellington Chevreuil wrote: =20 There might be some FATAL/ERROR/WARN or Exception messages in this log fil= e that can explain why NN process is dying. Can you paste some of the last = lines on the log file? On 27 Apr 2015, at 09:37, Susheel Kumar Gadalay wrote= : > jps listing is not showing namenode daemon. >=20 > Verify why namenode is not up from the logs. >=20 > On 4/27/15, Anand Murali wrote: >> Dear All: >>=20 >> Please find below. >>=20 >> and_vihar@Latitude-E5540:~/hadoop-2.6.0/sbin$ >> start-dfs.sh >>=20 >> Starting namenodes on [localhost] >> localhost: starting namenode, logging to >> /home/anand_vihar/hadoop-2.6.0/logs/hadoop-anand_vihar-namenode-Latitude= -E5540.out >> localhost: starting datanode, logging to >> /home/anand_vihar/hadoop-2.6.0/logs/hadoop-anand_vihar-datanode-Latitude= -E5540.out >> Starting secondary namenodes [0.0.0.0] >> 0.0.0.0: starting secondarynamenode, logging to >> /home/anand_vihar/hadoop-2.6.0/logs/hadoop-anand_vihar-secondarynamenode= -Latitude-E5540.out >> anand_vihar@Latitude-E5540:~/hadoop-2.6.0/sbin$ start-yarn.sh >> starting yarn daemons >> starting resourcemanager, logging to >> /home/anand_vihar/hadoop-2.6.0/logs/yarn-anand_vihar-resourcemanager-Lat= itude-E5540.out >> localhost: starting nodemanager, logging to >> /home/anand_vihar/hadoop-2.6.0/logs/yarn-anand_vihar-nodemanager-Latitud= e-E5540.out >> anand_vihar@Latitude-E5540:~/hadoop-2.6.0/sbin$ jps >> 7464 Jps >> 7147 NodeManager >> 6863 SecondaryNameNode >> 7017 ResourceManager >> 6686 DataNode >> anand_vihar@Latitude-E5540:~/hadoop-2.6.0/sbin$ hdfs dfs -ls >> ls: Call From Latitude-E5540/127.0.1.1 to localhost:9000 failed on >> connection exception: java.net.ConnectException: Connection refused; For >> more details see:=C2=A0 http://wiki.apache.org/hadoop/ConnectionRefused >>=20 >> Has anybody encountered this error and fixed it. I have checked >> http://wiki.apache.org/hadoop/ConnectionRefused but there is no informat= ion >> on how to fix it. It is obvious that it seems to be a network error ,=C2= =A0 but I >> am interested in knowing if anybody has faced this error and fixed it. R= eply >> and help most appreciated. >>=20 >> Thanks >>=20 >> Regards, Anand Murali=C2=A0 11/7, 'Anand Vihar', Kandasamy St, MylaporeC= hennai - >> 600 004, IndiaPh: (044)- 28474593/ 43526162 (voicemail) ------=_Part_6034088_1648599751.1430131804170 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Wellington:

I have done it at installation time. = I shall try once again. However, request you look at this URL, and maybe le= t me know your views/suggestions. BTW, if I uninstall and re-install this e= rror goes away for that session.

Thanks.
 
A= nand Murali  
11/7, 'Anand= Vihar', Kandasamy St, Mylapore
Chennai - 600 004, India
Ph: (044)- 28474593/=  43526162 (voicemail)



<= div style=3D"font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, = Lucida Grande, sans-serif; font-size: 12px;">
On Mon= day, April 27, 2015 4:16 PM, Wellington Chevreuil <wellington.chevreuil@= gmail.com> wrote:


Hello Anand,

This error means  NN could not find it's metadata directory. = You probably need to run "hadoop namenode -format" command before trying to= start hdfs.

=E2=80=A6
2015-04-27 15:21:42,696 WARN org.apache.hadoop.hdfs.server.namenode.FSNa= mesystem: Encountered exception loading fsimage
org.apache.hadoop= .hdfs.server.common.InconsistentFSStateException: Directory /tmp/hadoop-ana= nd_vihar/dfs/name is in an inconsistent state: storage directory does not e= xist or is not accessible.
=E2=80=A6

Running the mentioned command will create this directory.= You may also want to define a different location for NN metadata directory= , by setting "dfs.namenode.name.dir" property in hdfs-site.xml.
<= br clear=3D"none">

On 27 Apr 2015, at 11= :02, Anand Murali <anand_vihar@yahoo.com> wrote:

Dear Wellington= :

You were right. There= is a error with respect to temp files. Find attached log file. Appreciate = your help.

Thanks
 
Anand Mural= i  
11/7, 'Anand Vihar', Kandas= amy St, Mylapore
Chennai - 600 004, India=
Ph: (044)- 28474593/ 43526162 (voic= email)



On Monday, April 27, 2015 2:46 PM, We= llington Chevreuil <wellington.chevreuil@gmail.com> wrote:


There might be some FATAL/ERROR/WARN o= r Exception messages in this log file that can explain why NN process is dy= ing. Can you paste some of the last lines on the log file?


On 27 Apr 2015, at 09:37, Susheel Kum= ar Gadalay <skgadal= ay@gmail.com> wrote:

> jps l= isting is not showing namenode daemon.
>
> Verify why namenode is not up from the logs.
&= gt;
> On 4/27/15, Anand Murali <anand_vihar@yahoo.com> wrote:=
>> Dear All:
>>
>> Please find below.
>>
>> and_vihar@Latitude-E5540:~/hadoop-2.6.0/sbin$
= >> start-dfs.sh
>>
>>= ; Starting namenodes on [localhost]
>> localhost: s= tarting namenode, logging to
>> /home/anand_vihar/h= adoop-2.6.0/logs/hadoop-anand_vihar-namenode-Latitude-E5540.out
>> localhost: starting datanode, logging to
= >> /home/anand_vihar/hadoop-2.6.0/logs/hadoop-anand_vihar-datanode-La= titude-E5540.out
>> Starting secondary namenodes [0= .0.0.0]
>> 0.0.0.0: starting secondarynamenode, log= ging to
>> /home/anand_vihar/hadoop-2.6.0/logs/hado= op-anand_vihar-secondarynamenode-Latitude-E5540.out
>&= gt; anan= d_vihar@Latitude-E5540:~/hadoop-2.6.0/sbin$ start-yarn.sh
>> starting yarn daemons
>> starting res= ourcemanager, logging to
>> /home/anand_vihar/hadoo= p-2.6.0/logs/yarn-anand_vihar-resourcemanager-Latitude-E5540.out
>> localhost: starting nodemanager, logging to
>> /home/anand_vihar/hadoop-2.6.0/logs/yarn-anand_vihar-nodeman= ager-Latitude-E5540.out
>> anand_vihar@Latitude-E5540:~= /hadoop-2.6.0/sbin$ jps
>> 7464 Jps
>> 7147 NodeManager
>> 6863 SecondaryNameN= ode
>> 7017 ResourceManager
>&= gt; 6686 DataNode
>> anand_vihar@Latitude-E5540:~/had= oop-2.6.0/sbin$ hdfs dfs -ls
>> ls: Call From Latit= ude-E5540/127.0.1.1 to localhost:9000 failed on
>> = connection exception: java.net.ConnectException: Connection refused; For>> more details see:  http://wiki.apache.org/hadoop/ConnectionRefused
>>
>> Has anybody encountered this erro= r and fixed it. I have checked
>> http://wiki.apache.org/hadoop/ConnectionRefused but t= here is no information
>> on how to fix it. It is o= bvious that it seems to be a network error ,  but I
= >> am interested in knowing if anybody has faced this error and fixed= it. Reply
>> and help most appreciated.
>>
>> Thanks
>= ;>
>> Regards, Anand Murali  11/7, 'Anand = Vihar', Kandasamy St, MylaporeChennai -
>> 600 004,= IndiaPh: (044)- 28474593/ 43526162 (voicemail)

<hadoop-anand_vihar-namenode-Latitude-E5540.out>&= lt;hadoop-anand_vihar-namenode-Latitude-E5540.log>



------=_Part_6034088_1648599751.1430131804170--