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 C3132114C3 for ; Sat, 26 Jul 2014 19:31:11 +0000 (UTC) Received: (qmail 898 invoked by uid 500); 26 Jul 2014 19:31:06 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 766 invoked by uid 500); 26 Jul 2014 19:31:05 -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 756 invoked by uid 99); 26 Jul 2014 19:31:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2014 19:31:05 +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 (nike.apache.org: domain of ed.sweeney@falkonry.com designates 209.85.213.181 as permitted sender) Received: from [209.85.213.181] (HELO mail-ig0-f181.google.com) (209.85.213.181) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jul 2014 19:31:02 +0000 Received: by mail-ig0-f181.google.com with SMTP id h3so2103274igd.14 for ; Sat, 26 Jul 2014 12:30:36 -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:date:message-id:subject:from:to :content-type; bh=HbQFy3bnNojaPOL4iY7gKAzsPFyORD/dSI5YqtT65xQ=; b=lLqOhx6iQHaSSiVjvdYDS7f6702wsYGOxKU0DoWErhlOQzc5gfj3REw8+TWPGonKbr exN5OVhDQlZ8Dl0mvGYtBHw9GD3O4oGHtNDlwT7QEtFpWvk6ILgsPRu3ikVVCA3tz2Rf Qh0zXcYiw1jXAcmnPXV7wkN7/aN6v2GpWjmzy/Ift/MdkYrnHCvqQbjZ3cBGvlr9qjdb HX1WHclsVZjiPsP4Fbib1anKJM3Rc0PdykK09IDUQ9ZPYzZy84TysRdRapXaZm6mywLb WsObpbrwNqKIYYM/YaiZ5VIn4pyv2zHU8j4+XTGEQ2gV7eOGIxPmjZh1ZSVLhJ0KkVLP pzfg== X-Gm-Message-State: ALoCoQlZBOq/EtjbTdScTylKEZaap+wu+f3N9yVYixolqf+g+rIvUmeymPhgcjo7Q+DZ+9XeQqea MIME-Version: 1.0 X-Received: by 10.50.107.97 with SMTP id hb1mr8812024igb.3.1406403036875; Sat, 26 Jul 2014 12:30:36 -0700 (PDT) Received: by 10.42.239.8 with HTTP; Sat, 26 Jul 2014 12:30:36 -0700 (PDT) Date: Sat, 26 Jul 2014 12:30:36 -0700 Message-ID: Subject: 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 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