Return-Path: X-Original-To: apmail-hadoop-general-archive@minotaur.apache.org Delivered-To: apmail-hadoop-general-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 221AAD4FC for ; Sun, 25 Nov 2012 14:13:44 +0000 (UTC) Received: (qmail 70590 invoked by uid 500); 25 Nov 2012 14:13:42 -0000 Delivered-To: apmail-hadoop-general-archive@hadoop.apache.org Received: (qmail 70376 invoked by uid 500); 25 Nov 2012 14:13:42 -0000 Mailing-List: contact general-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@hadoop.apache.org Delivered-To: mailing list general@hadoop.apache.org Received: (qmail 70330 invoked by uid 99); 25 Nov 2012 14:13:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Nov 2012 14:13:41 +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.210.176 as permitted sender) Received: from [209.85.210.176] (HELO mail-ia0-f176.google.com) (209.85.210.176) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Nov 2012 14:13:35 +0000 Received: by mail-ia0-f176.google.com with SMTP id k32so6257088iak.35 for ; Sun, 25 Nov 2012 06:13:15 -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:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=RtoG7bqbbC1rH0jv8i7agIft2yS3OH78YxEz6A14zA8=; b=A195pXUXfHsKyByIPgau/JxnpDW11TeXCgKheJI2eexShqvfIn3p0cj+GmVzUWagkx VxPCHXqYBhRJNUnoUUe9KYsLUkHG9DWZZVNBeRFMOyv7G/9SsS94JptiWcTjSCgozY0g a7vJRxcJ6MOjNEBPq/z5Yj+QyVGSLnCQ9jEJBAzCDdGcqgyItsOy+NK43YUlrdmAX+NL GAikE1Jh33xj1TKe7Zq6GjyVrDhI8mcM0j9aBmnb0tVUPySMsBQ4nBIDXKWtReKXvEZv tQQsfBBq6ynmawCoXRPL6QT2gHFB9+oOjjHGS6sFwKLcM/iaez+yLp2Q3g0dobFza/F2 4hfw== Received: by 10.50.153.137 with SMTP id vg9mr11219314igb.40.1353852795390; Sun, 25 Nov 2012 06:13:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.6.129 with HTTP; Sun, 25 Nov 2012 06:12:55 -0800 (PST) In-Reply-To: References: From: Harsh J Date: Sun, 25 Nov 2012 19:42:55 +0530 Message-ID: Subject: Re: Changing SSH ports in Hadoop To: fatih.haltas@nyu.edu, "" Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnJHdtyGP4hodGVfmxSxmrKN7aVb2osc8tLxjXr2ddBiRJ6FiBj8aBY+RP3NzDonYKWL6pg X-Virus-Checked: Checked by ClamAV on apache.org Hi, Configure "HADOOP_SSH_OPTS" in your hadoop-env.sh, to add any SSH CLI options you need to always be present when the Hadoop scripts use SSH. A line like 'export HADOOP_SSH_OPTS="-p "' perhaps would be what you are looking for. P.s. General list is only for project level discussions, not user help. I've moved your mail to user@hadoop.apache.org which is more appropriate for such questions. On Sun, Nov 25, 2012 at 7:33 PM, Fatih Haltas wrote: > By the way i am using Centos 6 > > > On Sun, Nov 25, 2012 at 6:01 PM, Fatih Haltas wrote: > >> Hi everyone, >> >> I am trying to set up Hadoop on clusters, but because of my university >> rules, I cannot use default port for SSH. Also, I did not find how can I >> configure ssh port from which datanodes and namenodes communicate with >> eachother. Can anybody explain me how i can change this port in hadoop >> configuration from which config file, after changing from config file, to >> prevent any crash, what do i nedd to do? >> >> Thanks, >> >> Fatih >> >> >> -- Harsh J