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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.0.1
    • Fix Version/s: None
    • Component/s: build
    • Labels:
      None
    • Environment:

      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

            • Assignee:
              Unassigned
              Reporter:
              ivanku Ivan Kuznetsov
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: