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 7C66CD98F for ; Fri, 24 Aug 2012 08:58:26 +0000 (UTC) Received: (qmail 82666 invoked by uid 500); 24 Aug 2012 08:58:21 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 82427 invoked by uid 500); 24 Aug 2012 08:58:21 -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 82406 invoked by uid 99); 24 Aug 2012 08:58:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Aug 2012 08:58:20 +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 funnlearnforkids@gmail.com designates 209.85.210.176 as permitted sender) Received: from [209.85.210.176] (HELO mail-iy0-f176.google.com) (209.85.210.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Aug 2012 08:58:14 +0000 Received: by iagt4 with SMTP id t4so3408909iag.35 for ; Fri, 24 Aug 2012 01:57:53 -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=5Vd1KpUax+NmNKagpB0nrlPO+3oWQR9QNBM9AcciIvg=; b=sNOafyTF3RG/9lVyKaqMaL6cI7/H1bPRvmNF8xU+0DPG9aLAmHQky5uP13Ubaq4MUs z2GLcMf23Q8kIr2B3/Nxghv+5kKnIkt8h5Z8W7PRiu9rkg7qQ+R9Z8DspS11S7xnanUN qbNIUsLlLyJ8MAmusQFRj3SJQ6hdCscQijvlaGtz/ceeGD3Ub3rrQCTi0SmLb1kHEfri u3FCeab65+spOnsws1X3BazIIO9q/57MMxByYNwjY87xr9wfUA1ulf5T2KUhlZ7hFiXT tEUoWHVs2s/W5k10m9M2OvGN7YjyE6PIbRm9xeL3CXhsDr8dvGKkOn7MRAAmkgIoMgP3 sJtw== MIME-Version: 1.0 Received: by 10.50.1.200 with SMTP id 8mr1295447igo.65.1345798673219; Fri, 24 Aug 2012 01:57:53 -0700 (PDT) Received: by 10.43.3.138 with HTTP; Fri, 24 Aug 2012 01:57:53 -0700 (PDT) In-Reply-To: References: Date: Fri, 24 Aug 2012 14:27:53 +0530 Message-ID: Subject: Re: Live nodes count not incremented with the addition of new nodes From: iwannaplay games To: user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org yeah installation is proper but it seems they are sharing the same storage id' Do i need to make any change in slaves configuration.I have copied the slaves image on other nodes. Check this log file: 2012-08-24 19:46:18,179 INFO org.apache.hadoop.net.NetworkTopology: Adding a new node: /default-rack/192.168.0.190:50010 2012-08-24 19:46:18,188 INFO org.apache.hadoop.hdfs.StateChange: *BLOCK* NameNode.blocksBeingWrittenReport: from 192.168.0.190:50010 0 blocks 2012-08-24 19:46:18,215 INFO org.apache.hadoop.hdfs.StateChange: *BLOCK* NameSystem.processReport: from 192.168.0.190:50010, blocks: 0, processing time: 1 msecs 2012-08-24 19:46:18,276 INFO org.apache.hadoop.hdfs.StateChange: BLOCK* NameSystem.registerDatanode: node registration from 192.168.0.122:50010 storage DS-2050366683-192.168.0.122-50010-1344447057014 2012-08-24 19:46:18,276 INFO org.apache.hadoop.hdfs.StateChange: BLOCK* NameSystem.registerDatanode: node 192.168.0.190:50010 is replaced by 192.168.0.122:50010 with the same storageID DS-2050366683-192.168.0.122-50010-1344447057014 2012-08-24 19:46:18,276 INFO org.apache.hadoop.net.NetworkTopology: Removing a node: /default-rack/192.168.0.190:50010 2012-08-24 19:46:18,276 INFO org.apache.hadoop.net.NetworkTopology: Adding a new node: /default-rack/192.168.0.122:50010 Why with another node registration previous node is removed? Regards Prabhjot On Thu, Aug 23, 2012 at 7:24 PM, Harsh J wrote: > > I'd first check if your additional nodes came up fine (check the > services' logs) and connected to the master alright. > > On Thu, Aug 23, 2012 at 7:18 PM, iwannaplay games > wrote: > > > > > > Hi > > > > I had a 2 node cluster earlier.I added 2 nodes on the fly in hadoop cluster. > > > > Ran these commands > > hadoop dfsadmin -refreshNodes > > hadoop mradmin -refreshNodes > > > > But still when i check through fsck or http://master:50070 > > i get only 2 live nodes,one master and one slave(out of 3 slaves,randomly it > > picks anyone) > > > > Can anybody tell me why its not updating the count of live nodes to 4. > > > > Regards > > Prabhjot > > > > > > -- > Harsh J