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 4FD47E3C0 for ; Sun, 6 Jan 2013 07:41:39 +0000 (UTC) Received: (qmail 95466 invoked by uid 500); 6 Jan 2013 07:41:34 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 95357 invoked by uid 500); 6 Jan 2013 07:41:33 -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 95336 invoked by uid 99); 6 Jan 2013 07:41:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jan 2013 07:41:32 +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.220.179 as permitted sender) Received: from [209.85.220.179] (HELO mail-vc0-f179.google.com) (209.85.220.179) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jan 2013 07:41:27 +0000 Received: by mail-vc0-f179.google.com with SMTP id p1so18396851vcq.10 for ; Sat, 05 Jan 2013 23:41:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=+upjSfAqLVEQPqNkyW8ZrtT5n6bpZbClKv73wE/Pdv4=; b=ljdIq2mIkniabldM2i0zGrpXDiIOt0r63Bad4Xvod9BkDy3sM2tPSGZ9D8HkNOa1Wj fYvpwDwFuih1uklDsOJuUkisCEMaijRa5B+6Y9GaVxokYbGHd6KA+ytjp+mwK04kb1NC qOcJEXE9P7KZx2UW8MMm5dODmu8NcnKQy6W66G/KY7yXtYCgZkxPpV6FDRt6YSoUmHP9 02aOjkUOwby6jTBl3Ub2/eiUge7Z7vP1HqSlImrNaILBKAmjdaSdIhLDZ6NzvYUh7SX6 w6G+OL3lyi5+nXlqsDA1uhI+99YOjerPceLARzTe9ITX08dYpMsFK8W0ALu3VWBXSvum zUgA== MIME-Version: 1.0 Received: by 10.52.178.225 with SMTP id db1mr71451273vdc.10.1357458066561; Sat, 05 Jan 2013 23:41:06 -0800 (PST) Received: by 10.58.206.77 with HTTP; Sat, 5 Jan 2013 23:41:06 -0800 (PST) Date: Sat, 5 Jan 2013 23:41:06 -0800 Message-ID: Subject: 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=bcaec5196d71dad93604d299d5d3 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec5196d71dad93604d299d5d3 Content-Type: text/plain; charset=ISO-8859-1 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 --bcaec5196d71dad93604d299d5d3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hadoop version: hadoop-0.20.205.0

My NN machine has 2 IP addresses and 2 hostnames assigned to them respe= ctively. I have configured "fs.default.name" using one of the hostnames and used t= he 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
--bcaec5196d71dad93604d299d5d3--