Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-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 ABB4E10D61 for ; Fri, 10 Jan 2014 13:39:49 +0000 (UTC) Received: (qmail 8097 invoked by uid 500); 10 Jan 2014 13:37:16 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 7954 invoked by uid 500); 10 Jan 2014 13:37:04 -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 7908 invoked by uid 99); 10 Jan 2014 13:36:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jan 2014 13:36:53 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sjp12012a@gmail.com designates 209.85.192.179 as permitted sender) Received: from [209.85.192.179] (HELO mail-pd0-f179.google.com) (209.85.192.179) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jan 2014 13:36:46 +0000 Received: by mail-pd0-f179.google.com with SMTP id y13so2078183pdi.10 for ; Fri, 10 Jan 2014 05:36:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; bh=1UYFqAwHsf3yuQgwFRNyf9wbOc/BvTgNPTHDA5QQYbE=; b=UZqmswcRY4W0nJf4VsHaKMkrKzv7CknJuh6GGqoT+Z4MUgcRuYRviq3fecuneLE/Mj KQhQRBq5ZoQ5XK1Et+o1keRKyDMLXIvZ3CZQCxYhRUjhs/F8OznwMPGCUBMPaiLZfN5d gjUxGGiYHiwTZEFutUF007I2Z5MIBEjQg2LBGCYZD9q7KBO5nDMgc3qyXRYGt+mQOYIa TeucpUNk66pJ9tQBQp/SbcJeYjxNJsAAn6JSLpxtMEY+fwd0/LivKm+Ccb43DM1zRNTL NqwvFdMOpq8BBYBn9UbP9hyNprarLzfABTz4w+G5rZ0rUe+YFh3xwlWCnm+A0S1iHqdv aacA== X-Received: by 10.66.149.231 with SMTP id ud7mr11697330pab.8.1389360985366; Fri, 10 Jan 2014 05:36:25 -0800 (PST) Received: from [192.168.0.101] ([122.175.25.195]) by mx.google.com with ESMTPSA id wp8sm17516324pbc.26.2014.01.10.05.36.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 10 Jan 2014 05:36:23 -0800 (PST) Message-ID: <52CFF753.6020809@gmail.com> Date: Fri, 10 Jan 2014 19:06:19 +0530 From: Michael Bremen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: user@hadoop.apache.org Subject: Switch and configure single node and cluster XML configuration Content-Type: multipart/mixed; boundary="------------000506050105030607090105" X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------000506050105030607090105 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit HI, I have a workstation and a laptop. I have installed 2.1.1 release on both computers. Now I want to test single node and cluster setup. I am attaching the conf/core-site.xml and conf/hdfs-site.xml. The network topology is as follows Workstation connected to router via ethernet. Laptop connected to router via wireless. SSH ( without pass phrase ) working between the two. LAN broadcast ip : 192.168.0.0 Workstation will act as the master in cluster setup with ip: 192.168.0.101 Laptop ip: 192.168.0.103 Operating systems : Ubuntu 13.04 distribution of Linux operating system. I have commented the hdfs-site.xml properties for switching between single node and cluster setup. Problems : 1. In single node configuration ( Datanode and secondary Namenode successfully working) Namenode failed to start on the workstation. 2. In cluster node configuration, the secondary name node is on laptop. The master script ( start-dfs.sh ) tries to start the secondary name node on the laptop with IP address 192.168.0.0 instead of 192.168.0.103 hence failed to connect to port 22. ( using 192.168.0.0:22 instead of 192.168.0.103:22). Am I configuring the hdfs-site.xml correct ? Thanks. --------------000506050105030607090105 Content-Type: text/xml; name="core-site.xml" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="core-site.xml" fs.default.name hdfs://localhost:9000 --------------000506050105030607090105 Content-Type: text/xml; name="hdfs-site.xml" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="hdfs-site.xml" dfs.replication 1 dfs.namenode.secondary.http-address 0.0.0.0:50090 dfs.datanode.address 0.0.0.0:50010 dfs.datanode.http.address 0.0.0.0:50075 dfs.datanode.ipc.address 0.0.0.0:50020 dfs.namenode.http-address 0.0.0.0:50070 --------------000506050105030607090105--