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

hadoop-setup-single-node.sh from DEB fails with chown permission error on Ubuntu 11.10

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.0.1
    • None
    • build
    • None
    • Ubuntu 11.10

    Description

      Installed Hadoop 1.0.1 from amd64 DEB package.
      Executed: sudo /usr/sbin/hadoop-setup-single-node.sh

      It invokes /usr/sbin/hadoop-daemon.sh where in line 98

      chown $HADOOP_IDENT_STRING $HADOOP_LOG_DIR

      attempts to execute 'chown root /var/log/hadoop/root' as user hduser, resulting in

      • Starting Apache Hadoop Name Node server hadoop-namenode
        chown: changing ownership of `/var/log/hadoop/root': Operation not permitted

      and

      • Starting Apache Hadoop Data Node server hadoop-datanode
        chown: changing ownership of `/var/log/hadoop/root': Operation not permitted

      As a result, setup fails.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ivanku Ivan Kuznetsov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: