Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8716

Users/Groups are not created during installation of DEB package

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.0.3, 1.1.2, 1.2.1
    • None
    • scripts
    • Ubuntu 12.04 LTS
      x64

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tysonite Mikhail
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: