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