You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Automation Me <an...@gmail.com> on 2013/04/30 23:09:46 UTC

New to Hadoop-SSH communication

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

Re: New to Hadoop-SSH communication

Posted by Automation Me <an...@gmail.com>.
I am still not able to communicate between two Vm's. Changed the hostname
as Master and Slave.Copied the hostnames in master slave
etc/hosts.reinstalled SSH server.

But when i try to copy the file from master to slave its copying to the
master and not to the slave
scp -r /usr/local/hadoop/conf hduser@slave:/home/hduser/Downloads/Somethings

Master etc/hosts
# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters




127.0.0.2   slave
127.0.0.3   master

Slave etc/hosts
#127.0.0.1 localhost


# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


127.0.0.2   slave
127.0.0.3   master


am i missing anything..Thanks in advance..


On Tue, Apr 30, 2013 at 6:18 PM, Automation Me <an...@gmail.com> wrote:

> Thank you Mitra..I will change the hostname
>
>
> On Tue, Apr 30, 2013 at 6:16 PM, Mitra Kaseebhotla <
> mitra.kaseebhotla@gmail.com> wrote:
>
>> and change the hostname to reflect your actual hostnames.
>>
>>
>>
>> On Tue, Apr 30, 2013 at 3:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>
>>> comment out 127.0.1.1 ubuntu in both the machines.
>>>
>>> if it still doesn't work change 127.0.1.1    master to something else,
>>> like 127.0.0.3 or something.
>>>
>>> Warm Regards,
>>> Tariq
>>> https://mtariq.jux.com/
>>> cloudfront.blogspot.com
>>>
>>>
>>> On Wed, May 1, 2013 at 3:34 AM, Automation Me <an...@gmail.com>wrote:
>>>
>>>> Hi Tariq,
>>>>
>>>>
>>>> Master:
>>>>
>>>> Users:
>>>> hduser hduser
>>>>
>>>> hostname:
>>>> ubuntu
>>>>
>>>> *etc/hosts*
>>>>
>>>> 127.0.0.1 localhost
>>>> 127.0.1.1 ubuntu
>>>>
>>>> # The following lines are desirable for IPv6 capable hosts
>>>> ::1     ip6-localhost ip6-loopback
>>>> fe00::0 ip6-localnet
>>>> ff00::0 ip6-mcastprefix
>>>> ff02::1 ip6-allnodes
>>>> ff02::2 ip6-allrouters
>>>>
>>>> 127.0.1.1    master
>>>> 127.0.0.2   slave
>>>>
>>>>
>>>> Slave Machine:
>>>>
>>>> Etc/Hosts
>>>> 127.0.0.1 localhost
>>>> 127.0.1.1 ubuntu
>>>>
>>>> # The following lines are desirable for IPv6 capable hosts
>>>> ::1     ip6-localhost ip6-loopback
>>>> fe00::0 ip6-localnet
>>>> ff00::0 ip6-mcastprefix
>>>> ff02::1 ip6-allnodes
>>>> ff02::2 ip6-allrouters
>>>>
>>>>
>>>> 127.0.1.1    master
>>>> 127.0.0.2   slave
>>>>
>>>>
>>>> users:
>>>> hduser hduser
>>>>
>>>> Hostname:
>>>>
>>>> ubuntu
>>>>
>>>>
>>>> On Tue, Apr 30, 2013 at 5:52 PM, Automation Me <an...@gmail.com>wrote:
>>>>
>>>>> @Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
>>>>> -ubuntu hostname for all machines
>>>>>
>>>>> @Tariq i will send the hosts file and users of all the machines.
>>>>>
>>>>>
>>>>> On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
>>>>> mitra.kaseebhotla@gmail.com> wrote:
>>>>>
>>>>>> Looks like you have just cloned/copied the same VMs. Change the
>>>>>> hostname of each:
>>>>>>
>>>>>> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>>>>>>
>>>>>>> Thank you Tariq.
>>>>>>>
>>>>>>> I am using  the same username on both the machines and when i try to
>>>>>>> copy a file master to slave just to make sure SSH is working fine, The file
>>>>>>> is copying into master itself not an slave machine.
>>>>>>>
>>>>>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>>>>>
>>>>>>> Any suggestions...
>>>>>>>
>>>>>>>
>>>>>>> Thanks
>>>>>>> Annt
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>>>>>
>>>>>>>> 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 <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 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
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>  ________________________________________
>>>>>>
>>>>>>  To Understand Recursion,
>>>>>>  You must first Understand Recursion
>>>>>>  ________________________________________
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
>> --
>>  ________________________________________
>>
>>  To Understand Recursion,
>>  You must first Understand Recursion
>>  ________________________________________
>>
>
>

Re: New to Hadoop-SSH communication

Posted by Automation Me <an...@gmail.com>.
I am still not able to communicate between two Vm's. Changed the hostname
as Master and Slave.Copied the hostnames in master slave
etc/hosts.reinstalled SSH server.

But when i try to copy the file from master to slave its copying to the
master and not to the slave
scp -r /usr/local/hadoop/conf hduser@slave:/home/hduser/Downloads/Somethings

Master etc/hosts
# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters




127.0.0.2   slave
127.0.0.3   master

Slave etc/hosts
#127.0.0.1 localhost


# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


127.0.0.2   slave
127.0.0.3   master


am i missing anything..Thanks in advance..


On Tue, Apr 30, 2013 at 6:18 PM, Automation Me <an...@gmail.com> wrote:

> Thank you Mitra..I will change the hostname
>
>
> On Tue, Apr 30, 2013 at 6:16 PM, Mitra Kaseebhotla <
> mitra.kaseebhotla@gmail.com> wrote:
>
>> and change the hostname to reflect your actual hostnames.
>>
>>
>>
>> On Tue, Apr 30, 2013 at 3:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>
>>> comment out 127.0.1.1 ubuntu in both the machines.
>>>
>>> if it still doesn't work change 127.0.1.1    master to something else,
>>> like 127.0.0.3 or something.
>>>
>>> Warm Regards,
>>> Tariq
>>> https://mtariq.jux.com/
>>> cloudfront.blogspot.com
>>>
>>>
>>> On Wed, May 1, 2013 at 3:34 AM, Automation Me <an...@gmail.com>wrote:
>>>
>>>> Hi Tariq,
>>>>
>>>>
>>>> Master:
>>>>
>>>> Users:
>>>> hduser hduser
>>>>
>>>> hostname:
>>>> ubuntu
>>>>
>>>> *etc/hosts*
>>>>
>>>> 127.0.0.1 localhost
>>>> 127.0.1.1 ubuntu
>>>>
>>>> # The following lines are desirable for IPv6 capable hosts
>>>> ::1     ip6-localhost ip6-loopback
>>>> fe00::0 ip6-localnet
>>>> ff00::0 ip6-mcastprefix
>>>> ff02::1 ip6-allnodes
>>>> ff02::2 ip6-allrouters
>>>>
>>>> 127.0.1.1    master
>>>> 127.0.0.2   slave
>>>>
>>>>
>>>> Slave Machine:
>>>>
>>>> Etc/Hosts
>>>> 127.0.0.1 localhost
>>>> 127.0.1.1 ubuntu
>>>>
>>>> # The following lines are desirable for IPv6 capable hosts
>>>> ::1     ip6-localhost ip6-loopback
>>>> fe00::0 ip6-localnet
>>>> ff00::0 ip6-mcastprefix
>>>> ff02::1 ip6-allnodes
>>>> ff02::2 ip6-allrouters
>>>>
>>>>
>>>> 127.0.1.1    master
>>>> 127.0.0.2   slave
>>>>
>>>>
>>>> users:
>>>> hduser hduser
>>>>
>>>> Hostname:
>>>>
>>>> ubuntu
>>>>
>>>>
>>>> On Tue, Apr 30, 2013 at 5:52 PM, Automation Me <an...@gmail.com>wrote:
>>>>
>>>>> @Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
>>>>> -ubuntu hostname for all machines
>>>>>
>>>>> @Tariq i will send the hosts file and users of all the machines.
>>>>>
>>>>>
>>>>> On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
>>>>> mitra.kaseebhotla@gmail.com> wrote:
>>>>>
>>>>>> Looks like you have just cloned/copied the same VMs. Change the
>>>>>> hostname of each:
>>>>>>
>>>>>> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>>>>>>
>>>>>>> Thank you Tariq.
>>>>>>>
>>>>>>> I am using  the same username on both the machines and when i try to
>>>>>>> copy a file master to slave just to make sure SSH is working fine, The file
>>>>>>> is copying into master itself not an slave machine.
>>>>>>>
>>>>>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>>>>>
>>>>>>> Any suggestions...
>>>>>>>
>>>>>>>
>>>>>>> Thanks
>>>>>>> Annt
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>>>>>
>>>>>>>> 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 <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 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
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>  ________________________________________
>>>>>>
>>>>>>  To Understand Recursion,
>>>>>>  You must first Understand Recursion
>>>>>>  ________________________________________
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
>> --
>>  ________________________________________
>>
>>  To Understand Recursion,
>>  You must first Understand Recursion
>>  ________________________________________
>>
>
>

Re: New to Hadoop-SSH communication

Posted by Automation Me <an...@gmail.com>.
I am still not able to communicate between two Vm's. Changed the hostname
as Master and Slave.Copied the hostnames in master slave
etc/hosts.reinstalled SSH server.

But when i try to copy the file from master to slave its copying to the
master and not to the slave
scp -r /usr/local/hadoop/conf hduser@slave:/home/hduser/Downloads/Somethings

Master etc/hosts
# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters




127.0.0.2   slave
127.0.0.3   master

Slave etc/hosts
#127.0.0.1 localhost


# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


127.0.0.2   slave
127.0.0.3   master


am i missing anything..Thanks in advance..


On Tue, Apr 30, 2013 at 6:18 PM, Automation Me <an...@gmail.com> wrote:

> Thank you Mitra..I will change the hostname
>
>
> On Tue, Apr 30, 2013 at 6:16 PM, Mitra Kaseebhotla <
> mitra.kaseebhotla@gmail.com> wrote:
>
>> and change the hostname to reflect your actual hostnames.
>>
>>
>>
>> On Tue, Apr 30, 2013 at 3:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>
>>> comment out 127.0.1.1 ubuntu in both the machines.
>>>
>>> if it still doesn't work change 127.0.1.1    master to something else,
>>> like 127.0.0.3 or something.
>>>
>>> Warm Regards,
>>> Tariq
>>> https://mtariq.jux.com/
>>> cloudfront.blogspot.com
>>>
>>>
>>> On Wed, May 1, 2013 at 3:34 AM, Automation Me <an...@gmail.com>wrote:
>>>
>>>> Hi Tariq,
>>>>
>>>>
>>>> Master:
>>>>
>>>> Users:
>>>> hduser hduser
>>>>
>>>> hostname:
>>>> ubuntu
>>>>
>>>> *etc/hosts*
>>>>
>>>> 127.0.0.1 localhost
>>>> 127.0.1.1 ubuntu
>>>>
>>>> # The following lines are desirable for IPv6 capable hosts
>>>> ::1     ip6-localhost ip6-loopback
>>>> fe00::0 ip6-localnet
>>>> ff00::0 ip6-mcastprefix
>>>> ff02::1 ip6-allnodes
>>>> ff02::2 ip6-allrouters
>>>>
>>>> 127.0.1.1    master
>>>> 127.0.0.2   slave
>>>>
>>>>
>>>> Slave Machine:
>>>>
>>>> Etc/Hosts
>>>> 127.0.0.1 localhost
>>>> 127.0.1.1 ubuntu
>>>>
>>>> # The following lines are desirable for IPv6 capable hosts
>>>> ::1     ip6-localhost ip6-loopback
>>>> fe00::0 ip6-localnet
>>>> ff00::0 ip6-mcastprefix
>>>> ff02::1 ip6-allnodes
>>>> ff02::2 ip6-allrouters
>>>>
>>>>
>>>> 127.0.1.1    master
>>>> 127.0.0.2   slave
>>>>
>>>>
>>>> users:
>>>> hduser hduser
>>>>
>>>> Hostname:
>>>>
>>>> ubuntu
>>>>
>>>>
>>>> On Tue, Apr 30, 2013 at 5:52 PM, Automation Me <an...@gmail.com>wrote:
>>>>
>>>>> @Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
>>>>> -ubuntu hostname for all machines
>>>>>
>>>>> @Tariq i will send the hosts file and users of all the machines.
>>>>>
>>>>>
>>>>> On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
>>>>> mitra.kaseebhotla@gmail.com> wrote:
>>>>>
>>>>>> Looks like you have just cloned/copied the same VMs. Change the
>>>>>> hostname of each:
>>>>>>
>>>>>> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>>>>>>
>>>>>>> Thank you Tariq.
>>>>>>>
>>>>>>> I am using  the same username on both the machines and when i try to
>>>>>>> copy a file master to slave just to make sure SSH is working fine, The file
>>>>>>> is copying into master itself not an slave machine.
>>>>>>>
>>>>>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>>>>>
>>>>>>> Any suggestions...
>>>>>>>
>>>>>>>
>>>>>>> Thanks
>>>>>>> Annt
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>>>>>
>>>>>>>> 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 <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 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
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>  ________________________________________
>>>>>>
>>>>>>  To Understand Recursion,
>>>>>>  You must first Understand Recursion
>>>>>>  ________________________________________
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
>> --
>>  ________________________________________
>>
>>  To Understand Recursion,
>>  You must first Understand Recursion
>>  ________________________________________
>>
>
>

Re: New to Hadoop-SSH communication

Posted by Automation Me <an...@gmail.com>.
I am still not able to communicate between two Vm's. Changed the hostname
as Master and Slave.Copied the hostnames in master slave
etc/hosts.reinstalled SSH server.

But when i try to copy the file from master to slave its copying to the
master and not to the slave
scp -r /usr/local/hadoop/conf hduser@slave:/home/hduser/Downloads/Somethings

Master etc/hosts
# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters




127.0.0.2   slave
127.0.0.3   master

Slave etc/hosts
#127.0.0.1 localhost


# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


127.0.0.2   slave
127.0.0.3   master


am i missing anything..Thanks in advance..


On Tue, Apr 30, 2013 at 6:18 PM, Automation Me <an...@gmail.com> wrote:

> Thank you Mitra..I will change the hostname
>
>
> On Tue, Apr 30, 2013 at 6:16 PM, Mitra Kaseebhotla <
> mitra.kaseebhotla@gmail.com> wrote:
>
>> and change the hostname to reflect your actual hostnames.
>>
>>
>>
>> On Tue, Apr 30, 2013 at 3:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>
>>> comment out 127.0.1.1 ubuntu in both the machines.
>>>
>>> if it still doesn't work change 127.0.1.1    master to something else,
>>> like 127.0.0.3 or something.
>>>
>>> Warm Regards,
>>> Tariq
>>> https://mtariq.jux.com/
>>> cloudfront.blogspot.com
>>>
>>>
>>> On Wed, May 1, 2013 at 3:34 AM, Automation Me <an...@gmail.com>wrote:
>>>
>>>> Hi Tariq,
>>>>
>>>>
>>>> Master:
>>>>
>>>> Users:
>>>> hduser hduser
>>>>
>>>> hostname:
>>>> ubuntu
>>>>
>>>> *etc/hosts*
>>>>
>>>> 127.0.0.1 localhost
>>>> 127.0.1.1 ubuntu
>>>>
>>>> # The following lines are desirable for IPv6 capable hosts
>>>> ::1     ip6-localhost ip6-loopback
>>>> fe00::0 ip6-localnet
>>>> ff00::0 ip6-mcastprefix
>>>> ff02::1 ip6-allnodes
>>>> ff02::2 ip6-allrouters
>>>>
>>>> 127.0.1.1    master
>>>> 127.0.0.2   slave
>>>>
>>>>
>>>> Slave Machine:
>>>>
>>>> Etc/Hosts
>>>> 127.0.0.1 localhost
>>>> 127.0.1.1 ubuntu
>>>>
>>>> # The following lines are desirable for IPv6 capable hosts
>>>> ::1     ip6-localhost ip6-loopback
>>>> fe00::0 ip6-localnet
>>>> ff00::0 ip6-mcastprefix
>>>> ff02::1 ip6-allnodes
>>>> ff02::2 ip6-allrouters
>>>>
>>>>
>>>> 127.0.1.1    master
>>>> 127.0.0.2   slave
>>>>
>>>>
>>>> users:
>>>> hduser hduser
>>>>
>>>> Hostname:
>>>>
>>>> ubuntu
>>>>
>>>>
>>>> On Tue, Apr 30, 2013 at 5:52 PM, Automation Me <an...@gmail.com>wrote:
>>>>
>>>>> @Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
>>>>> -ubuntu hostname for all machines
>>>>>
>>>>> @Tariq i will send the hosts file and users of all the machines.
>>>>>
>>>>>
>>>>> On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
>>>>> mitra.kaseebhotla@gmail.com> wrote:
>>>>>
>>>>>> Looks like you have just cloned/copied the same VMs. Change the
>>>>>> hostname of each:
>>>>>>
>>>>>> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>>>>>>
>>>>>>> Thank you Tariq.
>>>>>>>
>>>>>>> I am using  the same username on both the machines and when i try to
>>>>>>> copy a file master to slave just to make sure SSH is working fine, The file
>>>>>>> is copying into master itself not an slave machine.
>>>>>>>
>>>>>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>>>>>
>>>>>>> Any suggestions...
>>>>>>>
>>>>>>>
>>>>>>> Thanks
>>>>>>> Annt
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>>>>>
>>>>>>>> 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 <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 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
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>  ________________________________________
>>>>>>
>>>>>>  To Understand Recursion,
>>>>>>  You must first Understand Recursion
>>>>>>  ________________________________________
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
>> --
>>  ________________________________________
>>
>>  To Understand Recursion,
>>  You must first Understand Recursion
>>  ________________________________________
>>
>
>

Re: New to Hadoop-SSH communication

Posted by Automation Me <an...@gmail.com>.
Thank you Mitra..I will change the hostname


On Tue, Apr 30, 2013 at 6:16 PM, Mitra Kaseebhotla <
mitra.kaseebhotla@gmail.com> wrote:

> and change the hostname to reflect your actual hostnames.
>
>
>
> On Tue, Apr 30, 2013 at 3:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>
>> comment out 127.0.1.1 ubuntu in both the machines.
>>
>> if it still doesn't work change 127.0.1.1    master to something else,
>> like 127.0.0.3 or something.
>>
>> Warm Regards,
>> Tariq
>> https://mtariq.jux.com/
>> cloudfront.blogspot.com
>>
>>
>> On Wed, May 1, 2013 at 3:34 AM, Automation Me <an...@gmail.com>wrote:
>>
>>> Hi Tariq,
>>>
>>>
>>> Master:
>>>
>>> Users:
>>> hduser hduser
>>>
>>> hostname:
>>> ubuntu
>>>
>>> *etc/hosts*
>>>
>>> 127.0.0.1 localhost
>>> 127.0.1.1 ubuntu
>>>
>>> # The following lines are desirable for IPv6 capable hosts
>>> ::1     ip6-localhost ip6-loopback
>>> fe00::0 ip6-localnet
>>> ff00::0 ip6-mcastprefix
>>> ff02::1 ip6-allnodes
>>> ff02::2 ip6-allrouters
>>>
>>> 127.0.1.1    master
>>> 127.0.0.2   slave
>>>
>>>
>>> Slave Machine:
>>>
>>> Etc/Hosts
>>> 127.0.0.1 localhost
>>> 127.0.1.1 ubuntu
>>>
>>> # The following lines are desirable for IPv6 capable hosts
>>> ::1     ip6-localhost ip6-loopback
>>> fe00::0 ip6-localnet
>>> ff00::0 ip6-mcastprefix
>>> ff02::1 ip6-allnodes
>>> ff02::2 ip6-allrouters
>>>
>>>
>>> 127.0.1.1    master
>>> 127.0.0.2   slave
>>>
>>>
>>> users:
>>> hduser hduser
>>>
>>> Hostname:
>>>
>>> ubuntu
>>>
>>>
>>> On Tue, Apr 30, 2013 at 5:52 PM, Automation Me <an...@gmail.com>wrote:
>>>
>>>> @Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
>>>> -ubuntu hostname for all machines
>>>>
>>>> @Tariq i will send the hosts file and users of all the machines.
>>>>
>>>>
>>>> On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
>>>> mitra.kaseebhotla@gmail.com> wrote:
>>>>
>>>>> Looks like you have just cloned/copied the same VMs. Change the
>>>>> hostname of each:
>>>>>
>>>>> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>>>>>
>>>>>> Thank you Tariq.
>>>>>>
>>>>>> I am using  the same username on both the machines and when i try to
>>>>>> copy a file master to slave just to make sure SSH is working fine, The file
>>>>>> is copying into master itself not an slave machine.
>>>>>>
>>>>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>>>>
>>>>>> Any suggestions...
>>>>>>
>>>>>>
>>>>>> Thanks
>>>>>> Annt
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>>>>
>>>>>>> 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 <an...@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 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
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>  ________________________________________
>>>>>
>>>>>  To Understand Recursion,
>>>>>  You must first Understand Recursion
>>>>>  ________________________________________
>>>>>
>>>>
>>>>
>>>
>>
>
>
> --
>  ________________________________________
>
>  To Understand Recursion,
>  You must first Understand Recursion
>  ________________________________________
>

Re: New to Hadoop-SSH communication

Posted by Automation Me <an...@gmail.com>.
Thank you Mitra..I will change the hostname


On Tue, Apr 30, 2013 at 6:16 PM, Mitra Kaseebhotla <
mitra.kaseebhotla@gmail.com> wrote:

> and change the hostname to reflect your actual hostnames.
>
>
>
> On Tue, Apr 30, 2013 at 3:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>
>> comment out 127.0.1.1 ubuntu in both the machines.
>>
>> if it still doesn't work change 127.0.1.1    master to something else,
>> like 127.0.0.3 or something.
>>
>> Warm Regards,
>> Tariq
>> https://mtariq.jux.com/
>> cloudfront.blogspot.com
>>
>>
>> On Wed, May 1, 2013 at 3:34 AM, Automation Me <an...@gmail.com>wrote:
>>
>>> Hi Tariq,
>>>
>>>
>>> Master:
>>>
>>> Users:
>>> hduser hduser
>>>
>>> hostname:
>>> ubuntu
>>>
>>> *etc/hosts*
>>>
>>> 127.0.0.1 localhost
>>> 127.0.1.1 ubuntu
>>>
>>> # The following lines are desirable for IPv6 capable hosts
>>> ::1     ip6-localhost ip6-loopback
>>> fe00::0 ip6-localnet
>>> ff00::0 ip6-mcastprefix
>>> ff02::1 ip6-allnodes
>>> ff02::2 ip6-allrouters
>>>
>>> 127.0.1.1    master
>>> 127.0.0.2   slave
>>>
>>>
>>> Slave Machine:
>>>
>>> Etc/Hosts
>>> 127.0.0.1 localhost
>>> 127.0.1.1 ubuntu
>>>
>>> # The following lines are desirable for IPv6 capable hosts
>>> ::1     ip6-localhost ip6-loopback
>>> fe00::0 ip6-localnet
>>> ff00::0 ip6-mcastprefix
>>> ff02::1 ip6-allnodes
>>> ff02::2 ip6-allrouters
>>>
>>>
>>> 127.0.1.1    master
>>> 127.0.0.2   slave
>>>
>>>
>>> users:
>>> hduser hduser
>>>
>>> Hostname:
>>>
>>> ubuntu
>>>
>>>
>>> On Tue, Apr 30, 2013 at 5:52 PM, Automation Me <an...@gmail.com>wrote:
>>>
>>>> @Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
>>>> -ubuntu hostname for all machines
>>>>
>>>> @Tariq i will send the hosts file and users of all the machines.
>>>>
>>>>
>>>> On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
>>>> mitra.kaseebhotla@gmail.com> wrote:
>>>>
>>>>> Looks like you have just cloned/copied the same VMs. Change the
>>>>> hostname of each:
>>>>>
>>>>> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>>>>>
>>>>>> Thank you Tariq.
>>>>>>
>>>>>> I am using  the same username on both the machines and when i try to
>>>>>> copy a file master to slave just to make sure SSH is working fine, The file
>>>>>> is copying into master itself not an slave machine.
>>>>>>
>>>>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>>>>
>>>>>> Any suggestions...
>>>>>>
>>>>>>
>>>>>> Thanks
>>>>>> Annt
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>>>>
>>>>>>> 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 <an...@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 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
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>  ________________________________________
>>>>>
>>>>>  To Understand Recursion,
>>>>>  You must first Understand Recursion
>>>>>  ________________________________________
>>>>>
>>>>
>>>>
>>>
>>
>
>
> --
>  ________________________________________
>
>  To Understand Recursion,
>  You must first Understand Recursion
>  ________________________________________
>

Re: New to Hadoop-SSH communication

Posted by Automation Me <an...@gmail.com>.
Thank you Mitra..I will change the hostname


On Tue, Apr 30, 2013 at 6:16 PM, Mitra Kaseebhotla <
mitra.kaseebhotla@gmail.com> wrote:

> and change the hostname to reflect your actual hostnames.
>
>
>
> On Tue, Apr 30, 2013 at 3:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>
>> comment out 127.0.1.1 ubuntu in both the machines.
>>
>> if it still doesn't work change 127.0.1.1    master to something else,
>> like 127.0.0.3 or something.
>>
>> Warm Regards,
>> Tariq
>> https://mtariq.jux.com/
>> cloudfront.blogspot.com
>>
>>
>> On Wed, May 1, 2013 at 3:34 AM, Automation Me <an...@gmail.com>wrote:
>>
>>> Hi Tariq,
>>>
>>>
>>> Master:
>>>
>>> Users:
>>> hduser hduser
>>>
>>> hostname:
>>> ubuntu
>>>
>>> *etc/hosts*
>>>
>>> 127.0.0.1 localhost
>>> 127.0.1.1 ubuntu
>>>
>>> # The following lines are desirable for IPv6 capable hosts
>>> ::1     ip6-localhost ip6-loopback
>>> fe00::0 ip6-localnet
>>> ff00::0 ip6-mcastprefix
>>> ff02::1 ip6-allnodes
>>> ff02::2 ip6-allrouters
>>>
>>> 127.0.1.1    master
>>> 127.0.0.2   slave
>>>
>>>
>>> Slave Machine:
>>>
>>> Etc/Hosts
>>> 127.0.0.1 localhost
>>> 127.0.1.1 ubuntu
>>>
>>> # The following lines are desirable for IPv6 capable hosts
>>> ::1     ip6-localhost ip6-loopback
>>> fe00::0 ip6-localnet
>>> ff00::0 ip6-mcastprefix
>>> ff02::1 ip6-allnodes
>>> ff02::2 ip6-allrouters
>>>
>>>
>>> 127.0.1.1    master
>>> 127.0.0.2   slave
>>>
>>>
>>> users:
>>> hduser hduser
>>>
>>> Hostname:
>>>
>>> ubuntu
>>>
>>>
>>> On Tue, Apr 30, 2013 at 5:52 PM, Automation Me <an...@gmail.com>wrote:
>>>
>>>> @Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
>>>> -ubuntu hostname for all machines
>>>>
>>>> @Tariq i will send the hosts file and users of all the machines.
>>>>
>>>>
>>>> On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
>>>> mitra.kaseebhotla@gmail.com> wrote:
>>>>
>>>>> Looks like you have just cloned/copied the same VMs. Change the
>>>>> hostname of each:
>>>>>
>>>>> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>>>>>
>>>>>> Thank you Tariq.
>>>>>>
>>>>>> I am using  the same username on both the machines and when i try to
>>>>>> copy a file master to slave just to make sure SSH is working fine, The file
>>>>>> is copying into master itself not an slave machine.
>>>>>>
>>>>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>>>>
>>>>>> Any suggestions...
>>>>>>
>>>>>>
>>>>>> Thanks
>>>>>> Annt
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>>>>
>>>>>>> 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 <an...@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 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
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>  ________________________________________
>>>>>
>>>>>  To Understand Recursion,
>>>>>  You must first Understand Recursion
>>>>>  ________________________________________
>>>>>
>>>>
>>>>
>>>
>>
>
>
> --
>  ________________________________________
>
>  To Understand Recursion,
>  You must first Understand Recursion
>  ________________________________________
>

Re: New to Hadoop-SSH communication

Posted by Automation Me <an...@gmail.com>.
Thank you Mitra..I will change the hostname


On Tue, Apr 30, 2013 at 6:16 PM, Mitra Kaseebhotla <
mitra.kaseebhotla@gmail.com> wrote:

> and change the hostname to reflect your actual hostnames.
>
>
>
> On Tue, Apr 30, 2013 at 3:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>
>> comment out 127.0.1.1 ubuntu in both the machines.
>>
>> if it still doesn't work change 127.0.1.1    master to something else,
>> like 127.0.0.3 or something.
>>
>> Warm Regards,
>> Tariq
>> https://mtariq.jux.com/
>> cloudfront.blogspot.com
>>
>>
>> On Wed, May 1, 2013 at 3:34 AM, Automation Me <an...@gmail.com>wrote:
>>
>>> Hi Tariq,
>>>
>>>
>>> Master:
>>>
>>> Users:
>>> hduser hduser
>>>
>>> hostname:
>>> ubuntu
>>>
>>> *etc/hosts*
>>>
>>> 127.0.0.1 localhost
>>> 127.0.1.1 ubuntu
>>>
>>> # The following lines are desirable for IPv6 capable hosts
>>> ::1     ip6-localhost ip6-loopback
>>> fe00::0 ip6-localnet
>>> ff00::0 ip6-mcastprefix
>>> ff02::1 ip6-allnodes
>>> ff02::2 ip6-allrouters
>>>
>>> 127.0.1.1    master
>>> 127.0.0.2   slave
>>>
>>>
>>> Slave Machine:
>>>
>>> Etc/Hosts
>>> 127.0.0.1 localhost
>>> 127.0.1.1 ubuntu
>>>
>>> # The following lines are desirable for IPv6 capable hosts
>>> ::1     ip6-localhost ip6-loopback
>>> fe00::0 ip6-localnet
>>> ff00::0 ip6-mcastprefix
>>> ff02::1 ip6-allnodes
>>> ff02::2 ip6-allrouters
>>>
>>>
>>> 127.0.1.1    master
>>> 127.0.0.2   slave
>>>
>>>
>>> users:
>>> hduser hduser
>>>
>>> Hostname:
>>>
>>> ubuntu
>>>
>>>
>>> On Tue, Apr 30, 2013 at 5:52 PM, Automation Me <an...@gmail.com>wrote:
>>>
>>>> @Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
>>>> -ubuntu hostname for all machines
>>>>
>>>> @Tariq i will send the hosts file and users of all the machines.
>>>>
>>>>
>>>> On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
>>>> mitra.kaseebhotla@gmail.com> wrote:
>>>>
>>>>> Looks like you have just cloned/copied the same VMs. Change the
>>>>> hostname of each:
>>>>>
>>>>> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>>>>>
>>>>>> Thank you Tariq.
>>>>>>
>>>>>> I am using  the same username on both the machines and when i try to
>>>>>> copy a file master to slave just to make sure SSH is working fine, The file
>>>>>> is copying into master itself not an slave machine.
>>>>>>
>>>>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>>>>
>>>>>> Any suggestions...
>>>>>>
>>>>>>
>>>>>> Thanks
>>>>>> Annt
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>>>>
>>>>>>> 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 <an...@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 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
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>  ________________________________________
>>>>>
>>>>>  To Understand Recursion,
>>>>>  You must first Understand Recursion
>>>>>  ________________________________________
>>>>>
>>>>
>>>>
>>>
>>
>
>
> --
>  ________________________________________
>
>  To Understand Recursion,
>  You must first Understand Recursion
>  ________________________________________
>

Re: New to Hadoop-SSH communication

Posted by Mitra Kaseebhotla <mi...@gmail.com>.
and change the hostname to reflect your actual hostnames.



On Tue, Apr 30, 2013 at 3:14 PM, Mohammad Tariq <do...@gmail.com> wrote:

> comment out 127.0.1.1 ubuntu in both the machines.
>
> if it still doesn't work change 127.0.1.1    master to something else,
> like 127.0.0.3 or something.
>
> Warm Regards,
> Tariq
> https://mtariq.jux.com/
> cloudfront.blogspot.com
>
>
> On Wed, May 1, 2013 at 3:34 AM, Automation Me <an...@gmail.com>wrote:
>
>> Hi Tariq,
>>
>>
>> Master:
>>
>> Users:
>> hduser hduser
>>
>> hostname:
>> ubuntu
>>
>> *etc/hosts*
>>
>> 127.0.0.1 localhost
>> 127.0.1.1 ubuntu
>>
>> # The following lines are desirable for IPv6 capable hosts
>> ::1     ip6-localhost ip6-loopback
>> fe00::0 ip6-localnet
>> ff00::0 ip6-mcastprefix
>> ff02::1 ip6-allnodes
>> ff02::2 ip6-allrouters
>>
>> 127.0.1.1    master
>> 127.0.0.2   slave
>>
>>
>> Slave Machine:
>>
>> Etc/Hosts
>> 127.0.0.1 localhost
>> 127.0.1.1 ubuntu
>>
>> # The following lines are desirable for IPv6 capable hosts
>> ::1     ip6-localhost ip6-loopback
>> fe00::0 ip6-localnet
>> ff00::0 ip6-mcastprefix
>> ff02::1 ip6-allnodes
>> ff02::2 ip6-allrouters
>>
>>
>> 127.0.1.1    master
>> 127.0.0.2   slave
>>
>>
>> users:
>> hduser hduser
>>
>> Hostname:
>>
>> ubuntu
>>
>>
>> On Tue, Apr 30, 2013 at 5:52 PM, Automation Me <an...@gmail.com>wrote:
>>
>>> @Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
>>> -ubuntu hostname for all machines
>>>
>>> @Tariq i will send the hosts file and users of all the machines.
>>>
>>>
>>> On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
>>> mitra.kaseebhotla@gmail.com> wrote:
>>>
>>>> Looks like you have just cloned/copied the same VMs. Change the
>>>> hostname of each:
>>>>
>>>> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>>>>
>>>>
>>>>
>>>> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>>>>
>>>>> Thank you Tariq.
>>>>>
>>>>> I am using  the same username on both the machines and when i try to
>>>>> copy a file master to slave just to make sure SSH is working fine, The file
>>>>> is copying into master itself not an slave machine.
>>>>>
>>>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>>>
>>>>> Any suggestions...
>>>>>
>>>>>
>>>>> Thanks
>>>>> Annt
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>>>
>>>>>> 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 <an...@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 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
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>  ________________________________________
>>>>
>>>>  To Understand Recursion,
>>>>  You must first Understand Recursion
>>>>  ________________________________________
>>>>
>>>
>>>
>>
>


-- 
 ________________________________________

 To Understand Recursion,
 You must first Understand Recursion
 ________________________________________

Re: New to Hadoop-SSH communication

Posted by Mitra Kaseebhotla <mi...@gmail.com>.
and change the hostname to reflect your actual hostnames.



On Tue, Apr 30, 2013 at 3:14 PM, Mohammad Tariq <do...@gmail.com> wrote:

> comment out 127.0.1.1 ubuntu in both the machines.
>
> if it still doesn't work change 127.0.1.1    master to something else,
> like 127.0.0.3 or something.
>
> Warm Regards,
> Tariq
> https://mtariq.jux.com/
> cloudfront.blogspot.com
>
>
> On Wed, May 1, 2013 at 3:34 AM, Automation Me <an...@gmail.com>wrote:
>
>> Hi Tariq,
>>
>>
>> Master:
>>
>> Users:
>> hduser hduser
>>
>> hostname:
>> ubuntu
>>
>> *etc/hosts*
>>
>> 127.0.0.1 localhost
>> 127.0.1.1 ubuntu
>>
>> # The following lines are desirable for IPv6 capable hosts
>> ::1     ip6-localhost ip6-loopback
>> fe00::0 ip6-localnet
>> ff00::0 ip6-mcastprefix
>> ff02::1 ip6-allnodes
>> ff02::2 ip6-allrouters
>>
>> 127.0.1.1    master
>> 127.0.0.2   slave
>>
>>
>> Slave Machine:
>>
>> Etc/Hosts
>> 127.0.0.1 localhost
>> 127.0.1.1 ubuntu
>>
>> # The following lines are desirable for IPv6 capable hosts
>> ::1     ip6-localhost ip6-loopback
>> fe00::0 ip6-localnet
>> ff00::0 ip6-mcastprefix
>> ff02::1 ip6-allnodes
>> ff02::2 ip6-allrouters
>>
>>
>> 127.0.1.1    master
>> 127.0.0.2   slave
>>
>>
>> users:
>> hduser hduser
>>
>> Hostname:
>>
>> ubuntu
>>
>>
>> On Tue, Apr 30, 2013 at 5:52 PM, Automation Me <an...@gmail.com>wrote:
>>
>>> @Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
>>> -ubuntu hostname for all machines
>>>
>>> @Tariq i will send the hosts file and users of all the machines.
>>>
>>>
>>> On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
>>> mitra.kaseebhotla@gmail.com> wrote:
>>>
>>>> Looks like you have just cloned/copied the same VMs. Change the
>>>> hostname of each:
>>>>
>>>> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>>>>
>>>>
>>>>
>>>> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>>>>
>>>>> Thank you Tariq.
>>>>>
>>>>> I am using  the same username on both the machines and when i try to
>>>>> copy a file master to slave just to make sure SSH is working fine, The file
>>>>> is copying into master itself not an slave machine.
>>>>>
>>>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>>>
>>>>> Any suggestions...
>>>>>
>>>>>
>>>>> Thanks
>>>>> Annt
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>>>
>>>>>> 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 <an...@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 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
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>  ________________________________________
>>>>
>>>>  To Understand Recursion,
>>>>  You must first Understand Recursion
>>>>  ________________________________________
>>>>
>>>
>>>
>>
>


-- 
 ________________________________________

 To Understand Recursion,
 You must first Understand Recursion
 ________________________________________

Re: New to Hadoop-SSH communication

Posted by Automation Me <an...@gmail.com>.
Thank you Tariq. I will try that...


On Tue, Apr 30, 2013 at 6:14 PM, Mohammad Tariq <do...@gmail.com> wrote:

> comment out 127.0.1.1 ubuntu in both the machines.
>
> if it still doesn't work change 127.0.1.1    master to something else,
> like 127.0.0.3 or something.
>
> Warm Regards,
> Tariq
> https://mtariq.jux.com/
> cloudfront.blogspot.com
>
>
> On Wed, May 1, 2013 at 3:34 AM, Automation Me <an...@gmail.com>wrote:
>
>> Hi Tariq,
>>
>>
>> Master:
>>
>> Users:
>> hduser hduser
>>
>> hostname:
>> ubuntu
>>
>> *etc/hosts*
>>
>> 127.0.0.1 localhost
>> 127.0.1.1 ubuntu
>>
>> # The following lines are desirable for IPv6 capable hosts
>> ::1     ip6-localhost ip6-loopback
>> fe00::0 ip6-localnet
>> ff00::0 ip6-mcastprefix
>> ff02::1 ip6-allnodes
>> ff02::2 ip6-allrouters
>>
>> 127.0.1.1    master
>> 127.0.0.2   slave
>>
>>
>> Slave Machine:
>>
>> Etc/Hosts
>> 127.0.0.1 localhost
>> 127.0.1.1 ubuntu
>>
>> # The following lines are desirable for IPv6 capable hosts
>> ::1     ip6-localhost ip6-loopback
>> fe00::0 ip6-localnet
>> ff00::0 ip6-mcastprefix
>> ff02::1 ip6-allnodes
>> ff02::2 ip6-allrouters
>>
>>
>> 127.0.1.1    master
>> 127.0.0.2   slave
>>
>>
>> users:
>> hduser hduser
>>
>> Hostname:
>>
>> ubuntu
>>
>>
>> On Tue, Apr 30, 2013 at 5:52 PM, Automation Me <an...@gmail.com>wrote:
>>
>>> @Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
>>> -ubuntu hostname for all machines
>>>
>>> @Tariq i will send the hosts file and users of all the machines.
>>>
>>>
>>> On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
>>> mitra.kaseebhotla@gmail.com> wrote:
>>>
>>>> Looks like you have just cloned/copied the same VMs. Change the
>>>> hostname of each:
>>>>
>>>> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>>>>
>>>>
>>>>
>>>> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>>>>
>>>>> Thank you Tariq.
>>>>>
>>>>> I am using  the same username on both the machines and when i try to
>>>>> copy a file master to slave just to make sure SSH is working fine, The file
>>>>> is copying into master itself not an slave machine.
>>>>>
>>>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>>>
>>>>> Any suggestions...
>>>>>
>>>>>
>>>>> Thanks
>>>>> Annt
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>>>
>>>>>> 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 <an...@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 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
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>  ________________________________________
>>>>
>>>>  To Understand Recursion,
>>>>  You must first Understand Recursion
>>>>  ________________________________________
>>>>
>>>
>>>
>>
>

Re: New to Hadoop-SSH communication

Posted by Automation Me <an...@gmail.com>.
Thank you Tariq. I will try that...


On Tue, Apr 30, 2013 at 6:14 PM, Mohammad Tariq <do...@gmail.com> wrote:

> comment out 127.0.1.1 ubuntu in both the machines.
>
> if it still doesn't work change 127.0.1.1    master to something else,
> like 127.0.0.3 or something.
>
> Warm Regards,
> Tariq
> https://mtariq.jux.com/
> cloudfront.blogspot.com
>
>
> On Wed, May 1, 2013 at 3:34 AM, Automation Me <an...@gmail.com>wrote:
>
>> Hi Tariq,
>>
>>
>> Master:
>>
>> Users:
>> hduser hduser
>>
>> hostname:
>> ubuntu
>>
>> *etc/hosts*
>>
>> 127.0.0.1 localhost
>> 127.0.1.1 ubuntu
>>
>> # The following lines are desirable for IPv6 capable hosts
>> ::1     ip6-localhost ip6-loopback
>> fe00::0 ip6-localnet
>> ff00::0 ip6-mcastprefix
>> ff02::1 ip6-allnodes
>> ff02::2 ip6-allrouters
>>
>> 127.0.1.1    master
>> 127.0.0.2   slave
>>
>>
>> Slave Machine:
>>
>> Etc/Hosts
>> 127.0.0.1 localhost
>> 127.0.1.1 ubuntu
>>
>> # The following lines are desirable for IPv6 capable hosts
>> ::1     ip6-localhost ip6-loopback
>> fe00::0 ip6-localnet
>> ff00::0 ip6-mcastprefix
>> ff02::1 ip6-allnodes
>> ff02::2 ip6-allrouters
>>
>>
>> 127.0.1.1    master
>> 127.0.0.2   slave
>>
>>
>> users:
>> hduser hduser
>>
>> Hostname:
>>
>> ubuntu
>>
>>
>> On Tue, Apr 30, 2013 at 5:52 PM, Automation Me <an...@gmail.com>wrote:
>>
>>> @Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
>>> -ubuntu hostname for all machines
>>>
>>> @Tariq i will send the hosts file and users of all the machines.
>>>
>>>
>>> On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
>>> mitra.kaseebhotla@gmail.com> wrote:
>>>
>>>> Looks like you have just cloned/copied the same VMs. Change the
>>>> hostname of each:
>>>>
>>>> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>>>>
>>>>
>>>>
>>>> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>>>>
>>>>> Thank you Tariq.
>>>>>
>>>>> I am using  the same username on both the machines and when i try to
>>>>> copy a file master to slave just to make sure SSH is working fine, The file
>>>>> is copying into master itself not an slave machine.
>>>>>
>>>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>>>
>>>>> Any suggestions...
>>>>>
>>>>>
>>>>> Thanks
>>>>> Annt
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>>>
>>>>>> 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 <an...@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 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
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>  ________________________________________
>>>>
>>>>  To Understand Recursion,
>>>>  You must first Understand Recursion
>>>>  ________________________________________
>>>>
>>>
>>>
>>
>

Re: New to Hadoop-SSH communication

Posted by Automation Me <an...@gmail.com>.
Thank you Tariq. I will try that...


On Tue, Apr 30, 2013 at 6:14 PM, Mohammad Tariq <do...@gmail.com> wrote:

> comment out 127.0.1.1 ubuntu in both the machines.
>
> if it still doesn't work change 127.0.1.1    master to something else,
> like 127.0.0.3 or something.
>
> Warm Regards,
> Tariq
> https://mtariq.jux.com/
> cloudfront.blogspot.com
>
>
> On Wed, May 1, 2013 at 3:34 AM, Automation Me <an...@gmail.com>wrote:
>
>> Hi Tariq,
>>
>>
>> Master:
>>
>> Users:
>> hduser hduser
>>
>> hostname:
>> ubuntu
>>
>> *etc/hosts*
>>
>> 127.0.0.1 localhost
>> 127.0.1.1 ubuntu
>>
>> # The following lines are desirable for IPv6 capable hosts
>> ::1     ip6-localhost ip6-loopback
>> fe00::0 ip6-localnet
>> ff00::0 ip6-mcastprefix
>> ff02::1 ip6-allnodes
>> ff02::2 ip6-allrouters
>>
>> 127.0.1.1    master
>> 127.0.0.2   slave
>>
>>
>> Slave Machine:
>>
>> Etc/Hosts
>> 127.0.0.1 localhost
>> 127.0.1.1 ubuntu
>>
>> # The following lines are desirable for IPv6 capable hosts
>> ::1     ip6-localhost ip6-loopback
>> fe00::0 ip6-localnet
>> ff00::0 ip6-mcastprefix
>> ff02::1 ip6-allnodes
>> ff02::2 ip6-allrouters
>>
>>
>> 127.0.1.1    master
>> 127.0.0.2   slave
>>
>>
>> users:
>> hduser hduser
>>
>> Hostname:
>>
>> ubuntu
>>
>>
>> On Tue, Apr 30, 2013 at 5:52 PM, Automation Me <an...@gmail.com>wrote:
>>
>>> @Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
>>> -ubuntu hostname for all machines
>>>
>>> @Tariq i will send the hosts file and users of all the machines.
>>>
>>>
>>> On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
>>> mitra.kaseebhotla@gmail.com> wrote:
>>>
>>>> Looks like you have just cloned/copied the same VMs. Change the
>>>> hostname of each:
>>>>
>>>> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>>>>
>>>>
>>>>
>>>> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>>>>
>>>>> Thank you Tariq.
>>>>>
>>>>> I am using  the same username on both the machines and when i try to
>>>>> copy a file master to slave just to make sure SSH is working fine, The file
>>>>> is copying into master itself not an slave machine.
>>>>>
>>>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>>>
>>>>> Any suggestions...
>>>>>
>>>>>
>>>>> Thanks
>>>>> Annt
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>>>
>>>>>> 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 <an...@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 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
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>  ________________________________________
>>>>
>>>>  To Understand Recursion,
>>>>  You must first Understand Recursion
>>>>  ________________________________________
>>>>
>>>
>>>
>>
>

Re: New to Hadoop-SSH communication

Posted by Mitra Kaseebhotla <mi...@gmail.com>.
and change the hostname to reflect your actual hostnames.



On Tue, Apr 30, 2013 at 3:14 PM, Mohammad Tariq <do...@gmail.com> wrote:

> comment out 127.0.1.1 ubuntu in both the machines.
>
> if it still doesn't work change 127.0.1.1    master to something else,
> like 127.0.0.3 or something.
>
> Warm Regards,
> Tariq
> https://mtariq.jux.com/
> cloudfront.blogspot.com
>
>
> On Wed, May 1, 2013 at 3:34 AM, Automation Me <an...@gmail.com>wrote:
>
>> Hi Tariq,
>>
>>
>> Master:
>>
>> Users:
>> hduser hduser
>>
>> hostname:
>> ubuntu
>>
>> *etc/hosts*
>>
>> 127.0.0.1 localhost
>> 127.0.1.1 ubuntu
>>
>> # The following lines are desirable for IPv6 capable hosts
>> ::1     ip6-localhost ip6-loopback
>> fe00::0 ip6-localnet
>> ff00::0 ip6-mcastprefix
>> ff02::1 ip6-allnodes
>> ff02::2 ip6-allrouters
>>
>> 127.0.1.1    master
>> 127.0.0.2   slave
>>
>>
>> Slave Machine:
>>
>> Etc/Hosts
>> 127.0.0.1 localhost
>> 127.0.1.1 ubuntu
>>
>> # The following lines are desirable for IPv6 capable hosts
>> ::1     ip6-localhost ip6-loopback
>> fe00::0 ip6-localnet
>> ff00::0 ip6-mcastprefix
>> ff02::1 ip6-allnodes
>> ff02::2 ip6-allrouters
>>
>>
>> 127.0.1.1    master
>> 127.0.0.2   slave
>>
>>
>> users:
>> hduser hduser
>>
>> Hostname:
>>
>> ubuntu
>>
>>
>> On Tue, Apr 30, 2013 at 5:52 PM, Automation Me <an...@gmail.com>wrote:
>>
>>> @Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
>>> -ubuntu hostname for all machines
>>>
>>> @Tariq i will send the hosts file and users of all the machines.
>>>
>>>
>>> On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
>>> mitra.kaseebhotla@gmail.com> wrote:
>>>
>>>> Looks like you have just cloned/copied the same VMs. Change the
>>>> hostname of each:
>>>>
>>>> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>>>>
>>>>
>>>>
>>>> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>>>>
>>>>> Thank you Tariq.
>>>>>
>>>>> I am using  the same username on both the machines and when i try to
>>>>> copy a file master to slave just to make sure SSH is working fine, The file
>>>>> is copying into master itself not an slave machine.
>>>>>
>>>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>>>
>>>>> Any suggestions...
>>>>>
>>>>>
>>>>> Thanks
>>>>> Annt
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>>>
>>>>>> 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 <an...@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 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
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>  ________________________________________
>>>>
>>>>  To Understand Recursion,
>>>>  You must first Understand Recursion
>>>>  ________________________________________
>>>>
>>>
>>>
>>
>


-- 
 ________________________________________

 To Understand Recursion,
 You must first Understand Recursion
 ________________________________________

Re: New to Hadoop-SSH communication

Posted by Automation Me <an...@gmail.com>.
Thank you Tariq. I will try that...


On Tue, Apr 30, 2013 at 6:14 PM, Mohammad Tariq <do...@gmail.com> wrote:

> comment out 127.0.1.1 ubuntu in both the machines.
>
> if it still doesn't work change 127.0.1.1    master to something else,
> like 127.0.0.3 or something.
>
> Warm Regards,
> Tariq
> https://mtariq.jux.com/
> cloudfront.blogspot.com
>
>
> On Wed, May 1, 2013 at 3:34 AM, Automation Me <an...@gmail.com>wrote:
>
>> Hi Tariq,
>>
>>
>> Master:
>>
>> Users:
>> hduser hduser
>>
>> hostname:
>> ubuntu
>>
>> *etc/hosts*
>>
>> 127.0.0.1 localhost
>> 127.0.1.1 ubuntu
>>
>> # The following lines are desirable for IPv6 capable hosts
>> ::1     ip6-localhost ip6-loopback
>> fe00::0 ip6-localnet
>> ff00::0 ip6-mcastprefix
>> ff02::1 ip6-allnodes
>> ff02::2 ip6-allrouters
>>
>> 127.0.1.1    master
>> 127.0.0.2   slave
>>
>>
>> Slave Machine:
>>
>> Etc/Hosts
>> 127.0.0.1 localhost
>> 127.0.1.1 ubuntu
>>
>> # The following lines are desirable for IPv6 capable hosts
>> ::1     ip6-localhost ip6-loopback
>> fe00::0 ip6-localnet
>> ff00::0 ip6-mcastprefix
>> ff02::1 ip6-allnodes
>> ff02::2 ip6-allrouters
>>
>>
>> 127.0.1.1    master
>> 127.0.0.2   slave
>>
>>
>> users:
>> hduser hduser
>>
>> Hostname:
>>
>> ubuntu
>>
>>
>> On Tue, Apr 30, 2013 at 5:52 PM, Automation Me <an...@gmail.com>wrote:
>>
>>> @Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
>>> -ubuntu hostname for all machines
>>>
>>> @Tariq i will send the hosts file and users of all the machines.
>>>
>>>
>>> On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
>>> mitra.kaseebhotla@gmail.com> wrote:
>>>
>>>> Looks like you have just cloned/copied the same VMs. Change the
>>>> hostname of each:
>>>>
>>>> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>>>>
>>>>
>>>>
>>>> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>>>>
>>>>> Thank you Tariq.
>>>>>
>>>>> I am using  the same username on both the machines and when i try to
>>>>> copy a file master to slave just to make sure SSH is working fine, The file
>>>>> is copying into master itself not an slave machine.
>>>>>
>>>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>>>
>>>>> Any suggestions...
>>>>>
>>>>>
>>>>> Thanks
>>>>> Annt
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>>>
>>>>>> 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 <an...@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 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
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>  ________________________________________
>>>>
>>>>  To Understand Recursion,
>>>>  You must first Understand Recursion
>>>>  ________________________________________
>>>>
>>>
>>>
>>
>

Re: New to Hadoop-SSH communication

Posted by Mitra Kaseebhotla <mi...@gmail.com>.
and change the hostname to reflect your actual hostnames.



On Tue, Apr 30, 2013 at 3:14 PM, Mohammad Tariq <do...@gmail.com> wrote:

> comment out 127.0.1.1 ubuntu in both the machines.
>
> if it still doesn't work change 127.0.1.1    master to something else,
> like 127.0.0.3 or something.
>
> Warm Regards,
> Tariq
> https://mtariq.jux.com/
> cloudfront.blogspot.com
>
>
> On Wed, May 1, 2013 at 3:34 AM, Automation Me <an...@gmail.com>wrote:
>
>> Hi Tariq,
>>
>>
>> Master:
>>
>> Users:
>> hduser hduser
>>
>> hostname:
>> ubuntu
>>
>> *etc/hosts*
>>
>> 127.0.0.1 localhost
>> 127.0.1.1 ubuntu
>>
>> # The following lines are desirable for IPv6 capable hosts
>> ::1     ip6-localhost ip6-loopback
>> fe00::0 ip6-localnet
>> ff00::0 ip6-mcastprefix
>> ff02::1 ip6-allnodes
>> ff02::2 ip6-allrouters
>>
>> 127.0.1.1    master
>> 127.0.0.2   slave
>>
>>
>> Slave Machine:
>>
>> Etc/Hosts
>> 127.0.0.1 localhost
>> 127.0.1.1 ubuntu
>>
>> # The following lines are desirable for IPv6 capable hosts
>> ::1     ip6-localhost ip6-loopback
>> fe00::0 ip6-localnet
>> ff00::0 ip6-mcastprefix
>> ff02::1 ip6-allnodes
>> ff02::2 ip6-allrouters
>>
>>
>> 127.0.1.1    master
>> 127.0.0.2   slave
>>
>>
>> users:
>> hduser hduser
>>
>> Hostname:
>>
>> ubuntu
>>
>>
>> On Tue, Apr 30, 2013 at 5:52 PM, Automation Me <an...@gmail.com>wrote:
>>
>>> @Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
>>> -ubuntu hostname for all machines
>>>
>>> @Tariq i will send the hosts file and users of all the machines.
>>>
>>>
>>> On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
>>> mitra.kaseebhotla@gmail.com> wrote:
>>>
>>>> Looks like you have just cloned/copied the same VMs. Change the
>>>> hostname of each:
>>>>
>>>> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>>>>
>>>>
>>>>
>>>> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>>>>
>>>>> Thank you Tariq.
>>>>>
>>>>> I am using  the same username on both the machines and when i try to
>>>>> copy a file master to slave just to make sure SSH is working fine, The file
>>>>> is copying into master itself not an slave machine.
>>>>>
>>>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>>>
>>>>> Any suggestions...
>>>>>
>>>>>
>>>>> Thanks
>>>>> Annt
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>>>
>>>>>> 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 <an...@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 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
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>  ________________________________________
>>>>
>>>>  To Understand Recursion,
>>>>  You must first Understand Recursion
>>>>  ________________________________________
>>>>
>>>
>>>
>>
>


-- 
 ________________________________________

 To Understand Recursion,
 You must first Understand Recursion
 ________________________________________

Re: New to Hadoop-SSH communication

Posted by Mohammad Tariq <do...@gmail.com>.
comment out 127.0.1.1 ubuntu in both the machines.

if it still doesn't work change 127.0.1.1    master to something else, like
127.0.0.3 or something.

Warm Regards,
Tariq
https://mtariq.jux.com/
cloudfront.blogspot.com


On Wed, May 1, 2013 at 3:34 AM, Automation Me <an...@gmail.com> wrote:

> Hi Tariq,
>
>
> Master:
>
> Users:
> hduser hduser
>
> hostname:
> ubuntu
>
> *etc/hosts*
>
> 127.0.0.1 localhost
> 127.0.1.1 ubuntu
>
> # The following lines are desirable for IPv6 capable hosts
> ::1     ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
>
> 127.0.1.1    master
> 127.0.0.2   slave
>
>
> Slave Machine:
>
> Etc/Hosts
> 127.0.0.1 localhost
> 127.0.1.1 ubuntu
>
> # The following lines are desirable for IPv6 capable hosts
> ::1     ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
>
>
> 127.0.1.1    master
> 127.0.0.2   slave
>
>
> users:
> hduser hduser
>
> Hostname:
>
> ubuntu
>
>
> On Tue, Apr 30, 2013 at 5:52 PM, Automation Me <an...@gmail.com>wrote:
>
>> @Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
>> -ubuntu hostname for all machines
>>
>> @Tariq i will send the hosts file and users of all the machines.
>>
>>
>> On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
>> mitra.kaseebhotla@gmail.com> wrote:
>>
>>> Looks like you have just cloned/copied the same VMs. Change the hostname
>>> of each:
>>>
>>> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>>>
>>>
>>>
>>> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>>>
>>>> Thank you Tariq.
>>>>
>>>> I am using  the same username on both the machines and when i try to
>>>> copy a file master to slave just to make sure SSH is working fine, The file
>>>> is copying into master itself not an slave machine.
>>>>
>>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>>
>>>> Any suggestions...
>>>>
>>>>
>>>> Thanks
>>>> Annt
>>>>
>>>>
>>>>
>>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>>
>>>>> 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 <an...@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 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
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>>  ________________________________________
>>>
>>>  To Understand Recursion,
>>>  You must first Understand Recursion
>>>  ________________________________________
>>>
>>
>>
>

Re: New to Hadoop-SSH communication

Posted by Mohammad Tariq <do...@gmail.com>.
comment out 127.0.1.1 ubuntu in both the machines.

if it still doesn't work change 127.0.1.1    master to something else, like
127.0.0.3 or something.

Warm Regards,
Tariq
https://mtariq.jux.com/
cloudfront.blogspot.com


On Wed, May 1, 2013 at 3:34 AM, Automation Me <an...@gmail.com> wrote:

> Hi Tariq,
>
>
> Master:
>
> Users:
> hduser hduser
>
> hostname:
> ubuntu
>
> *etc/hosts*
>
> 127.0.0.1 localhost
> 127.0.1.1 ubuntu
>
> # The following lines are desirable for IPv6 capable hosts
> ::1     ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
>
> 127.0.1.1    master
> 127.0.0.2   slave
>
>
> Slave Machine:
>
> Etc/Hosts
> 127.0.0.1 localhost
> 127.0.1.1 ubuntu
>
> # The following lines are desirable for IPv6 capable hosts
> ::1     ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
>
>
> 127.0.1.1    master
> 127.0.0.2   slave
>
>
> users:
> hduser hduser
>
> Hostname:
>
> ubuntu
>
>
> On Tue, Apr 30, 2013 at 5:52 PM, Automation Me <an...@gmail.com>wrote:
>
>> @Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
>> -ubuntu hostname for all machines
>>
>> @Tariq i will send the hosts file and users of all the machines.
>>
>>
>> On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
>> mitra.kaseebhotla@gmail.com> wrote:
>>
>>> Looks like you have just cloned/copied the same VMs. Change the hostname
>>> of each:
>>>
>>> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>>>
>>>
>>>
>>> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>>>
>>>> Thank you Tariq.
>>>>
>>>> I am using  the same username on both the machines and when i try to
>>>> copy a file master to slave just to make sure SSH is working fine, The file
>>>> is copying into master itself not an slave machine.
>>>>
>>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>>
>>>> Any suggestions...
>>>>
>>>>
>>>> Thanks
>>>> Annt
>>>>
>>>>
>>>>
>>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>>
>>>>> 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 <an...@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 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
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>>  ________________________________________
>>>
>>>  To Understand Recursion,
>>>  You must first Understand Recursion
>>>  ________________________________________
>>>
>>
>>
>

Re: New to Hadoop-SSH communication

Posted by Mohammad Tariq <do...@gmail.com>.
comment out 127.0.1.1 ubuntu in both the machines.

if it still doesn't work change 127.0.1.1    master to something else, like
127.0.0.3 or something.

Warm Regards,
Tariq
https://mtariq.jux.com/
cloudfront.blogspot.com


On Wed, May 1, 2013 at 3:34 AM, Automation Me <an...@gmail.com> wrote:

> Hi Tariq,
>
>
> Master:
>
> Users:
> hduser hduser
>
> hostname:
> ubuntu
>
> *etc/hosts*
>
> 127.0.0.1 localhost
> 127.0.1.1 ubuntu
>
> # The following lines are desirable for IPv6 capable hosts
> ::1     ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
>
> 127.0.1.1    master
> 127.0.0.2   slave
>
>
> Slave Machine:
>
> Etc/Hosts
> 127.0.0.1 localhost
> 127.0.1.1 ubuntu
>
> # The following lines are desirable for IPv6 capable hosts
> ::1     ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
>
>
> 127.0.1.1    master
> 127.0.0.2   slave
>
>
> users:
> hduser hduser
>
> Hostname:
>
> ubuntu
>
>
> On Tue, Apr 30, 2013 at 5:52 PM, Automation Me <an...@gmail.com>wrote:
>
>> @Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
>> -ubuntu hostname for all machines
>>
>> @Tariq i will send the hosts file and users of all the machines.
>>
>>
>> On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
>> mitra.kaseebhotla@gmail.com> wrote:
>>
>>> Looks like you have just cloned/copied the same VMs. Change the hostname
>>> of each:
>>>
>>> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>>>
>>>
>>>
>>> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>>>
>>>> Thank you Tariq.
>>>>
>>>> I am using  the same username on both the machines and when i try to
>>>> copy a file master to slave just to make sure SSH is working fine, The file
>>>> is copying into master itself not an slave machine.
>>>>
>>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>>
>>>> Any suggestions...
>>>>
>>>>
>>>> Thanks
>>>> Annt
>>>>
>>>>
>>>>
>>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>>
>>>>> 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 <an...@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 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
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>>  ________________________________________
>>>
>>>  To Understand Recursion,
>>>  You must first Understand Recursion
>>>  ________________________________________
>>>
>>
>>
>

Re: New to Hadoop-SSH communication

Posted by Mohammad Tariq <do...@gmail.com>.
comment out 127.0.1.1 ubuntu in both the machines.

if it still doesn't work change 127.0.1.1    master to something else, like
127.0.0.3 or something.

Warm Regards,
Tariq
https://mtariq.jux.com/
cloudfront.blogspot.com


On Wed, May 1, 2013 at 3:34 AM, Automation Me <an...@gmail.com> wrote:

> Hi Tariq,
>
>
> Master:
>
> Users:
> hduser hduser
>
> hostname:
> ubuntu
>
> *etc/hosts*
>
> 127.0.0.1 localhost
> 127.0.1.1 ubuntu
>
> # The following lines are desirable for IPv6 capable hosts
> ::1     ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
>
> 127.0.1.1    master
> 127.0.0.2   slave
>
>
> Slave Machine:
>
> Etc/Hosts
> 127.0.0.1 localhost
> 127.0.1.1 ubuntu
>
> # The following lines are desirable for IPv6 capable hosts
> ::1     ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
>
>
> 127.0.1.1    master
> 127.0.0.2   slave
>
>
> users:
> hduser hduser
>
> Hostname:
>
> ubuntu
>
>
> On Tue, Apr 30, 2013 at 5:52 PM, Automation Me <an...@gmail.com>wrote:
>
>> @Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
>> -ubuntu hostname for all machines
>>
>> @Tariq i will send the hosts file and users of all the machines.
>>
>>
>> On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
>> mitra.kaseebhotla@gmail.com> wrote:
>>
>>> Looks like you have just cloned/copied the same VMs. Change the hostname
>>> of each:
>>>
>>> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>>>
>>>
>>>
>>> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>>>
>>>> Thank you Tariq.
>>>>
>>>> I am using  the same username on both the machines and when i try to
>>>> copy a file master to slave just to make sure SSH is working fine, The file
>>>> is copying into master itself not an slave machine.
>>>>
>>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>>
>>>> Any suggestions...
>>>>
>>>>
>>>> Thanks
>>>> Annt
>>>>
>>>>
>>>>
>>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>>
>>>>> 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 <an...@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 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
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>>  ________________________________________
>>>
>>>  To Understand Recursion,
>>>  You must first Understand Recursion
>>>  ________________________________________
>>>
>>
>>
>

Re: New to Hadoop-SSH communication

Posted by Automation Me <an...@gmail.com>.
Hi Tariq,


Master:

Users:
hduser hduser

hostname:
ubuntu

*etc/hosts*

127.0.0.1 localhost
127.0.1.1 ubuntu

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

127.0.1.1    master
127.0.0.2   slave


Slave Machine:

Etc/Hosts
127.0.0.1 localhost
127.0.1.1 ubuntu

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


127.0.1.1    master
127.0.0.2   slave


users:
hduser hduser

Hostname:

ubuntu


On Tue, Apr 30, 2013 at 5:52 PM, Automation Me <an...@gmail.com> wrote:

> @Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
> -ubuntu hostname for all machines
>
> @Tariq i will send the hosts file and users of all the machines.
>
>
> On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
> mitra.kaseebhotla@gmail.com> wrote:
>
>> Looks like you have just cloned/copied the same VMs. Change the hostname
>> of each:
>>
>> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>>
>>
>>
>> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>>
>>> Thank you Tariq.
>>>
>>> I am using  the same username on both the machines and when i try to
>>> copy a file master to slave just to make sure SSH is working fine, The file
>>> is copying into master itself not an slave machine.
>>>
>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>
>>> Any suggestions...
>>>
>>>
>>> Thanks
>>> Annt
>>>
>>>
>>>
>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>
>>>> 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 <an...@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 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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
>> --
>>  ________________________________________
>>
>>  To Understand Recursion,
>>  You must first Understand Recursion
>>  ________________________________________
>>
>
>

Re: New to Hadoop-SSH communication

Posted by Automation Me <an...@gmail.com>.
Hi Tariq,


Master:

Users:
hduser hduser

hostname:
ubuntu

*etc/hosts*

127.0.0.1 localhost
127.0.1.1 ubuntu

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

127.0.1.1    master
127.0.0.2   slave


Slave Machine:

Etc/Hosts
127.0.0.1 localhost
127.0.1.1 ubuntu

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


127.0.1.1    master
127.0.0.2   slave


users:
hduser hduser

Hostname:

ubuntu


On Tue, Apr 30, 2013 at 5:52 PM, Automation Me <an...@gmail.com> wrote:

> @Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
> -ubuntu hostname for all machines
>
> @Tariq i will send the hosts file and users of all the machines.
>
>
> On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
> mitra.kaseebhotla@gmail.com> wrote:
>
>> Looks like you have just cloned/copied the same VMs. Change the hostname
>> of each:
>>
>> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>>
>>
>>
>> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>>
>>> Thank you Tariq.
>>>
>>> I am using  the same username on both the machines and when i try to
>>> copy a file master to slave just to make sure SSH is working fine, The file
>>> is copying into master itself not an slave machine.
>>>
>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>
>>> Any suggestions...
>>>
>>>
>>> Thanks
>>> Annt
>>>
>>>
>>>
>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>
>>>> 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 <an...@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 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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
>> --
>>  ________________________________________
>>
>>  To Understand Recursion,
>>  You must first Understand Recursion
>>  ________________________________________
>>
>
>

Re: New to Hadoop-SSH communication

Posted by Automation Me <an...@gmail.com>.
Hi Tariq,


Master:

Users:
hduser hduser

hostname:
ubuntu

*etc/hosts*

127.0.0.1 localhost
127.0.1.1 ubuntu

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

127.0.1.1    master
127.0.0.2   slave


Slave Machine:

Etc/Hosts
127.0.0.1 localhost
127.0.1.1 ubuntu

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


127.0.1.1    master
127.0.0.2   slave


users:
hduser hduser

Hostname:

ubuntu


On Tue, Apr 30, 2013 at 5:52 PM, Automation Me <an...@gmail.com> wrote:

> @Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
> -ubuntu hostname for all machines
>
> @Tariq i will send the hosts file and users of all the machines.
>
>
> On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
> mitra.kaseebhotla@gmail.com> wrote:
>
>> Looks like you have just cloned/copied the same VMs. Change the hostname
>> of each:
>>
>> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>>
>>
>>
>> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>>
>>> Thank you Tariq.
>>>
>>> I am using  the same username on both the machines and when i try to
>>> copy a file master to slave just to make sure SSH is working fine, The file
>>> is copying into master itself not an slave machine.
>>>
>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>
>>> Any suggestions...
>>>
>>>
>>> Thanks
>>> Annt
>>>
>>>
>>>
>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>
>>>> 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 <an...@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 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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
>> --
>>  ________________________________________
>>
>>  To Understand Recursion,
>>  You must first Understand Recursion
>>  ________________________________________
>>
>
>

Re: New to Hadoop-SSH communication

Posted by Automation Me <an...@gmail.com>.
Hi Tariq,


Master:

Users:
hduser hduser

hostname:
ubuntu

*etc/hosts*

127.0.0.1 localhost
127.0.1.1 ubuntu

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

127.0.1.1    master
127.0.0.2   slave


Slave Machine:

Etc/Hosts
127.0.0.1 localhost
127.0.1.1 ubuntu

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


127.0.1.1    master
127.0.0.2   slave


users:
hduser hduser

Hostname:

ubuntu


On Tue, Apr 30, 2013 at 5:52 PM, Automation Me <an...@gmail.com> wrote:

> @Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
> -ubuntu hostname for all machines
>
> @Tariq i will send the hosts file and users of all the machines.
>
>
> On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
> mitra.kaseebhotla@gmail.com> wrote:
>
>> Looks like you have just cloned/copied the same VMs. Change the hostname
>> of each:
>>
>> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>>
>>
>>
>> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>>
>>> Thank you Tariq.
>>>
>>> I am using  the same username on both the machines and when i try to
>>> copy a file master to slave just to make sure SSH is working fine, The file
>>> is copying into master itself not an slave machine.
>>>
>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>
>>> Any suggestions...
>>>
>>>
>>> Thanks
>>> Annt
>>>
>>>
>>>
>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>
>>>> 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 <an...@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 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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
>> --
>>  ________________________________________
>>
>>  To Understand Recursion,
>>  You must first Understand Recursion
>>  ________________________________________
>>
>
>

Re: New to Hadoop-SSH communication

Posted by Automation Me <an...@gmail.com>.
@Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
-ubuntu hostname for all machines

@Tariq i will send the hosts file and users of all the machines.


On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
mitra.kaseebhotla@gmail.com> wrote:

> Looks like you have just cloned/copied the same VMs. Change the hostname
> of each:
>
> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>
>
>
> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>
>> Thank you Tariq.
>>
>> I am using  the same username on both the machines and when i try to copy
>> a file master to slave just to make sure SSH is working fine, The file is
>> copying into master itself not an slave machine.
>>
>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>
>> Any suggestions...
>>
>>
>> Thanks
>> Annt
>>
>>
>>
>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>
>>> 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 <an...@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 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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>
>
> --
>  ________________________________________
>
>  To Understand Recursion,
>  You must first Understand Recursion
>  ________________________________________
>

Re: New to Hadoop-SSH communication

Posted by Automation Me <an...@gmail.com>.
@Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
-ubuntu hostname for all machines

@Tariq i will send the hosts file and users of all the machines.


On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
mitra.kaseebhotla@gmail.com> wrote:

> Looks like you have just cloned/copied the same VMs. Change the hostname
> of each:
>
> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>
>
>
> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>
>> Thank you Tariq.
>>
>> I am using  the same username on both the machines and when i try to copy
>> a file master to slave just to make sure SSH is working fine, The file is
>> copying into master itself not an slave machine.
>>
>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>
>> Any suggestions...
>>
>>
>> Thanks
>> Annt
>>
>>
>>
>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>
>>> 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 <an...@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 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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>
>
> --
>  ________________________________________
>
>  To Understand Recursion,
>  You must first Understand Recursion
>  ________________________________________
>

Re: New to Hadoop-SSH communication

Posted by Automation Me <an...@gmail.com>.
@Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
-ubuntu hostname for all machines

@Tariq i will send the hosts file and users of all the machines.


On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
mitra.kaseebhotla@gmail.com> wrote:

> Looks like you have just cloned/copied the same VMs. Change the hostname
> of each:
>
> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>
>
>
> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>
>> Thank you Tariq.
>>
>> I am using  the same username on both the machines and when i try to copy
>> a file master to slave just to make sure SSH is working fine, The file is
>> copying into master itself not an slave machine.
>>
>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>
>> Any suggestions...
>>
>>
>> Thanks
>> Annt
>>
>>
>>
>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>
>>> 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 <an...@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 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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>
>
> --
>  ________________________________________
>
>  To Understand Recursion,
>  You must first Understand Recursion
>  ________________________________________
>

Re: New to Hadoop-SSH communication

Posted by Automation Me <an...@gmail.com>.
@Mitra Yes I cloned the same VM's. By default Ubuntu takes 127.0.0.1
-ubuntu hostname for all machines

@Tariq i will send the hosts file and users of all the machines.


On Tue, Apr 30, 2013 at 5:42 PM, Mitra Kaseebhotla <
mitra.kaseebhotla@gmail.com> wrote:

> Looks like you have just cloned/copied the same VMs. Change the hostname
> of each:
>
> http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart
>
>
>
> On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com>wrote:
>
>> Thank you Tariq.
>>
>> I am using  the same username on both the machines and when i try to copy
>> a file master to slave just to make sure SSH is working fine, The file is
>> copying into master itself not an slave machine.
>>
>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>
>> Any suggestions...
>>
>>
>> Thanks
>> Annt
>>
>>
>>
>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>
>>> 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 <an...@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 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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>
>
> --
>  ________________________________________
>
>  To Understand Recursion,
>  You must first Understand Recursion
>  ________________________________________
>

Re: New to Hadoop-SSH communication

Posted by Mitra Kaseebhotla <mi...@gmail.com>.
Looks like you have just cloned/copied the same VMs. Change the hostname of
each:
http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart



On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com> wrote:

> Thank you Tariq.
>
> I am using  the same username on both the machines and when i try to copy
> a file master to slave just to make sure SSH is working fine, The file is
> copying into master itself not an slave machine.
>
>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>
> Any suggestions...
>
>
> Thanks
> Annt
>
>
>
> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>
>> 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 <an...@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 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
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>


-- 
 ________________________________________

 To Understand Recursion,
 You must first Understand Recursion
 ________________________________________

Re: New to Hadoop-SSH communication

Posted by shashwat shriparv <dw...@gmail.com>.
Watch these for sucessful configuration

https://www.youtube.com/watch?v=gIRubPl20oo
https://www.youtube.com/watch?v=pgOKKl5P0to
https://www.youtube.com/watch?v=8CrgPUaNfjk

*Thanks & Regards    *

∞
Shashwat Shriparv



On Wed, May 1, 2013 at 11:55 PM, shashwat shriparv <
dwivedishashwat@gmail.com> wrote:

> Open /etc/hostname file : change master and slave in those file restart
> the system. and dont give IP as 127.0.0.1 and 127.0.0.2 just give ifconfig
> command it will show you the actual ip give that in hosts file.
>
> *Thanks & Regards    *
>
> ∞
> Shashwat Shriparv
>
>
>
> On Wed, May 1, 2013 at 9:48 PM, kishore alajangi <
> alajangikishore@gmail.com> wrote:
>
>> Might be you are copying by logging slave machine, Exit from slave in
>> Master.
>>
>> Thanks,
>> Kishore.
>>
>>
>>
>>
>> On Wed, May 1, 2013 at 3:00 AM, Automation Me <an...@gmail.com>wrote:
>>
>>> Thank you Tariq.
>>>
>>> I am using  the same username on both the machines and when i try to
>>> copy a file master to slave just to make sure SSH is working fine, The file
>>> is copying into master itself not an slave machine.
>>>
>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>
>>> Any suggestions...
>>>
>>>
>>> Thanks
>>> Annt
>>>
>>>
>>>
>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>
>>>> 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 <an...@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 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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>

Re: New to Hadoop-SSH communication

Posted by shashwat shriparv <dw...@gmail.com>.
Watch these for sucessful configuration

https://www.youtube.com/watch?v=gIRubPl20oo
https://www.youtube.com/watch?v=pgOKKl5P0to
https://www.youtube.com/watch?v=8CrgPUaNfjk

*Thanks & Regards    *

∞
Shashwat Shriparv



On Wed, May 1, 2013 at 11:55 PM, shashwat shriparv <
dwivedishashwat@gmail.com> wrote:

> Open /etc/hostname file : change master and slave in those file restart
> the system. and dont give IP as 127.0.0.1 and 127.0.0.2 just give ifconfig
> command it will show you the actual ip give that in hosts file.
>
> *Thanks & Regards    *
>
> ∞
> Shashwat Shriparv
>
>
>
> On Wed, May 1, 2013 at 9:48 PM, kishore alajangi <
> alajangikishore@gmail.com> wrote:
>
>> Might be you are copying by logging slave machine, Exit from slave in
>> Master.
>>
>> Thanks,
>> Kishore.
>>
>>
>>
>>
>> On Wed, May 1, 2013 at 3:00 AM, Automation Me <an...@gmail.com>wrote:
>>
>>> Thank you Tariq.
>>>
>>> I am using  the same username on both the machines and when i try to
>>> copy a file master to slave just to make sure SSH is working fine, The file
>>> is copying into master itself not an slave machine.
>>>
>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>
>>> Any suggestions...
>>>
>>>
>>> Thanks
>>> Annt
>>>
>>>
>>>
>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>
>>>> 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 <an...@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 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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>

Re: New to Hadoop-SSH communication

Posted by shashwat shriparv <dw...@gmail.com>.
Watch these for sucessful configuration

https://www.youtube.com/watch?v=gIRubPl20oo
https://www.youtube.com/watch?v=pgOKKl5P0to
https://www.youtube.com/watch?v=8CrgPUaNfjk

*Thanks & Regards    *

∞
Shashwat Shriparv



On Wed, May 1, 2013 at 11:55 PM, shashwat shriparv <
dwivedishashwat@gmail.com> wrote:

> Open /etc/hostname file : change master and slave in those file restart
> the system. and dont give IP as 127.0.0.1 and 127.0.0.2 just give ifconfig
> command it will show you the actual ip give that in hosts file.
>
> *Thanks & Regards    *
>
> ∞
> Shashwat Shriparv
>
>
>
> On Wed, May 1, 2013 at 9:48 PM, kishore alajangi <
> alajangikishore@gmail.com> wrote:
>
>> Might be you are copying by logging slave machine, Exit from slave in
>> Master.
>>
>> Thanks,
>> Kishore.
>>
>>
>>
>>
>> On Wed, May 1, 2013 at 3:00 AM, Automation Me <an...@gmail.com>wrote:
>>
>>> Thank you Tariq.
>>>
>>> I am using  the same username on both the machines and when i try to
>>> copy a file master to slave just to make sure SSH is working fine, The file
>>> is copying into master itself not an slave machine.
>>>
>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>
>>> Any suggestions...
>>>
>>>
>>> Thanks
>>> Annt
>>>
>>>
>>>
>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>
>>>> 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 <an...@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 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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>

Re: New to Hadoop-SSH communication

Posted by shashwat shriparv <dw...@gmail.com>.
Watch these for sucessful configuration

https://www.youtube.com/watch?v=gIRubPl20oo
https://www.youtube.com/watch?v=pgOKKl5P0to
https://www.youtube.com/watch?v=8CrgPUaNfjk

*Thanks & Regards    *

∞
Shashwat Shriparv



On Wed, May 1, 2013 at 11:55 PM, shashwat shriparv <
dwivedishashwat@gmail.com> wrote:

> Open /etc/hostname file : change master and slave in those file restart
> the system. and dont give IP as 127.0.0.1 and 127.0.0.2 just give ifconfig
> command it will show you the actual ip give that in hosts file.
>
> *Thanks & Regards    *
>
> ∞
> Shashwat Shriparv
>
>
>
> On Wed, May 1, 2013 at 9:48 PM, kishore alajangi <
> alajangikishore@gmail.com> wrote:
>
>> Might be you are copying by logging slave machine, Exit from slave in
>> Master.
>>
>> Thanks,
>> Kishore.
>>
>>
>>
>>
>> On Wed, May 1, 2013 at 3:00 AM, Automation Me <an...@gmail.com>wrote:
>>
>>> Thank you Tariq.
>>>
>>> I am using  the same username on both the machines and when i try to
>>> copy a file master to slave just to make sure SSH is working fine, The file
>>> is copying into master itself not an slave machine.
>>>
>>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>>
>>> Any suggestions...
>>>
>>>
>>> Thanks
>>> Annt
>>>
>>>
>>>
>>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>>
>>>> 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 <an...@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 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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>

Re: New to Hadoop-SSH communication

Posted by shashwat shriparv <dw...@gmail.com>.
Open /etc/hostname file : change master and slave in those file restart the
system. and dont give IP as 127.0.0.1 and 127.0.0.2 just give ifconfig
command it will show you the actual ip give that in hosts file.

*Thanks & Regards    *

∞
Shashwat Shriparv



On Wed, May 1, 2013 at 9:48 PM, kishore alajangi
<al...@gmail.com>wrote:

> Might be you are copying by logging slave machine, Exit from slave in
> Master.
>
> Thanks,
> Kishore.
>
>
>
>
> On Wed, May 1, 2013 at 3:00 AM, Automation Me <an...@gmail.com>wrote:
>
>> Thank you Tariq.
>>
>> I am using  the same username on both the machines and when i try to copy
>> a file master to slave just to make sure SSH is working fine, The file is
>> copying into master itself not an slave machine.
>>
>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>
>> Any suggestions...
>>
>>
>> Thanks
>> Annt
>>
>>
>>
>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>
>>> 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 <an...@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 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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>

Re: New to Hadoop-SSH communication

Posted by shashwat shriparv <dw...@gmail.com>.
Open /etc/hostname file : change master and slave in those file restart the
system. and dont give IP as 127.0.0.1 and 127.0.0.2 just give ifconfig
command it will show you the actual ip give that in hosts file.

*Thanks & Regards    *

∞
Shashwat Shriparv



On Wed, May 1, 2013 at 9:48 PM, kishore alajangi
<al...@gmail.com>wrote:

> Might be you are copying by logging slave machine, Exit from slave in
> Master.
>
> Thanks,
> Kishore.
>
>
>
>
> On Wed, May 1, 2013 at 3:00 AM, Automation Me <an...@gmail.com>wrote:
>
>> Thank you Tariq.
>>
>> I am using  the same username on both the machines and when i try to copy
>> a file master to slave just to make sure SSH is working fine, The file is
>> copying into master itself not an slave machine.
>>
>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>
>> Any suggestions...
>>
>>
>> Thanks
>> Annt
>>
>>
>>
>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>
>>> 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 <an...@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 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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>

Re: New to Hadoop-SSH communication

Posted by shashwat shriparv <dw...@gmail.com>.
Open /etc/hostname file : change master and slave in those file restart the
system. and dont give IP as 127.0.0.1 and 127.0.0.2 just give ifconfig
command it will show you the actual ip give that in hosts file.

*Thanks & Regards    *

∞
Shashwat Shriparv



On Wed, May 1, 2013 at 9:48 PM, kishore alajangi
<al...@gmail.com>wrote:

> Might be you are copying by logging slave machine, Exit from slave in
> Master.
>
> Thanks,
> Kishore.
>
>
>
>
> On Wed, May 1, 2013 at 3:00 AM, Automation Me <an...@gmail.com>wrote:
>
>> Thank you Tariq.
>>
>> I am using  the same username on both the machines and when i try to copy
>> a file master to slave just to make sure SSH is working fine, The file is
>> copying into master itself not an slave machine.
>>
>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>
>> Any suggestions...
>>
>>
>> Thanks
>> Annt
>>
>>
>>
>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>
>>> 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 <an...@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 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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>

Re: New to Hadoop-SSH communication

Posted by shashwat shriparv <dw...@gmail.com>.
Open /etc/hostname file : change master and slave in those file restart the
system. and dont give IP as 127.0.0.1 and 127.0.0.2 just give ifconfig
command it will show you the actual ip give that in hosts file.

*Thanks & Regards    *

∞
Shashwat Shriparv



On Wed, May 1, 2013 at 9:48 PM, kishore alajangi
<al...@gmail.com>wrote:

> Might be you are copying by logging slave machine, Exit from slave in
> Master.
>
> Thanks,
> Kishore.
>
>
>
>
> On Wed, May 1, 2013 at 3:00 AM, Automation Me <an...@gmail.com>wrote:
>
>> Thank you Tariq.
>>
>> I am using  the same username on both the machines and when i try to copy
>> a file master to slave just to make sure SSH is working fine, The file is
>> copying into master itself not an slave machine.
>>
>>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>>
>> Any suggestions...
>>
>>
>> Thanks
>> Annt
>>
>>
>>
>> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>>
>>> 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 <an...@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 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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>

Re: New to Hadoop-SSH communication

Posted by kishore alajangi <al...@gmail.com>.
Might be you are copying by logging slave machine, Exit from slave in
Master.

Thanks,
Kishore.




On Wed, May 1, 2013 at 3:00 AM, Automation Me <an...@gmail.com> wrote:

> Thank you Tariq.
>
> I am using  the same username on both the machines and when i try to copy
> a file master to slave just to make sure SSH is working fine, The file is
> copying into master itself not an slave machine.
>
>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>
> Any suggestions...
>
>
> Thanks
> Annt
>
>
>
> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>
>> 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 <an...@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 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
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>

Re: New to Hadoop-SSH communication

Posted by kishore alajangi <al...@gmail.com>.
Might be you are copying by logging slave machine, Exit from slave in
Master.

Thanks,
Kishore.




On Wed, May 1, 2013 at 3:00 AM, Automation Me <an...@gmail.com> wrote:

> Thank you Tariq.
>
> I am using  the same username on both the machines and when i try to copy
> a file master to slave just to make sure SSH is working fine, The file is
> copying into master itself not an slave machine.
>
>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>
> Any suggestions...
>
>
> Thanks
> Annt
>
>
>
> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>
>> 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 <an...@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 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
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>

Re: New to Hadoop-SSH communication

Posted by Mitra Kaseebhotla <mi...@gmail.com>.
Looks like you have just cloned/copied the same VMs. Change the hostname of
each:
http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart



On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com> wrote:

> Thank you Tariq.
>
> I am using  the same username on both the machines and when i try to copy
> a file master to slave just to make sure SSH is working fine, The file is
> copying into master itself not an slave machine.
>
>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>
> Any suggestions...
>
>
> Thanks
> Annt
>
>
>
> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>
>> 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 <an...@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 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
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>


-- 
 ________________________________________

 To Understand Recursion,
 You must first Understand Recursion
 ________________________________________

Re: New to Hadoop-SSH communication

Posted by Mohammad Tariq <do...@gmail.com>.
show me your /etc/hosts file along with the output of "users" and
"hostname" on both the machines.

Warm Regards,
Tariq
https://mtariq.jux.com/
cloudfront.blogspot.com


On Wed, May 1, 2013 at 3:00 AM, Automation Me <an...@gmail.com> wrote:

> Thank you Tariq.
>
> I am using  the same username on both the machines and when i try to copy
> a file master to slave just to make sure SSH is working fine, The file is
> copying into master itself not an slave machine.
>
>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>
> Any suggestions...
>
>
> Thanks
> Annt
>
>
>
> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>
>> 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 <an...@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 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
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>

Re: New to Hadoop-SSH communication

Posted by Mohammad Tariq <do...@gmail.com>.
show me your /etc/hosts file along with the output of "users" and
"hostname" on both the machines.

Warm Regards,
Tariq
https://mtariq.jux.com/
cloudfront.blogspot.com


On Wed, May 1, 2013 at 3:00 AM, Automation Me <an...@gmail.com> wrote:

> Thank you Tariq.
>
> I am using  the same username on both the machines and when i try to copy
> a file master to slave just to make sure SSH is working fine, The file is
> copying into master itself not an slave machine.
>
>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>
> Any suggestions...
>
>
> Thanks
> Annt
>
>
>
> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>
>> 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 <an...@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 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
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>

Re: New to Hadoop-SSH communication

Posted by Mitra Kaseebhotla <mi...@gmail.com>.
Looks like you have just cloned/copied the same VMs. Change the hostname of
each:
http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart



On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com> wrote:

> Thank you Tariq.
>
> I am using  the same username on both the machines and when i try to copy
> a file master to slave just to make sure SSH is working fine, The file is
> copying into master itself not an slave machine.
>
>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>
> Any suggestions...
>
>
> Thanks
> Annt
>
>
>
> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>
>> 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 <an...@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 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
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>


-- 
 ________________________________________

 To Understand Recursion,
 You must first Understand Recursion
 ________________________________________

Re: New to Hadoop-SSH communication

Posted by kishore alajangi <al...@gmail.com>.
Might be you are copying by logging slave machine, Exit from slave in
Master.

Thanks,
Kishore.




On Wed, May 1, 2013 at 3:00 AM, Automation Me <an...@gmail.com> wrote:

> Thank you Tariq.
>
> I am using  the same username on both the machines and when i try to copy
> a file master to slave just to make sure SSH is working fine, The file is
> copying into master itself not an slave machine.
>
>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>
> Any suggestions...
>
>
> Thanks
> Annt
>
>
>
> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>
>> 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 <an...@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 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
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>

Re: New to Hadoop-SSH communication

Posted by Mohammad Tariq <do...@gmail.com>.
show me your /etc/hosts file along with the output of "users" and
"hostname" on both the machines.

Warm Regards,
Tariq
https://mtariq.jux.com/
cloudfront.blogspot.com


On Wed, May 1, 2013 at 3:00 AM, Automation Me <an...@gmail.com> wrote:

> Thank you Tariq.
>
> I am using  the same username on both the machines and when i try to copy
> a file master to slave just to make sure SSH is working fine, The file is
> copying into master itself not an slave machine.
>
>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>
> Any suggestions...
>
>
> Thanks
> Annt
>
>
>
> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>
>> 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 <an...@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 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
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>

Re: New to Hadoop-SSH communication

Posted by Mitra Kaseebhotla <mi...@gmail.com>.
Looks like you have just cloned/copied the same VMs. Change the hostname of
each:
http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart



On Tue, Apr 30, 2013 at 2:30 PM, Automation Me <an...@gmail.com> wrote:

> Thank you Tariq.
>
> I am using  the same username on both the machines and when i try to copy
> a file master to slave just to make sure SSH is working fine, The file is
> copying into master itself not an slave machine.
>
>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>
> Any suggestions...
>
>
> Thanks
> Annt
>
>
>
> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>
>> 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 <an...@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 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
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>


-- 
 ________________________________________

 To Understand Recursion,
 You must first Understand Recursion
 ________________________________________

Re: New to Hadoop-SSH communication

Posted by Mohammad Tariq <do...@gmail.com>.
show me your /etc/hosts file along with the output of "users" and
"hostname" on both the machines.

Warm Regards,
Tariq
https://mtariq.jux.com/
cloudfront.blogspot.com


On Wed, May 1, 2013 at 3:00 AM, Automation Me <an...@gmail.com> wrote:

> Thank you Tariq.
>
> I am using  the same username on both the machines and when i try to copy
> a file master to slave just to make sure SSH is working fine, The file is
> copying into master itself not an slave machine.
>
>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>
> Any suggestions...
>
>
> Thanks
> Annt
>
>
>
> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>
>> 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 <an...@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 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
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>

Re: New to Hadoop-SSH communication

Posted by kishore alajangi <al...@gmail.com>.
Might be you are copying by logging slave machine, Exit from slave in
Master.

Thanks,
Kishore.




On Wed, May 1, 2013 at 3:00 AM, Automation Me <an...@gmail.com> wrote:

> Thank you Tariq.
>
> I am using  the same username on both the machines and when i try to copy
> a file master to slave just to make sure SSH is working fine, The file is
> copying into master itself not an slave machine.
>
>   scp -r /usr/local/somefile hduser@slave:/usr/local/somefile
>
> Any suggestions...
>
>
> Thanks
> Annt
>
>
>
> On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com>wrote:
>
>> 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 <an...@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 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
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>

Re: New to Hadoop-SSH communication

Posted by Automation Me <an...@gmail.com>.
Thank you Tariq.

I am using  the same username on both the machines and when i try to copy a
file master to slave just to make sure SSH is working fine, The file is
copying into master itself not an slave machine.

  scp -r /usr/local/somefile hduser@slave:/usr/local/somefile

Any suggestions...


Thanks
Annt



On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com> wrote:

> 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 <an...@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 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
>>
>>
>>
>>
>>
>>
>>
>>
>

Re: New to Hadoop-SSH communication

Posted by Automation Me <an...@gmail.com>.
Thank you Tariq.

I am using  the same username on both the machines and when i try to copy a
file master to slave just to make sure SSH is working fine, The file is
copying into master itself not an slave machine.

  scp -r /usr/local/somefile hduser@slave:/usr/local/somefile

Any suggestions...


Thanks
Annt



On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com> wrote:

> 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 <an...@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 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
>>
>>
>>
>>
>>
>>
>>
>>
>

Re: New to Hadoop-SSH communication

Posted by Automation Me <an...@gmail.com>.
Thank you Tariq.

I am using  the same username on both the machines and when i try to copy a
file master to slave just to make sure SSH is working fine, The file is
copying into master itself not an slave machine.

  scp -r /usr/local/somefile hduser@slave:/usr/local/somefile

Any suggestions...


Thanks
Annt



On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com> wrote:

> 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 <an...@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 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
>>
>>
>>
>>
>>
>>
>>
>>
>

Re: New to Hadoop-SSH communication

Posted by Automation Me <an...@gmail.com>.
Thank you Tariq.

I am using  the same username on both the machines and when i try to copy a
file master to slave just to make sure SSH is working fine, The file is
copying into master itself not an slave machine.

  scp -r /usr/local/somefile hduser@slave:/usr/local/somefile

Any suggestions...


Thanks
Annt



On Tue, Apr 30, 2013 at 5:14 PM, Mohammad Tariq <do...@gmail.com> wrote:

> 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 <an...@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 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
>>
>>
>>
>>
>>
>>
>>
>>
>

Re: New to Hadoop-SSH communication

Posted by Mohammad Tariq <do...@gmail.com>.
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 <an...@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 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
>
>
>
>
>
>
>
>

Re: New to Hadoop-SSH communication

Posted by Mohammad Tariq <do...@gmail.com>.
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 <an...@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 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
>
>
>
>
>
>
>
>

Re: New to Hadoop-SSH communication

Posted by Mohammad Tariq <do...@gmail.com>.
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 <an...@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 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
>
>
>
>
>
>
>
>

Re: New to Hadoop-SSH communication

Posted by Mohammad Tariq <do...@gmail.com>.
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 <an...@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 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
>
>
>
>
>
>
>
>