Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-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 4B5F511B50 for ; Sun, 3 Aug 2014 21:58:08 +0000 (UTC) Received: (qmail 25228 invoked by uid 500); 3 Aug 2014 21:58:03 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 25079 invoked by uid 500); 3 Aug 2014 21:58:02 -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 25069 invoked by uid 99); 3 Aug 2014 21:58:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Aug 2014 21:58:02 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of simpleliving016@gmail.com designates 209.85.192.182 as permitted sender) Received: from [209.85.192.182] (HELO mail-pd0-f182.google.com) (209.85.192.182) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Aug 2014 21:57:58 +0000 Received: by mail-pd0-f182.google.com with SMTP id fp1so8555520pdb.27 for ; Sun, 03 Aug 2014 14:57:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=owS8ZiL4UzBDQCOdX71ip9UG0nXrVDN4P3splk95G4o=; b=Y89tf6j+rdD14obp+FYFB/QS88BNz8dXrBNMZf8v6oMyflMb7ZMfVj63v91DrIHxre Gcfen/7VlrpdS66tpLhRTUaq+cuqNN3qovAyw5SuBprlgjPabhe6IlnlkFbP1Yx1yzux U2jdxwny6EGTmOsz6SlJR3BgN4BEKcUs4tb2hiMKfcdk0vFtp85eyS6n3UQD4pilXn67 lUblrskH3i5W70ApkzTP6OSBErQYoiuLqvAjgR1pNsdihJCpOzuhZYHBOacxj/iSIdf1 zuU4jwcBhJTAXG753q0CuuO6VBG2YW7t3S8sFmkovqoo30+fRgzCX39EIey8w228Fevg uaOg== MIME-Version: 1.0 X-Received: by 10.70.36.33 with SMTP id n1mr19716887pdj.26.1407103058294; Sun, 03 Aug 2014 14:57:38 -0700 (PDT) Received: by 10.70.119.97 with HTTP; Sun, 3 Aug 2014 14:57:38 -0700 (PDT) Date: Sun, 3 Aug 2014 17:57:38 -0400 Message-ID: Subject: Datanode not allowed to connect to the Namenode in Hadoop 2.3.0 cluster. From: "S.L" To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=047d7bfe9e2cf3bc5604ffc0b593 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bfe9e2cf3bc5604ffc0b593 Content-Type: text/plain; charset=UTF-8 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. --047d7bfe9e2cf3bc5604ffc0b593 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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.16= 2: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</value>
=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.
--047d7bfe9e2cf3bc5604ffc0b593--