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 "hanasaki jiji (Created) (JIRA)" <ji...@apache.org> on 2012/01/04 19:43:39 UTC

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

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


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

        

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

Posted by "Jean-Marc Spaggiari (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295776#comment-13295776 ] 

Jean-Marc Spaggiari commented on HADOOP-7955:
---------------------------------------------

Issue is still there in 1.0.3.

This issue is unassigned, does it mean no-one is looking into it?

Seems that we can still install using  --mapreduce-user=mapred option but I have not tried yet.

I might give it a try later today. But reverting the installation when it fails is long.
                
> 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

        

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

Posted by "hanasaki jiji (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183602#comment-13183602 ] 

hanasaki jiji commented on HADOOP-7955:
---------------------------------------

bump - I have some time to work on this if the current .deb project owner would contact me.
                
> 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

        

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

Posted by "Arpit Gupta (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

        

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

Posted by "hanasaki jiji (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179759#comment-13179759 ] 

hanasaki jiji commented on HADOOP-7955:
---------------------------------------

yes - all was run as root : .sh scripts and the dpk -i install
                
> 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

        

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

Posted by "Arpit Gupta (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179772#comment-13179772 ] 

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

can you also add the permissions errors you saw. Will help in debugging where the issue is.
                
> 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

        

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

Posted by "Alain RODRIGUEZ (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13186939#comment-13186939 ] 

Alain RODRIGUEZ commented on HADOOP-7955:
-----------------------------------------

Is this going to be resolved fast or should we use the tar.gz files and configure hadoop "by hand" ?
                
> 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