Repository: hadoop Updated Branches: refs/heads/branch-2.8 773e2e6b6 -> 67f0319db
HDFS-10991. Export hdfsTruncateFile symbol in libhdfs. Contributed by Surendra Singh Lilhore. (cherry picked from commit dacd3ec66b111be24131957c986f0c748cf9ea26) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/67f0319d Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/67f0319d Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/67f0319d Branch: refs/heads/branch-2.8 Commit: 67f0319db667ed724a3c19cc2ab745ef661fc5f8 Parents: 773e2e6 Author: Andrew Wang <[email protected]> Authored: Tue Oct 11 15:07:14 2016 -0700 Committer: Andrew Wang <[email protected]> Committed: Tue Oct 11 15:07:28 2016 -0700 ---------------------------------------------------------------------- .../src/main/native/libhdfs/include/hdfs/hdfs.h | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/67f0319d/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/include/hdfs/hdfs.h ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/include/hdfs/hdfs.h b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/include/hdfs/hdfs.h index c1515d7..3940e0e 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/include/hdfs/hdfs.h +++ b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/include/hdfs/hdfs.h @@ -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); /** --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
