[
https://issues.apache.org/jira/browse/HADOOP-9253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13564996#comment-13564996
]
Andy Isaacson commented on HADOOP-9253:
---------------------------------------
bq. {{head "$log"}} Is something that existed before and hence i left it as is.
Previously it made sense since {{$log}} was probably only a few lines long.
Now that your code is changing {{$log}} to be guaranteed to be more than 10
lines long, please adjust the {{head}} command as appropriate.
The reason for using {{head}} here is, there may be a few lines of output in
the log that would be helpful for debugging. But it's also possible that the
log has thousands of lines of errors which would not be helpful. With head you
get the first few errors and avoid potentially dumping MBs of errors to the
terminal. Please preserve that behavior. Since you're adding 17 lines of
output, perhaps add 17 lines to the number that {{head}} will print.
> Capture ulimit info in the logs at service start time
> -----------------------------------------------------
>
> Key: HADOOP-9253
> URL: https://issues.apache.org/jira/browse/HADOOP-9253
> Project: Hadoop Common
> Issue Type: Improvement
> Affects Versions: 1.1.1, 2.0.2-alpha
> Reporter: Arpit Gupta
> Assignee: Arpit Gupta
> Attachments: HADOOP-9253.branch-1.patch, HADOOP-9253.branch-1.patch,
> HADOOP-9253.patch
>
>
> output of ulimit -a is helpful while debugging issues on the system.
--
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