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

Whether the Create function can open the CreateFlag parameter to the outside? #305

Open
chenyahui opened this issue Nov 1, 2022 · 0 comments

Comments

@chenyahui
Copy link
Contributor

chenyahui commented Nov 1, 2022

Now the Create function is forced to set CreateFlag to 1 (O_WRONLY). Is it possible to open this parameter?

We often modify the request according to our needs,such as: set CreateFlag to O_CREATE, set CreateParent to true.

Or make the internal/protocol、internal/rpc package public like v1, so everyone can use rpc directly?

https://github.com/colinmarc/hdfs/blob/master/file_writer.go#L69

image

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

No branches or pull requests

1 participant