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

Hemanth Yamijala commented on HADOOP-4060:
------------------------------------------

One minor comment. Since the new config option is publicly visible in hod 
--help, it should be given a fixed small option in the help, like the other 
options. Currently, we are automatically assigning a free character to it, and 
it is always coming as -g, but this is not required, for e.g. if we add new 
options.

Otherwise +1 for the patch.

> [HOD] Make HOD to roll log files on the client 
> -----------------------------------------------
>
>                 Key: HADOOP-4060
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4060
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hod
>            Reporter: Hemanth Yamijala
>            Assignee: Vinod Kumar Vavilapalli
>            Priority: Blocker
>             Fix For: 0.18.1, 0.19.0
>
>         Attachments: HOD-LOG-ROTATION.txt
>
>
> Currently HOD writes a log file on the client in the cluster directory, named 
> hod-<username>.log. This file is appended to for each run of hod allocation 
> that runs on the same cluster directory. Thus, the file can become quite 
> large - particularly if the job is queued for a long time. If there are 
> problems with the HOD client subsequently, this could result in stale file 
> handles pointing to this large file, and cause disk space to fill up. Another 
> problem is that a large log file is usually unusable for a user.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to