You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Arpit Gupta (Commented) (JIRA)" <ji...@apache.org> on 2012/01/04 19:57:39 UTC

[jira] [Commented] (HADOOP-7955) hadoop 1.0.0 debian installer : hadoop-setup-conf.sh fails on chownsc

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

Arpit Gupta commented on HADOOP-7955:
-------------------------------------

we should change the default mapred user to 'mapred' instead of 'mr' in these scripts. Also did you run these scripts as user root? 

The various setup scripts need to be executed by user root.
                
> hadoop 1.0.0 debian installer : hadoop-setup-conf.sh fails on chownsc
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-7955
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7955
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 1.0.0
>            Reporter: hanasaki jiji
>              Labels: chown, debian, hadoop, permission
>
> install hadoop_1.0.0-1_i386.deb ("dpkg -i hadoop_1.0.0-1_i386.deb") - OK
> run hadoop-setup-conf.sh and accept defaults
> script fails with three lines of "chown: invalid user: `mr:hadoop'"
> followed by configuration setup is completed run hadoop-setup-hdfs.sh
> hadoop-setup-hdfs.sh fails with permission errors in the log and run directories

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira