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 8212D106D9 for ; Tue, 30 Apr 2013 21:15:10 +0000 (UTC) Received: (qmail 39343 invoked by uid 500); 30 Apr 2013 21:15:05 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 39020 invoked by uid 500); 30 Apr 2013 21:15:05 -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 39013 invoked by uid 99); 30 Apr 2013 21:15:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Apr 2013 21:15:05 +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 dontariq@gmail.com designates 209.85.128.173 as permitted sender) Received: from [209.85.128.173] (HELO mail-ve0-f173.google.com) (209.85.128.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Apr 2013 21:15:01 +0000 Received: by mail-ve0-f173.google.com with SMTP id ox1so809579veb.18 for ; Tue, 30 Apr 2013 14:14:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=Xv+tHyZB6SsjS8OfAob7mA7E2MVUy8xbKTMN4Oph2sU=; b=ZfvHLv+32QNJR7Y+Jw6Nd6dfayCErEAh6nezc1+GCE4K7Lucu/K97x6yROYLH5xzbl 0PIl/Ssey39mXsE+/tSg+p6ZiO/rueOqkPo7EB1Vow9fqmj4Fx6/RVxDuVNsdlbJaWq+ Msl/Z08teGdP8+kMrN5v/spNrjcu2utjxs8MkDz70oiOlKRDGHjhHHOMQGi21DUAIx7D GzUiRtzJ0feEYTYGJAmr91fB1aSMDBeoXnKsMeb5kZuAV2/vfdGgKSWizuJq+zoKHx1r RgKSq3C79R/2yRzV6v8NMUKZW7WYN9+MufvXfs9mAykZFJeCebGvmFJyfO7TtN112DV9 0hwg== X-Received: by 10.52.65.144 with SMTP id x16mr4505850vds.123.1367356480392; Tue, 30 Apr 2013 14:14:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.220.194 with HTTP; Tue, 30 Apr 2013 14:14:00 -0700 (PDT) In-Reply-To: References: From: Mohammad Tariq Date: Wed, 1 May 2013 02:44:00 +0530 Message-ID: Subject: Re: New to Hadoop-SSH communication To: "user@hadoop.apache.org" Content-Type: multipart/alternative; boundary=bcaec501c4ea4bc33104db9a7ddb X-Virus-Checked: Checked by ClamAV on apache.org --bcaec501c4ea4bc33104db9a7ddb Content-Type: text/plain; charset=ISO-8859-1 ssh is actually *user@some_machine *to *user@some_other_machine*. either use same username on both the machines or add the IPs along with proper user@hostname in /etc/hosts file. HTH Warm Regards, Tariq https://mtariq.jux.com/ cloudfront.blogspot.com On Wed, May 1, 2013 at 2:39 AM, Automation Me wrote: > Hello, > > I am new to Hadoop and trying to install multinode cluster on ubuntu > VM's.I am not able to communicate between two clusters using SSH. > > My host file: > > 127.0.1.1 Master > 127.0.1.2 Slave > > The following changes i made in two VM's > > 1.Updated the etc/hosts file in two vm's > > on Master VM > i did SSH keygen and trying to copy the key into Slave > > ssh-keygen -t rsa -P "" > cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys > ssh-copy-id -i $HOME/.ssh/id_rsa.pub slave@ubuntu. > > When i login into master and slave and check > > master@ubuntu>Hostname it says UBUNTU > slave@ubuntu>Hostname it says UBUNTU > > > Could you assist me on this? > > Thanks > Annt > > > > > > > > --bcaec501c4ea4bc33104db9a7ddb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
ssh is actually user@some_machine to user@some_o= ther_machine. either use same username on both the machines or add the = IPs along with proper user@hostname in /etc/hosts file.

HTH



On Wed, May 1, 2013 at 2:39 AM, Automati= on Me <anautomate@gmail.com> wrote:
Hello,

I am new to Hadoop and trying to = install multinode cluster on ubuntu VM's.I am not able to communicate b= etween two clusters using SSH.

M= y host file:

1= 27.0.1.1 Master
127.0.1.2 Slave

The following changes i made in t= wo VM's

1.Updated the etc/hosts file in t= wo vm's

on Master VM
=A0i did SSH keygen and trying to copy the key into Slave

ssh-keygen -t rsa -P &= quot;"
=A0 =A0 =A0 =A0cat $HOME/.ssh/id_rsa.pub >= ;> $HOME/.ssh/authorized_keys
=A0 =A0 =A0 =A0ssh-copy-id -i $HOME/.ssh/id_rsa.pub slave@ubuntu.

When i login into master and slave =A0and check<= /div>

master@ubuntu>Hostname it says UBUNTU
slave@ubuntu>Hostname it says UBUNTU

<= br>
Could you assist me on this?

Thanks
Annt












--bcaec501c4ea4bc33104db9a7ddb--