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 0032411697 for ; Sat, 26 Jul 2014 21:19:27 +0000 (UTC) Received: (qmail 94828 invoked by uid 500); 26 Jul 2014 21:19:23 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 94693 invoked by uid 500); 26 Jul 2014 21:19:23 -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 94682 invoked by uid 99); 26 Jul 2014 21:19:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2014 21:19:22 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ed.sweeney@falkonry.com designates 209.85.213.176 as permitted sender) Received: from [209.85.213.176] (HELO mail-ig0-f176.google.com) (209.85.213.176) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2014 21:19:18 +0000 Received: by mail-ig0-f176.google.com with SMTP id hn18so2170792igb.9 for ; Sat, 26 Jul 2014 14:18:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=2UG1wrH93dd2pYlpKqlopqKhoGRzh8lSGFORsyR/97Q=; b=dGHGje9fUO65aLci6VGETyv4rCyjVwIX/pHxrwGArK8Xlg/LB9hOu/Wbn0JV2Zxpv5 Eujl+UE5u1ZA7vbKKBWIv65BkdSaLudBXGM8uXGRDTqJUutZ3LBZBPFQ7foVhkVsihNi YvbJcyfIrgF6mqMU9MVEbXy6H4Yt7d04KhcnCfqRQNwFSP/ajM9ZI86D4sjH/i1YlLIf oFwGMGUNm9WqWCcKUnACF1dri4wGymQGE9QUnUzS947MhLbpMG22rSExWwt0LiwndJdH wTxjFsFowW7duM3JVus9L12xR0tjSY9rfAYPK9k3scxMaizUSlsLP8HbJqH0MWxPDuKR rmjQ== X-Gm-Message-State: ALoCoQkpbba65/a7mHVpiwhEnRc49TeDGxuJn1h2CJnVkxeGcAj8nMM9yX5id7DzwSlQ+9twXxno MIME-Version: 1.0 X-Received: by 10.42.85.81 with SMTP id p17mr30591753icl.33.1406409536074; Sat, 26 Jul 2014 14:18:56 -0700 (PDT) Received: by 10.42.239.8 with HTTP; Sat, 26 Jul 2014 14:18:56 -0700 (PDT) In-Reply-To: References: Date: Sat, 26 Jul 2014 14:18:56 -0700 Message-ID: Subject: Re: Datanode denied communication with namenode From: Ed Sweeney To: user@hadoop.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org worked around it for now by telling namenode to stop doing reverse dns checks in aws. dfs.namenode.datanode.registration.ip-hostname-check=false On Sat, Jul 26, 2014 at 12:47 PM, hadoop hive wrote: > Did you allowed RPC and TCP communication in you security group, which you > have added to you hosts. > > Please also check your exclude file and third point is to increase your dn > heapsize and start it. > > Thanks > > On Jul 27, 2014 1:01 AM, "Ed Sweeney" wrote: >> >> All, >> >> New AWS cluster with Cloudera 4.3 RPMs. >> >> dfs.hosts contains 3 host names, they all resolve from each of the 3 >> hosts. >> >> the datanode on the same machine as the namenode starts fine (once I >> added it's longname hostname to dfs.hosts file). >> >> the 2 remote datanodes both get the error below. >> >> org.apache.hadoop.hdfs.server.protocol.DisallowedDatanodeException: >> Datanode denied communication with namenode because hostname cannot be >> resolved (ip=10.0.7.61, hostname=10.0.7.61): >> DatanodeRegistration(0.0.0.0, >> datanodeUuid=de84029d-107b-4c80-b503-c990a3621a40, >> >> It is AWS VPC so no reverse dns and I don't want to add anything to >> the /etc/hosts files - shouldn't have to since the long and short >> names all resolve properly. >> >> Seeing hostname field in the error message has the ip field, I tried >> using dfs.client.use.datanode.hostname = true but no change. >> >> Any help appreciated! >> >> -Ed