[ https://issues.apache.org/jira/browse/HADOOP-7895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer resolved HADOOP-7895. -------------------------------------- Resolution: Not a Problem Fixed in trunk. > HADOOP_LOG_DIR has to be set explicitly when running from the tarball > --------------------------------------------------------------------- > > Key: HADOOP-7895 > URL: https://issues.apache.org/jira/browse/HADOOP-7895 > Project: Hadoop Common > Issue Type: Bug > Components: build > Affects Versions: 0.23.0 > Reporter: Eli Collins > > When running bin and sbin commands from the tarball if HADOOP_LOG_DIR is not > explicitly set in hadoop-env.sh it doesn't use HADOOP_HOME/logs by default > like it used to, instead picks a wrong dir: > {noformat} > localhost: mkdir: cannot create directory `/eli': Permission denied > localhost: chown: cannot access `/eli/eli': No such file or directory > {noformat} > We should have it default to HADOOP_HOME/logs or at least fail with a message > if the dir doesn't exist, the env var isn't set. -- This message was sent by Atlassian JIRA (v6.3.4#6332)