[ 
https://issues.apache.org/jira/browse/HADOOP-7895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13473937#comment-13473937
 ] 

Jianbin Wei commented on HADOOP-7895:
-------------------------------------

Is this a duplication of HADOOP-8443 
(https://issues.apache.org/jira/browse/HADOOP-8433)?
                
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to