hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Dossot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8716) Users/Groups are not created during installation of DEB package
Date Fri, 12 Oct 2012 22:23:02 GMT

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

David Dossot commented on HADOOP-8716:
--------------------------------------

For the sake of others having the same issue, I've been able to workaround the problem by
running:

{noformat}sudo groupadd -r hadoop
sudo useradd --comment "Hadoop MapReduce" --shell /bin/bash -M -r --groups hadoop --home /var/lib/hadoop/mapred
mapred
sudo useradd --comment "Hadoop HDFS" --shell /bin/bash -M -r --groups hadoop --home /var/lib/hadoop/hdfs
hdfs{noformat} 
                
> Users/Groups are not created during installation of DEB package
> ---------------------------------------------------------------
>
>                 Key: HADOOP-8716
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8716
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 1.0.3
>         Environment: Ubuntu 12.04 LTS
> x64
>            Reporter: Mikhail
>              Labels: install
>
> During DEB x64 package installation I got the following errors:
> mak@mak-laptop:~/Downloads$ sudo dpkg -i hadoop_1.0.3-1_x86_64.deb 
> [sudo] password for mak: 
> Selecting previously unselected package hadoop.
> (Reading database ... 195000 files and directories currently installed.)
> Unpacking hadoop (from hadoop_1.0.3-1_x86_64.deb) ...
> groupadd: GID '123' already exists
> Setting up hadoop (1.0.3) ...
> chown: invalid group: `root:hadoop'
> chown: invalid group: `root:hadoop'
> Processing triggers for ureadahead ...
> ureadahead will be reprofiled on next reboot
> Group with ID=123 already exists and belongs to 'saned' according to my /etc/group: saned:x:123:
> Also, during first run I see the following:
> mak@mak-laptop:~/Downloads$ sudo service hadoop-namenode start
>  * Starting Apache Hadoop Name Node server hadoop-namenode                          
                       start-stop-daemon: user 'hdfs' not found
> This user wasn't created during installation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message