Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 74FBB10300 for ; Sat, 31 Aug 2013 16:24:45 +0000 (UTC) Received: (qmail 65716 invoked by uid 500); 31 Aug 2013 16:24:39 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 65541 invoked by uid 500); 31 Aug 2013 16:24:39 -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 65534 invoked by uid 99); 31 Aug 2013 16:24:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Aug 2013 16:24:38 +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 harsh@cloudera.com designates 209.85.223.182 as permitted sender) Received: from [209.85.223.182] (HELO mail-ie0-f182.google.com) (209.85.223.182) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Aug 2013 16:24:34 +0000 Received: by mail-ie0-f182.google.com with SMTP id aq17so5424266iec.41 for ; Sat, 31 Aug 2013 09:24:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=s2Si0UHuoJw+qVRWaPMwnuriLowi6Zzl1ZItm5x2O9Y=; b=VR5eW+ts6Gck4Wi0DMrGh1ZNmpHWZxJpOGs/+gTdadqdRit1GknshP44PQDpoMR3L8 7EOe1Stato7DtxmBy3iOwKARP9asdSLvqfi5qZDrtT9uL7zWFxrZbKw26aSLhqaU2+KA 8OYKmN8I98cWxBgl0KFulLz0/MAezKq4HQpJm79QE51axVE94fIyZCF7SRCV0k349Fgt qHuQuzm3un6tQWJqa2oO7u2tDx1Gu0Vor0emQ6cbrLZo00feWUw7NUhAcy+XswNdpJVV P40ZLmjUbeBxbXYNwF1snpHHgsV6wg1OKoZ3nvymHT+GyuuIG2+VbuLC5KKSfJEWI8Bs 5d7w== X-Gm-Message-State: ALoCoQkZo7xUtLHsS9Q7VewFAoyp7CQ7xW2+lRHSFa1Os/Rm79ir/2rxmKaoN1LYFOYmviTneNwA X-Received: by 10.50.178.167 with SMTP id cz7mr6385621igc.7.1377966253906; Sat, 31 Aug 2013 09:24:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.56.114 with HTTP; Sat, 31 Aug 2013 09:23:53 -0700 (PDT) In-Reply-To: References: From: Harsh J Date: Sat, 31 Aug 2013 21:53:53 +0530 Message-ID: Subject: Re: How to change default ports of datanodes in a cluster To: "" Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org You can maintain per-DN configs if you wish to restrict the HTTP server to only the public IP, but otherwise use a wildcard 0.0.0.0:PORT, if you were only just looking to change the port. On Sat, Aug 31, 2013 at 9:49 PM, Visioner Sadak wrote: > thanks harsh for a cluster should i enter multiple ip address under tag > dfs.datanode.http.address as i have 4 data nodes > > > On Sat, Aug 31, 2013 at 9:44 PM, Harsh J wrote: >> >> Looking at the hdfs-default.xml should help with such questions: >> >> http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml >> >> The property you need is dfs.datanode.http.address >> >> On Sat, Aug 31, 2013 at 6:47 PM, Visioner Sadak >> wrote: >> > Hello Hadoopers, >> > >> > Default port for datanode is 50075 i am able to change namenode default >> > port >> > by changing >> > >> > dfs.namenode.http-address.ns1 & dfs.namenode.http-address.ns2 in my >> > hdfs-site.xml of my 2 namenodes >> > >> > how to change default port address of my multiple datanodes >> > >> > >> >> >> >> -- >> Harsh J > > -- Harsh J