Return-Path: X-Original-To: apmail-giraph-user-archive@www.apache.org Delivered-To: apmail-giraph-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4CFA61788C for ; Sat, 8 Nov 2014 09:01:30 +0000 (UTC) Received: (qmail 53010 invoked by uid 500); 8 Nov 2014 09:01:29 -0000 Delivered-To: apmail-giraph-user-archive@giraph.apache.org Received: (qmail 52953 invoked by uid 500); 8 Nov 2014 09:01:29 -0000 Mailing-List: contact user-help@giraph.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@giraph.apache.org Delivered-To: mailing list user@giraph.apache.org Received: (qmail 52943 invoked by uid 99); 8 Nov 2014 09:01:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Nov 2014 09:01:29 +0000 X-ASF-Spam-Status: No, hits=3.2 required=5.0 tests=FORGED_YAHOO_RCVD,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of puagarwal@yahoo.com designates 98.136.217.119 as permitted sender) Received: from [98.136.217.119] (HELO nm25-vm8.bullet.mail.gq1.yahoo.com) (98.136.217.119) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Nov 2014 09:01:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1415437198; bh=v5sSF+VvyFI0sYI38ksV6C6MAepaJe9RrojhlEGxpCk=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=hW1cq17fdtM9BW2vpPHJdC4fG+0B09T4zoXA0uq0zGIctG/y026Fu5gLtL2wxJCj24aC/zl0s1AeFJaSwZc8gM6njiH1JdSTtmzwzQSxIwDeYqw1lNTuM1wqMvnjm0qvbNwQ3/YtBn/2NaetxtqmNJRF0eYfdSTV6yhRiqnvtUfot+nvW+Zev9g653qUcr7afMt462obzAutuphF8T6pWbAmu24xOLaV86gk17XDkinIUezFpkOvGRhVdhiXo8X/T0q0wT4aRA/M51yuXv9+5bfHmHhiXGJtJ5wKHjz7ur/CyjOMbvE+tIkuL2zx9TVyNSyerBJGvXQUB2cazsLtdg== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com; b=kgOzCbiplNZMBfr2WzdwL8drIi8TAESJIifguaZh8VoGI4iUk2r8fYQXmERvYvIYzC00+wLsJLzKkafAuMtrUazHRWoN22fEgqtcuKdj/E54QyrSDcvQpRJR9PwUKwgVm8lna3KaGWB6SzJsAeo2HBdLFlx1qlHVv7IdgtBct3hF6jw9uHeIpUvvY53ALkz4bxOdGl9wHQD8dQvbxaZrd0LKUMp3Kg862okDuVM/5NTXH9i+iZuUp80KIkdyf+Y/SHecZOctq59+ysJpZHaT9A6uh3ycNfO+PXg6I3LHJEsxxK4qUKxiHqUa2yYlrxrCSiEUHcKPix2vKX0ISQqQZw==; Received: from [216.39.60.184] by nm25.bullet.mail.gq1.yahoo.com with NNFMP; 08 Nov 2014 08:59:58 -0000 Received: from [98.137.12.197] by tm20.bullet.mail.gq1.yahoo.com with NNFMP; 08 Nov 2014 08:59:58 -0000 Received: from [127.0.0.1] by omp1005.mail.gq1.yahoo.com with NNFMP; 08 Nov 2014 08:59:58 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 840512.34678.bm@omp1005.mail.gq1.yahoo.com X-YMail-OSG: 8dKXoNwVM1miFTOdyFS_uXZAO_eo38rMwXGN2k1MX0TSD91OrpE48QsBF3cAJqB .QfgOzPXAYgJMxrmwM_IZyAzSFlpfmT8VUfWk.MsV5AJQ74JWhncWuSD._iUMp0_woGP7Iz.Ux.n zthQY5fHDDDIcJRlM0aBs_9rP51w.ds2EyB9VvLuQiwnZA6yErIhVy3d66fD6L1Bj1FHtmJX4DMM 466FLkyjfWO1iZ0Ks4ONbo7KcP_Ap.bYPVWUvvyLW2kk6riuwnLIogaQ8gMa.LEnyZr9wVsT1QNm c4nTtzSrUvDTe4c8UxlNVLDayQtFbiQpD7YyFeCdi9b6dSj0Zkq2uq5W8YQ.czM5woOq_lhq0IqN .HR0vBSG4hJHRpRrv_FHcA6CyeRsmrhvZtwHzlScOUYPB34LSONMgjRjTAbIg.mMnM_ot7tJXbH. miJxsqThPjuT67790I4c9NqDKgK1FYl0tqx_EuBEsLycF_BMbfcRjfopK6CdrEnbWOa6CJudxyQQ kFBmRMqbgXeY_wSmTT.0iOfF9mjuRLsUT2EBbtG1f_GrqAl2zpwJNyu3k2j4Y7b6DGrvYZzSzIca 1J9xKrmQ3GuzA6rOltBOAy2XyP962udL0Kj.i.6l0z2YC Received: by 98.137.12.49; Sat, 08 Nov 2014 08:59:58 +0000 Date: Sat, 8 Nov 2014 08:59:48 +0000 (UTC) From: Puneet Agarwal Reply-To: Puneet Agarwal To: "user@giraph.apache.org" Message-ID: <1066864249.6234.1415437188498.JavaMail.yahoo@jws10770.mail.gq1.yahoo.com> In-Reply-To: References: Subject: Re: java.net.ConnectException: Connection refused MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6233_1224867836.1415437188489" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_6233_1224867836.1415437188489 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks Xenia.I also managed to solve the issue. Following is how I solved i= t. I ran netstat on all the computers of my cluster, and I ran the gripah job = in parallel.I then learnt that this process runs on 127.0.0.1 while other m= achine tries to connect on 172.21.xx.xxx.=C2=A0That's why It gives the erro= r java.net.ConnectException Then opened the /etc/hosts file, I found that the hostname of the machine w= as also mapped to 127.0.0.1.I removed that entry and it worked. It took me = quite a while to resolve this issue. Anyway finally it worked. PuneetIIT Delhi, India =20 On Tuesday, November 4, 2014 4:09 AM, Xenia Demetriou wrote: =20 Hi Puneet, I am not an expert but I had the same error and I solved it by changing the= hostnames of the cluster-Pcs in lowercase e.g Make=20 iHadoop3 -> ihadoop3 =20 -- Xenia 2014-11-02 14:08 GMT+02:00 Puneet Agarwal : I have setup a cluster of 4 computers for running my Pregel jobs. When running a job I often get the following error (given below).I followed= another thread in giraph forums and learnt that this problem is because of= the firewall stopping network traffic.I have stopped the firewall service = on all the machines. These are machines have RHEL 5.5 and I stopped the ser= vice using the command - "service iptables stop" But I still get the same error. Can someone tell me what could be causing this service to be blocked on por= t 30001 on this computer? RegardsPuneet (IIT Delhi, India) Re: Problem running the PageRank example in a cluster | =C2=A0 | | =C2=A0 | =C2=A0 | =C2=A0 | =C2=A0 | =C2=A0 | | Re: Problem running the PageRank example in a clusterthis is the output o= f the command in all servers:Chain INPUT (policy ACCEPT)target prot opt sou= rce destinationACCEPT tcp -- anywhere anywhere stateNEW tcp dpts:30000:3001= 0ACCEPT tcp -- anywhere anywhere ... | | | | View on mail-archives.apache.org | Preview by Yahoo | | | | =C2=A0 | Error=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DUsing Netty without authentication. 2014-11-02 14:26:24,458 WARN org.apache.giraph.comm.netty.NettyClient: conn= ectAllAddresses: Future failed to connect with iHadoop3/172.21.208.178:3000= 1 with 0 failures because of java.net.ConnectException: Connection refused 2014-11-02 14:26:24,458 INFO org.apache.giraph.comm.netty.NettyClient: Usin= g Netty without authentication. 2014-11-02 14:26:24,459 INFO org.apache.giraph.comm.netty.NettyClient: conn= ectAllAddresses: Successfully added 0 connections, (0 total connected) 1 fa= iled, 1 failures total. 2014-11-02 14:26:24,499 WARN org.apache.giraph.comm.netty.handler.ResponseC= lientHandler: exceptionCaught: Channel failed with remote address null java.net.ConnectException: Connection refused =09at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)2014-11-02 14= :26:24,459 INFO org.apache.giraph.comm.netty.NettyClient: connectAllAddress= es: Successfully added 0 connections, (0 total connected) 1 failed, 1 failu= res total. 2014-11-02 14:26:24,499 WARN org.apache.giraph.comm.netty.handler.ResponseC= lientHandler: exceptionCaught: Channel failed with remote address null java.net.ConnectException: Connection refusedjava.net.ConnectException: Con= nection refused ------=_Part_6233_1224867836.1415437188489 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks Xenia.
I also managed to= solve the issue. Following is how I solved it.

I ran netstat on all the computers of my cluster, = and I ran the gripah job in parallel.
I then learnt that this process runs on 127.0.0.1 w= hile other machine tries to connect on 172.21.xx.xxx. 
That's why It gives the error= java.net.ConnectException
Then opened the /etc/hosts file, I found that the hostname= of the machine was also mapped to 127.0.0.1.
I removed that entry and it worked. It took= me quite a while to resolve this issue.

Anyway finally it worked.

Puneet
IIT Delhi, India


On Tuesday, November 4, 2014 4:09 AM, Xenia Demetrio= u <xeniad20@gmail.com> wrote:


Hi Puneet,
I am not an expert but I had the same error and I so= lved it by changing the hostnames of the cluster-Pcs in lowercase e.g Make =
iHadoop3 -&=
gt; ihadoop3  

--
Xenia

2014-11-02 14:08 GMT+02:00 Puneet Ag= arwal <puagarwal@yahoo.com>:
I have setup a= cluster of 4 computers for running my Pregel jobs.

When runni= ng a job I often get the following error (given below).
I followed another thread in gir= aph forums and learnt that this problem is because of the firewall stopping= network traffic.
I have stopped the firewall service on all the machines. These are mac= hines have RHEL 5.5 and I stopped the service using the command - "service = iptables stop"

But I still get the same error.=

Can someon= e tell me what could be causing this service to be blocked on port 30001 on= this computer?

Regards
Puneet (IIT Delhi, India)

 
<= tr><= td colspan=3D"1" rowspan=3D"1" style=3D"vertical-align:middle;font-family:'= Arial', 'Helvetica Neue', 'Helvetica', 'sans-serif';">
 
 
 
 
 
= Re: Problem= running the PageRank example in a cluster
this is the output = of the command in all servers: Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT tcp -- anywhere anywhere state NEW tcp dpts:30000:30010 ACCEPT tcp -- anywhere anywhere ...
Preview by Yahoo
 
<= div dir=3D"ltr">


Error
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Using Nett= y without authentication.
2014-11-02 14=
:26:24,458 WARN org.apache.giraph.comm.netty.NettyClient: connectAllAddress=
es: Future failed to connect with iHadoop3/172.21.208.178:30001 with 0 fail=
ures because of java.net.ConnectException: Connection refused
2014-11-02 14:26:24,458 INFO org.apache.giraph.comm.netty.NettyClient: Usin=
g Netty without authentication.
2014-11-02 14:26:24,459 INFO org.apache.giraph.comm.netty.NettyClient: conn=
ectAllAddresses: Successfully added 0 connections, (0 total connected) 1 fa=
iled, 1 failures total.
2014-11-02 14:26:24,499 WARN org.apache.giraph.comm.netty.handler.ResponseC=
lientHandler: exceptionCaught: Channel failed with remote address null
java.net.ConnectException: Connection refused
=09at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)20=
14-11-02 14:26:24,459 INFO org.apache.giraph.comm.netty.NettyClient: connec=
tAllAddresses: Successfully added 0 connections, (0 total connected) 1 fail=
ed, 1 failures total.
2014-11-02 14:26:24,499 WARN org.apache.giraph.comm.netty.handler.ResponseC=
lientHandler: exceptionCaught: Channel failed with remote address null
java.net.ConnectException: Connection refusedjava.net.ConnectExc=
eption: Connection refused

<= div dir=3D"ltr">



------=_Part_6233_1224867836.1415437188489--