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 14B8C10EEC for ; Tue, 5 Aug 2014 10:36:33 +0000 (UTC) Received: (qmail 55735 invoked by uid 500); 5 Aug 2014 10:36:28 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 55602 invoked by uid 500); 5 Aug 2014 10:36:28 -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 55592 invoked by uid 99); 5 Aug 2014 10:36:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2014 10:36:28 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hadoophive@gmail.com designates 209.85.223.178 as permitted sender) Received: from [209.85.223.178] (HELO mail-ie0-f178.google.com) (209.85.223.178) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2014 10:36:24 +0000 Received: by mail-ie0-f178.google.com with SMTP id rd18so800230iec.37 for ; Tue, 05 Aug 2014 03:36:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=yNRDKDpKrC+4rEQM8ujJa18WN4uZjSSnb8ueKAmNALw=; b=SSrBMX/TfknKiulXInU6H7qbAuRjt4cbP17HPGk4UcMQcY9nUeHfIWOKBgWbDZLDoy Ko7oziAoCAoJ8oLmmHo/WZd9xIMhxmMVy0DOKeg7Hc3qNYT/5Qmr7Gh+MVnWTIeGhGvd 7F9VDF0kW9nFO5ZrKpvwSWjN3alLFWThKoeFX1cS8ZeQMCKnsuLC8Vig9XY1/syfUuu3 fL4tqnnjH/QPLSi7I4CFd4c4JuKCG+3rv4NP/diSSdBZX9m8u/L5JWAfM3A8ITzeWrkb ZNjsB7Qgx9dFTlpBmzoVA8pnFSjYb0HEl8qO0wuROskWUMREprDIRVdU0QHUgBEAP8ue zMFQ== MIME-Version: 1.0 X-Received: by 10.42.58.210 with SMTP id j18mr4688617ich.2.1407234963871; Tue, 05 Aug 2014 03:36:03 -0700 (PDT) Received: by 10.107.156.133 with HTTP; Tue, 5 Aug 2014 03:36:03 -0700 (PDT) Received: by 10.107.156.133 with HTTP; Tue, 5 Aug 2014 03:36:03 -0700 (PDT) In-Reply-To: References: Date: Tue, 5 Aug 2014 16:06:03 +0530 Message-ID: Subject: Re: Datanode not allowed to connect to the Namenode in Hadoop 2.3.0 cluster. From: hadoop hive To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=20cf30334b49231dd104ffdf6c4b X-Virus-Checked: Checked by ClamAV on apache.org --20cf30334b49231dd104ffdf6c4b Content-Type: text/plain; charset=UTF-8 Remove the entry from dfs.exclude if there is any On Aug 4, 2014 3:28 AM, "S.L" wrote: > Hi All, > > I am trying to set up a Apache Hadoop 2.3.0 cluster , I have a master and > three slave nodes , the slave nodes are listed in the > $HADOOP_HOME/etc/hadoop/slaves file and I can telnet from the slaves to the > Master Name node on port 9000, however when I start the datanode on any of > the slaves I get the following exception . > > 2014-08-03 08:04:27,952 FATAL > org.apache.hadoop.hdfs.server.datanode.DataNode: Initialization failed for > block pool Block pool BP-1086620743-170.75.152.162-1407064313305 (Datanode > Uuid null) service to server1.dealyaft.com/170.75.152.162:9000 > org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.protocol.DisallowedDatanodeException): > Datanode denied communication with namenode because hostname cannot be > resolved . > > The following are the contents of my core-site.xml. > > > > fs.default.name > hdfs://server1.mydomain.com:9000 > > > > Also in my hdfs-site.xml I am not setting any value for dfs.hosts or > dfs.hosts.exclude properties. > > Thanks. > --20cf30334b49231dd104ffdf6c4b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Remove the entry from dfs.exclude if there is any

On Aug 4, 2014 3:28 AM, "S.L" <simpleliving016@gmail.com> = wrote:
Hi All,

I am trying to set up a Apac= he Hadoop 2.3.0 cluster , I have a master and three slave nodes , the slave= nodes are listed in the $HADOOP_HOME/etc/hadoop/slaves file and I can teln= et from the slaves to the Master Name node on port 9000, however when I sta= rt the datanode on any of the slaves I get the following exception .

2014-08-03 08:04:27,952 FATAL org.apache.hadoop.hdfs.server.datanode.Da= taNode: Initialization failed for block pool Block pool BP-1086620743-170.7= 5.152.162-1407064313305 (Datanode Uuid null) service to server1.dealyaft= .com/170.75.152.162:9000
org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.protoco= l.DisallowedDatanodeException): Datanode denied communication with namenode= because hostname cannot be resolved .

The following are the c= ontents of my core-site.xml.

<configuration>
=C2=A0=C2=A0=C2=A0 <property>
=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <name>fs.default.name</name>
=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <value>hdfs://server1.mydomain.com:9000</va= lue>
=C2=A0=C2=A0=C2=A0 </property>
</configuration>

Also in my hdfs-site.xml=C2=A0 I am not setting any value for dfs.hosts or= dfs.hosts.exclude properties.

Thanks.
--20cf30334b49231dd104ffdf6c4b--