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 1C7D1E584 for ; Mon, 7 Jan 2013 22:30:56 +0000 (UTC) Received: (qmail 14734 invoked by uid 500); 7 Jan 2013 22:30:51 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 14607 invoked by uid 500); 7 Jan 2013 22:30:51 -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 14600 invoked by uid 99); 7 Jan 2013 22:30:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jan 2013 22:30:51 +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 (athena.apache.org: domain of jhzhang.email@gmail.com designates 209.85.212.49 as permitted sender) Received: from [209.85.212.49] (HELO mail-vb0-f49.google.com) (209.85.212.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jan 2013 22:30:46 +0000 Received: by mail-vb0-f49.google.com with SMTP id r6so20078693vbi.36 for ; Mon, 07 Jan 2013 14:30:25 -0800 (PST) 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=VmLKTWpOjpB2YIwJeZrGA8UZ81XA6KPJgtJUEnugHWM=; b=QhexTL3rB2dd1AdD9vlnErkf7NrbvOn3lyK/lKqCUtl40w4LZQTsZKnh/nCSvqgZUl dfcus3AESP0d3jjsT7Mv6m4xoxcoStL/pUWsrRTWKXiTFQQEFizQqWnbo6TVvUkGeI/o woIsgsvFaAUi5mStR6eQHp4aV5i55x8SyyIxlAe5QUXZHpe8FWQs13SBDkcsAQXEPUOE z5o+R4Y6vZBbrw7Lvg6DgTdvnxHfK5wNSNzyQLFIkklXJIL1vU6UcYdYqMUWc/aacm5c lZ3VCFVqVlntDvPvc7q/UKQjXs6R96RpoClPD/sTSTOh6u00UQ2SuIWNLdZHiR4XF4JM HhsA== MIME-Version: 1.0 Received: by 10.52.178.225 with SMTP id db1mr75307716vdc.10.1357597825862; Mon, 07 Jan 2013 14:30:25 -0800 (PST) Received: by 10.58.206.77 with HTTP; Mon, 7 Jan 2013 14:30:25 -0800 (PST) In-Reply-To: References: Date: Mon, 7 Jan 2013 14:30:25 -0800 Message-ID: Subject: Re: Can I switch the IP/host of NN without losing the filesystem? From: Jianhui Zhang To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=bcaec5196d71288c7d04d2ba60c0 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec5196d71288c7d04d2ba60c0 Content-Type: text/plain; charset=ISO-8859-1 Thank everybody for the responses. James On Mon, Jan 7, 2013 at 12:49 PM, Robert Molina wrote: > 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 >>> >> >> > --bcaec5196d71288c7d04d2ba60c0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thank everybody for the responses.

James

On Mon, Jan 7, 2013 at 12:49 PM,= Robert Molina <rmolina@hortonworks.com> wrote:
Hi James,=A0
This should be fine, but ju= st wanted to add that you will need to also make the change on your other n= odes within the cluster, so they 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.




= On Sun, Jan 6, 2013 at 6:41 PM, Jianhui Zhang <jhzhang.email@gmail.c= om> 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



--bcaec5196d71288c7d04d2ba60c0--