-
Notifications
You must be signed in to change notification settings - Fork 340
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
Truncate Support #31
Comments
Huh, interesting idea! I'll read about the truncate feature. |
This pdf has some information on the semantics: https://issues.apache.org/jira/secure/attachment/12697141/HDFS_truncate.pdf How were you imagining Still, it'd be good to support truncate, so I'll leave this open for now. Neither of the tarballs we use for testing have support for it yet, so I'll wait for that. We'll also need to make sure it fails peacefully if talking to a namenode that doesn't support it, so that we have decent backwards compatibility. |
Ya I think the WriteAt feature would not be attainable for the client with that scheme and I am not sure if there is really a way to avoid that (maybe a temp file). Truncate however would be really awesome to have. |
Are there currently any plans to implement a WriteAt func? I think this would be a great addition to this already awesome library. It seems like this could be accomplished behind the scenes through the use of the truncate feature supported by hdfs.
The text was updated successfully, but these errors were encountered: