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 6F4DE11897 for ; Tue, 16 Sep 2014 10:50:34 +0000 (UTC) Received: (qmail 96490 invoked by uid 500); 16 Sep 2014 10:50:24 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 96381 invoked by uid 500); 16 Sep 2014 10:50:24 -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 96366 invoked by uid 99); 16 Sep 2014 10:50:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Sep 2014 10:50:23 +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 skgadalay@gmail.com designates 74.125.82.169 as permitted sender) Received: from [74.125.82.169] (HELO mail-we0-f169.google.com) (74.125.82.169) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Sep 2014 10:50:18 +0000 Received: by mail-we0-f169.google.com with SMTP id w61so5535890wes.0 for ; Tue, 16 Sep 2014 03:49:54 -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=yV5rIq6GUiv3O/xzXkvLi5hz1PlHPCp8wBBz8GnEAIs=; b=cXyr1EvlqSZJ5W0UImdoo3cRuVRAuQDLhoc93vim3IagQh6L70j7dN22Hk0bFm4/qH pANGqemPukfsUX4Y8K0hSV3qpyp6P/jpY1898PgTnfeZ4U3DJtR+Z/sX6T+y/b1gLb/n LMLsPM98kJKAyZbN6wKVKuYPcJkKrCmrfiMSvwK5fyeEi3/vg/DzfrmDRs6UH2Flj5yU /6g4qATWj/3yoVVbMlosWoQrLf/EsHSjbwKSLS8gz5C42qXQEtTD8FOS6+OuYYoTWPez JbJbFnYUcAtBH1Pagp9o27NgJvfUoQNwDzP/ds18NJzrULlefZeBvESiggGTCGN5hwmM vMpA== MIME-Version: 1.0 X-Received: by 10.194.158.101 with SMTP id wt5mr40256010wjb.79.1410864593771; Tue, 16 Sep 2014 03:49:53 -0700 (PDT) Received: by 10.217.99.199 with HTTP; Tue, 16 Sep 2014 03:49:53 -0700 (PDT) In-Reply-To: References: Date: Tue, 16 Sep 2014 16:19:53 +0530 Message-ID: Subject: Re: Cannot start DataNode after adding new volume From: Susheel Kumar Gadalay To: user@hadoop.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org The VERSION file has to be same across all the data nodes directories. So I suggested to copy it as it is using OS command and start data node. On 9/16/14, Charles Robertson wrote: > Hi Susheel, > > Thanks for the reply. I'm not entirely sure what you mean. > > When I created the new directory on the new volume I simply created an > empty directory. I see from the existing data node directory that it has a > sub-directory called current containing a file called VERSION. > > Your advice is to create the 'current' sub-directory and copy the VERSION > file across to it without changes? I see it has various guids, and so I'm > worried about it clashing with the VERSION file in the other data > directory. > > Thanks, > Charles > > On 16 September 2014 10:57, Susheel Kumar Gadalay > wrote: > >> Is it something to do current/VERSION file in data node directory. >> >> Just copy from the existing directory and start. >> >> On 9/16/14, Charles Robertson wrote: >> > Hi all, >> > >> > I am running out of space on a data node, so added a new volume to the >> > host, mounted it and made sure the permissions were set OK. Then I >> updated >> > the 'DataNode Directories' property in Ambari to include the new path >> > (comma separated, i.e. '/hadoop/hdfs/data,/data/hdfs'). Next I >> > restarted >> > the components with stale configs for that host, but the DataNode >> wouldn't >> > come back up, reporting 'connection refused'. When I remove the new >> > data >> > directory path from the property and restart, it starts fine. >> > >> > What am I doing wrong? >> > >> > Thanks, >> > Charles >> > >> >