Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support HDFS in Vault Agent Auto-Auth File Sink #7972

Open
gabrieljones opened this issue Dec 4, 2019 · 0 comments
Open

Support HDFS in Vault Agent Auto-Auth File Sink #7972

gabrieljones opened this issue Dec 4, 2019 · 0 comments

Comments

@gabrieljones
Copy link

Is your feature request related to a problem? Please describe.
HDFS does not like the way agent updates the token file. ie overwrite by rename
eg HDFS does not like

> touch token_file
> touch new_token_file
> mv new_token_file token_file 
mv: cannot move ‘new_token_file’ to ‘token_file’: Input/output error

Describe the solution you'd like
sink should have an option to delete the existing token file before writing the new token to the same path

Describe alternatives you've considered
HDFS is not an ideal place to put tokens but in our case its the only volume shared by all the nodes that need the token

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants