Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
MapReduce, mail # user - New to Hadoop-SSH communication


+
Automation Me 2013-04-30, 21:09
+
Automation Me 2013-04-30, 22:17
+
Mitra Kaseebhotla 2013-04-30, 22:16
+
kishore alajangi 2013-05-01, 16:18
Copy link to this message
-
Re: New to Hadoop-SSH communication
shashwat shriparv 2013-05-01, 18:25
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
<[EMAIL PROTECTED]>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 <[EMAIL PROTECTED]>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 <[EMAIL PROTECTED]>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 <[EMAIL PROTECTED]>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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>
+
shashwat shriparv 2013-05-01, 18:27
+
Automation Me 2013-05-01, 15:25