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

Anuraag Nalluri commented on YUNIKORN-949:
------------------------------------------

Got the log rotation working as expected with lumberjack. Will send PR soon.

But I could use some pointers on how a user should be able to configure the 
dump file path. Doing it via query params in routes.go seems like a bad option 
since the "/" chars belonging to the actual request path will obfuscate the 
full path of the dump file. I'm looking through the Yunikorn docs for a 
user-accessible config where it makes sense to include this info. Do you guys 
have any ideas off the top of your head?

> 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]

Reply via email to