Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 2926AE2EB for ; Mon, 7 Jan 2013 20:50:17 +0000 (UTC) Received: (qmail 96108 invoked by uid 500); 7 Jan 2013 20:50:12 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 95793 invoked by uid 500); 7 Jan 2013 20:50:12 -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 95783 invoked by uid 99); 7 Jan 2013 20:50:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jan 2013 20:50:12 +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 rmolina@hortonworks.com designates 209.85.220.169 as permitted sender) Received: from [209.85.220.169] (HELO mail-vc0-f169.google.com) (209.85.220.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jan 2013 20:50:05 +0000 Received: by mail-vc0-f169.google.com with SMTP id gb23so20517452vcb.0 for ; Mon, 07 Jan 2013 12:49:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=+0Vi6PSNrhqTBxCOjQHJN15QUEfKMTTlO5KSFWq7eNI=; b=JHvlGvzz6DSXVZnwyShUDSj6NcQWFb5IiFufgjv7jZF5LN99woPknL5yAobKBPFQ5k 5YuQzvFWjqxGLR45RJ2blGLOlRJN73yHaw196WFgwVwcEzXgASCfPnTkSagnULkTpQsU ehsO0/lzIONlglfOTkaxl/GYTGYGHE/zdu31ENafbEs5AZmVQZTe0WCJRHOvrZTputAD G7OfcsF77apmcCH7Xr8hI9eFA0QnCSjLTLzjYbsU0Y3XohzGe/lXPlZIsv0eVd8HnEUd G2Zk1KBg2rj4q/FI6m6GnmiPwz6dB5iSLF/w0E+gCA/KloWLVRhrez1BClTbAgwptiHh X2gw== MIME-Version: 1.0 Received: by 10.221.2.11 with SMTP id ns11mr82876433vcb.3.1357591784535; Mon, 07 Jan 2013 12:49:44 -0800 (PST) Received: by 10.58.225.71 with HTTP; Mon, 7 Jan 2013 12:49:44 -0800 (PST) In-Reply-To: References: Date: Mon, 7 Jan 2013 12:49:44 -0800 Message-ID: Subject: Re: Can I switch the IP/host of NN without losing the filesystem? From: Robert Molina To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=bcaec54ee7d811359a04d2b8f853 X-Gm-Message-State: ALoCoQmMuI5wH+xCTZjMzj0iciGGD+BBUqKk1EDepzlQazuwbtTZhFjgf5nGMaPD8WxTlYoM9gif X-Virus-Checked: Checked by ClamAV on apache.org --bcaec54ee7d811359a04d2b8f853 Content-Type: text/plain; charset=ISO-8859-1 Hi James, This should be fine, but just wanted to add that you will need to also make the change on your other nodes within the cluster, so they know how to contact the filesystem. Regards, Robert On Sun, Jan 6, 2013 at 12:18 AM, Jagat Singh wrote: > Yes your data is safe. > > > > > On Sun, Jan 6, 2013 at 6:41 PM, Jianhui Zhang wrote: > >> Hadoop version: hadoop-0.20.205.0 >> >> My NN machine has 2 IP addresses and 2 hostnames assigned to them >> respectively. I have configured "fs.default.name" using one of the >> hostnames and used the cluster for a while. >> >> Now, I may have to move the "fs.default.name" to the other IP/hostname >> of the same machine. If no other configurations change (such as the >> directories), can I simply change "fs.default.name" to the new hostname, >> restart the NN and expect the same filesystem is intact? >> >> Thanks, >> James >> > > --bcaec54ee7d811359a04d2b8f853 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi James,=A0
This should be fine, but just wanted to add that you will = need to also make the change on your other nodes within the cluster, so the= y know how to contact the filesystem.=A0

Regards,= =A0
Robert

On Sun, Jan 6, 2013 at 12:18 = AM, Jagat Singh <jagatsingh@gmail.com> wrote:
Yes your data is safe.



<= br>
On Sun, Jan 6, 2013 at 6:41 PM, Jianhui Zhang= <jhzhang.email@gmail.com> wrote:
Hadoop versi= on: hadoop-0.20.205.0

My NN machine has 2 IP addresses and 2 h= ostnames assigned to them respectively. I have configured "fs.default.name" using o= ne of the hostnames and used the cluster for a while.

Now, I may have to move the "fs.default.name" to the other IP/hostname of the same machine. If no other=20 configurations change (such as the directories), can I simply change "= fs.default.name&qu= ot; to the new hostname, restart the NN and expect the same filesystem is i= ntact?

Thanks,
James


--bcaec54ee7d811359a04d2b8f853--