[
https://issues.apache.org/jira/browse/HADOOP-8792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453873#comment-13453873
]
Steve Loughran commented on HADOOP-8792:
----------------------------------------
Whirr log. it's hadoop-daemon that is failing; that failure to chown propagates
into a log access problem -neither of which are picked up and reported back
{code}
+ echo 'Starting hadoop-jobtracker'
+ service hadoop-jobtracker start
chown: invalid user: `hadoop'
/usr/lib/hadoop/bin/hadoop-daemon.sh: line 135:
/var/log/hadoop/logs/hadoop-hadoop-jobtracker-nn1.out: Permission denied
head: cannot open `/var/log/hadoop/logs/hadoop-hadoop-jobtracker-nn1.out' for
reading: No such file or directory
+ retval=0
+ (( 0 == 0 ))
+ echo 'Service hadoop-jobtracker is started'
+ CONFIGURE_HADOOP_DONE=1
{code}
> hadoop-daemon doesn't handle chown failures
> -------------------------------------------
>
> Key: HADOOP-8792
> URL: https://issues.apache.org/jira/browse/HADOOP-8792
> Project: Hadoop Common
> Issue Type: Bug
> Components: bin
> Affects Versions: 1.0.3
> Environment: Whirr deployment onto existing VM
> Reporter: Steve Loughran
>
> A whirr deployment of the JT failed; it looks like the hadoop user wasn't
> there. This didn't get picked up by whirr (WHIRR-651) as the hadoop-daemon
> script doesn't check the return value of its chown operation -this should be
> converted into a failure.
--
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