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

                 Key: HADOOP-8182
                 URL: https://issues.apache.org/jira/browse/HADOOP-8182
             Project: Hadoop Common
          Issue Type: Bug
          Components: build
    Affects Versions: 1.0.1
         Environment: Ubuntu 11.10
            Reporter: Ivan Kuznetsov


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.

--
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

        

Reply via email to