Repository: hadoop
Updated Branches:
  refs/heads/branch-2.7 b23b60e7b -> 165febbc8


HDFS-10991. Export hdfsTruncateFile symbol in libhdfs. Contributed by Surendra 
Singh Lilhore.

(cherry picked from commit dacd3ec66b111be24131957c986f0c748cf9ea26)
(cherry picked from commit 67f0319db667ed724a3c19cc2ab745ef661fc5f8)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/165febbc
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/165febbc
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/165febbc

Branch: refs/heads/branch-2.7
Commit: 165febbc8487eadbaac4a0f632bf75e16c13f416
Parents: b23b60e
Author: Andrew Wang <[email protected]>
Authored: Tue Oct 11 15:07:14 2016 -0700
Committer: Andrew Wang <[email protected]>
Committed: Tue Oct 11 15:08:53 2016 -0700

----------------------------------------------------------------------
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt                    | 3 +++
 hadoop-hdfs-project/hadoop-hdfs/src/main/native/libhdfs/hdfs.h | 1 +
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/165febbc/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt 
b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
index 19e2bff..e4004ce 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -148,6 +148,9 @@ Release 2.7.4 - UNRELEASED
     recovery may abort downstream applications.
     (Wei-Chiu Chuang)
 
+    HDFS-10991. Export hdfsTruncateFile symbol in libhdfs.
+    (Surendra Singh Lilhore via wang)
+
 Release 2.7.3 - 2016-08-25
 
   INCOMPATIBLE CHANGES

http://git-wip-us.apache.org/repos/asf/hadoop/blob/165febbc/hadoop-hdfs-project/hadoop-hdfs/src/main/native/libhdfs/hdfs.h
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/native/libhdfs/hdfs.h 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/native/libhdfs/hdfs.h
index 5b7bc1e..1d8688c 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/native/libhdfs/hdfs.h
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/native/libhdfs/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]

Reply via email to