[ 
https://issues.apache.org/jira/browse/HADOOP-12061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14572916#comment-14572916
 ] 

André Kelpe commented on HADOOP-12061:
--------------------------------------

no need to make the file executable. chmod 600 should be enough.

> Incorrect command in 2.7.0 single cluster setup document
> --------------------------------------------------------
>
>                 Key: HADOOP-12061
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12061
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 2.7.0
>            Reporter: Kengo Seki
>            Priority: Minor
>              Labels: newbie
>         Attachments: HADOOP-12061.001.patch
>
>
> There seems to be a trivial fault in the single node cluster setup document 
> on branch-2.
> "Setup passphraseless ssh" says as follows:
> {code}
>       $ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa
>       $ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
>       $ export HADOOP\_PREFIX=/usr/local/hadoop
> {code}
> But it should be:
> {code}
>       $ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa
>       $ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
>       $ chmod 0700 ~/.ssh/authorized_keys
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to