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 7568911938 for ; Tue, 16 Sep 2014 11:09:02 +0000 (UTC) Received: (qmail 47625 invoked by uid 500); 16 Sep 2014 11:08:53 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 47515 invoked by uid 500); 16 Sep 2014 11:08:53 -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 47505 invoked by uid 99); 16 Sep 2014 11:08:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Sep 2014 11:08:52 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of charles.robertson@gmail.com designates 209.85.217.181 as permitted sender) Received: from [209.85.217.181] (HELO mail-lb0-f181.google.com) (209.85.217.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Sep 2014 11:08:25 +0000 Received: by mail-lb0-f181.google.com with SMTP id z11so6405869lbi.12 for ; Tue, 16 Sep 2014 04:08:24 -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=TS4kPalK8gp9Ts9jJYdKX/T/JZVY6OBOZAmd0DTWSBA=; b=mK5gK8ZH9zaFnqzQXVn1MbjoR//IDV7Fxs1gUMA/sApTCLQx9NHeluFcE26XFYyHQc vw23ovdlzsEse38kuyzB6xxr4nI365mjamAJ/4oEnyawnHVkq0sDDK+owKxcsN2eGNAQ o8Fzsljp76gyLqn3OpnCeeReVsxyc8BLwGwMtZ2z0lxUbKRCTovid9Xue/Hu68OwEm7l 7ZPBlBNcAPPrh6y/bh6120IfjUAAxaEuOQL23af7+ypVd+URm0yAt3ZifF4zvOhjbP/n JLB82ulpzeyvTGVHrYSWxRNMp8jzscQaVZf0Ch64Zz7GGylthFnEWxk2kETJZYk+LOg9 fDzg== MIME-Version: 1.0 X-Received: by 10.152.28.230 with SMTP id e6mr36150210lah.62.1410865702828; Tue, 16 Sep 2014 04:08:22 -0700 (PDT) Received: by 10.112.77.196 with HTTP; Tue, 16 Sep 2014 04:08:22 -0700 (PDT) In-Reply-To: References: Date: Tue, 16 Sep 2014 12:08:22 +0100 Message-ID: Subject: Re: Cannot start DataNode after adding new volume From: Charles Robertson To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=089e0160b79a0b01c105032cc50e X-Virus-Checked: Checked by ClamAV on apache.org --089e0160b79a0b01c105032cc50e Content-Type: text/plain; charset=UTF-8 Hi Susheel, Tried that - same result. DataNode still not starting. Thanks, Charles On 16 September 2014 11:49, Susheel Kumar Gadalay wrote: > 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 > >> > > >> > > > --089e0160b79a0b01c105032cc50e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Susheel,

Tried that - same result. D= ataNode still not starting.

Thanks,
Char= les

On= 16 September 2014 11:49, Susheel Kumar Gadalay <skgadalay@gmail.com= > wrote:
The VERSION file has t= o 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 <charles.robertson@gmail.com> 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 h= as 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 <skgadalay@gmail.com>
> 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 <charles.robertson@gmail.com> wrote:
>> > Hi all,
>> >
>> > I am running out of space on a data node, so added a new volu= me to the
>> > host, mounted it and made sure the permissions were set OK. T= hen I
>> updated
>> > the 'DataNode Directories' property in Ambari to incl= ude 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 Data= Node
>> 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
>> >
>>
>

--089e0160b79a0b01c105032cc50e--