Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 ED9ABEE90 for ; Mon, 25 Feb 2013 05:05:54 +0000 (UTC) Received: (qmail 69725 invoked by uid 500); 25 Feb 2013 05:05:50 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 69492 invoked by uid 500); 25 Feb 2013 05:05:49 -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 69478 invoked by uid 99); 25 Feb 2013 05:05:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Feb 2013 05:05:49 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of yypvsxf19870706@gmail.com designates 209.85.216.51 as permitted sender) Received: from [209.85.216.51] (HELO mail-qa0-f51.google.com) (209.85.216.51) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Feb 2013 05:05:41 +0000 Received: by mail-qa0-f51.google.com with SMTP id cr7so1372375qab.10 for ; Sun, 24 Feb 2013 21:05:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=9TttI52QhcMAmJ0aZyjuWuRLSHZU7qRgAH0Hj2fSzOE=; b=fBJC3wnQ+GkMascjbCFaIjQmJLEws7wO6x8DsFHF+E5uskdbee5xDMblUs2YUwd6Hl tN5jlIHvBspSFrLIgYjQv+4gXXJ1dKrpcAhbdXj5x6IxflT7wp5E+lMjOSRgyPGfN/Nr hL/oi++uNWeXMz2pBBkHV2W9yzfTmy1CQ9HhP49EMIXyZobzH9KsNVA++cmyd39Hz0fP xdQXdGaTx99Zcri9cRHjAvYQIkZh0tPBX6x0zHBpPIMy0gIgQwaq6PRYJuqPK5AmnzS/ s/ueXqtQJlKmk+8ayzMOrZHicB9tyhLnoXjY4c+9TZGnxVp7sz148Y7h5GXoGo5MceHk eyKg== MIME-Version: 1.0 X-Received: by 10.49.26.35 with SMTP id i3mr10316627qeg.12.1361768720668; Sun, 24 Feb 2013 21:05:20 -0800 (PST) Received: by 10.49.82.202 with HTTP; Sun, 24 Feb 2013 21:05:20 -0800 (PST) In-Reply-To: References: Date: Mon, 25 Feb 2013 13:05:20 +0800 Message-ID: Subject: Re: Errors come out when starting Balancer From: YouPeng Yang To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=047d7b6da204dc97f504d6857c49 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b6da204dc97f504d6857c49 Content-Type: text/plain; charset=ISO-8859-1 Hi . Sorry to bother you againt. I need to close this question by myself. Here is my core-site.xml: ****************************************************************** fs.default.name hdfs://Hadoop01:8020 ****************************************************************** my hdfs-site.xml: ********************************************************************* dfs.nameservices ns1,ns2 dfs.namenode.rpc-address.ns1 Hadoop01:8040 .... Other common configuration ... ********************************************************************** When start the balancer,the script using the fs.default.name of core-site.xml by defulat. according to hdfs-site.xml,the port 8020 does no start.So it goes fo fail when i start the balancer usig the port 8020 of core-site.xml. So the ports of fs.default.name and dfs.namenode.rpc-address. shoud be consistent. Thanks Regards 2013/2/24 YouPeng Yang > Hi ALL > > I start the Balancer on the HDFS Federation,however it comes an error: > java.net.ConnectException: Call From Hadoop01/10.167.14.221 to > Hadoop01:8020 failed on connection exception: java.net.ConnectException: > Connection refused; For more details see: > http://wiki.apache.org/hadoop/ConnectionRefused. Exiting ... > Balancing took 11.163 seconds > > * How Can i solve this.* > * > * > By the way,I have done what explained on the > http://wiki.apache.org/hadoop/ConnectionRefused when i build my basic > and original HDFS cluster.So i think the above error maybe because of > another reasons. > > thanks > > Regards. > > --047d7b6da204dc97f504d6857c49 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi .
=A0 Sorry to bother you againt.

=A0 I need to close this question =A0by myself.
=A0 Here = is my core-site.xml:
=A0 ****************************************= **************************
=A0=A0<configuratio= n>
=A0 = =A0<property>
=A0 =A0<name>fs.default.= name</name>
=A0 =A0<value>hd= fs://Hadoop01:8020</value>
=A0 </property>
=A0</configuration>
=A0 ************************************************= ******************
=A0my hdfs-site.xml:
=A0*********************************************************************=
<configuratio= n>
=A0 =A0 <property>
=A0 =A0 =A0 =A0<name>dfs.nameservices</name= >
=A0 =A0 =A0 =A0&= lt;value>ns1,ns2</value>
=A0 =A0</property>
=A0 =A0<property><= /span>
=A0 =A0 =A0 =A0&= lt;name>dfs.namenode.rpc-address.ns1</name>
=A0 =A0 =A0 <value><= /span>Hadoop01:8040</value>
=A0 =A0</prop= erty>
.... Other common configuration ...
</configuration>
****************************************************************= ******
=A0=A0
When start the =A0balancer,the scri= pt using the =A0=A0fs.default.name of =A0core-site.xml = by defulat.
according to hdfs-site.xml,the port 8020 does no start.So it goe= s fo fail when i start the balancer usig the port 8020 of core-site.xml.

So the =A0ports of =A0fs.default= .name and=A0dfs.namenode.rpc-address.<= ;nameserviceid> shoud be consistent.


Thanks=A0<= /font>

= Regards





2013/2/24 YouPeng Yang <yypv= sxf19870706@gmail.com>
Hi ALL

=A0 I s= tart the =A0Balancer on the HDFS Federation,however it comes an error:
java.net.ConnectException: Call From Hadoop01/10.167.14.221 to Hadoop01:8020 failed on connecti= on exception: java.net.ConnectException: Connection refused; For more detai= ls see: =A0http://wiki.apache.org/hadoop/ConnectionRefused. =A0Exiti= ng ...
Balancing took 11.163 seconds

= =A0How Can i solve this.

By the way,I h= ave done what explained on the http://wiki.apache.org/hadoop/ConnectionR= efused =A0when i build my basic and original HDFS cluster.So i think th= e above error maybe because of another reasons.

thanks

Regards.

=

--047d7b6da204dc97f504d6857c49--