HDFS-10991. Export hdfsTruncateFile symbol in libhdfs. Contributed by Surendra Singh Lilhore.
(cherry picked from commit dacd3ec66b111be24131957c986f0c748cf9ea26)
This commit is contained in:
parent
56184de510
commit
a52c33fdb8
@ -493,6 +493,7 @@ extern "C" {
|
|||||||
* complete before proceeding with further file updates.
|
* complete before proceeding with further file updates.
|
||||||
* -1 on error.
|
* -1 on error.
|
||||||
*/
|
*/
|
||||||
|
LIBHDFS_EXTERNAL
|
||||||
int hdfsTruncateFile(hdfsFS fs, const char* path, tOffset newlength);
|
int hdfsTruncateFile(hdfsFS fs, const char* path, tOffset newlength);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user