Repository: hadoop Updated Branches: refs/heads/branch-2 56184de51 -> a52c33fdb
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/a52c33fd Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/a52c33fd Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/a52c33fd Branch: refs/heads/branch-2 Commit: a52c33fdb8511effb5fbba3d79a613db74cce6dd Parents: 56184de 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:22 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/a52c33fd/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 c856928..83c1c59 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 @@ -493,6 +493,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]
