You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2016/10/12 22:23:20 UTC

[jira] [Comment Edited] (HADOOP-13717) Shell scripts call hadoop_verify_logdir even when command is not started as daemon

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

Allen Wittenauer edited comment on HADOOP-13717 at 10/12/16 10:23 PM:
----------------------------------------------------------------------

The log directory may still get used, depending upon the log4j settings.

(An example would be the HDFS audit log.)


was (Author: aw):
The log directory may still get used, depending upon the log4j settings.

> Shell scripts call hadoop_verify_logdir even when command is not started as daemon
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-13717
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13717
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Andrew Wang
>
> Issue found when working with the HDFS balancer.
> In {{hadoop_daemon_handler}}, it calls {{hadoop_verify_logdir}} even for the "default" case which calls {{hadoop_start_daemon}}. {{daemon_outfile}} which specifies the log location isn't even used here, since the command is being started in the foreground.
> I think we can push the {{hadoop_verify_logdir}} call down into {{hadoop_start_daemon_wrapper}} instead, which does use the outfile.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org