[
https://issues.apache.org/jira/browse/YUNIKORN-949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17479806#comment-17479806
]
Anuraag Nalluri commented on YUNIKORN-949:
------------------------------------------
Thanks [~pbacsko], much appreciated :)
[~wwei], I was thinking of using
[lumberjack|https://github.com/natefinch/lumberjack]. It lets us rotate based
on age of file as well. Still looking through the docs, but I'm not sure if
this tool lets us name in ordinal fashion (ex. yunikorn-state-0001.txt,
yunikorn-state-0002.txt, etc). I believe it automatically suffixes by timestamp
when the rotation is being done as the only naming option.
> Location of the state dump file should be configurable
> ------------------------------------------------------
>
> Key: YUNIKORN-949
> URL: https://issues.apache.org/jira/browse/YUNIKORN-949
> Project: Apache YuniKorn
> Issue Type: Improvement
> Components: core - scheduler
> Reporter: Peter Bacsko
> Assignee: Anuraag Nalluri
> Priority: Major
>
> In YUNIKORN-940, the periodic state dump feature was introduced.
> However, the location of the file is fixed: it's the current working
> directory of the YK scheduler binary. This can become a problem with docker
> containers having a small free space or if the user wants the state to be
> logged frequently.
> The location of the file should be configurable, so it can be written an
> external volume.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]