Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-10991

Export hdfsTruncateFile symbol in libhdfs

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.8.0, 2.7.4, 3.0.0-alpha2
    • Component/s: libhdfs
    • Labels:
      None

      Description

      /tmp/ccJNUj6m.o: In function `main':
      test.c:(.text+0x812): undefined reference to `hdfsTruncateFile'
      collect2: ld returned 1 exit status
      
      1. HDFS-10991.patch
        0.8 kB
        Surendra Singh Lilhore

        Issue Links

          Activity

          Hide
          surendrasingh Surendra Singh Lilhore added a comment -

          Attached patch
          Please review..

          Show
          surendrasingh Surendra Singh Lilhore added a comment - Attached patch Please review..
          Hide
          hadoopqa Hadoop QA added a comment -
          -1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 11s Docker mode activated.
          +1 @author 0m 0s The patch does not contain any @author tags.
          -1 test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
          +1 mvninstall 6m 32s trunk passed
          +1 compile 0m 14s trunk passed
          +1 mvnsite 0m 13s trunk passed
          +1 mvneclipse 0m 11s trunk passed
          +1 mvninstall 0m 8s the patch passed
          +1 compile 0m 11s the patch passed
          +1 cc 0m 11s the patch passed
          +1 javac 0m 11s the patch passed
          +1 mvnsite 0m 11s the patch passed
          +1 mvneclipse 0m 8s the patch passed
          +1 whitespace 0m 0s The patch has no whitespace issues.
          +1 unit 0m 30s hadoop-hdfs-native-client in the patch passed.
          +1 asflicense 0m 15s The patch does not generate ASF License warnings.
          9m 32s



          Subsystem Report/Notes
          Docker Image:yetus/hadoop:9560f25
          JIRA Issue HDFS-10991
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12832439/HDFS-10991.patch
          Optional Tests asflicense compile cc mvnsite javac unit
          uname Linux a2d93c99c83b 3.13.0-95-generic #142-Ubuntu SMP Fri Aug 12 17:00:09 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
          Build tool maven
          Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
          git revision trunk / af50da3
          Default Java 1.8.0_101
          Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/17081/testReport/
          modules C: hadoop-hdfs-project/hadoop-hdfs-native-client U: hadoop-hdfs-project/hadoop-hdfs-native-client
          Console output https://builds.apache.org/job/PreCommit-HDFS-Build/17081/console
          Powered by Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 reexec 0m 11s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. -1 test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 mvninstall 6m 32s trunk passed +1 compile 0m 14s trunk passed +1 mvnsite 0m 13s trunk passed +1 mvneclipse 0m 11s trunk passed +1 mvninstall 0m 8s the patch passed +1 compile 0m 11s the patch passed +1 cc 0m 11s the patch passed +1 javac 0m 11s the patch passed +1 mvnsite 0m 11s the patch passed +1 mvneclipse 0m 8s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 unit 0m 30s hadoop-hdfs-native-client in the patch passed. +1 asflicense 0m 15s The patch does not generate ASF License warnings. 9m 32s Subsystem Report/Notes Docker Image:yetus/hadoop:9560f25 JIRA Issue HDFS-10991 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12832439/HDFS-10991.patch Optional Tests asflicense compile cc mvnsite javac unit uname Linux a2d93c99c83b 3.13.0-95-generic #142-Ubuntu SMP Fri Aug 12 17:00:09 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / af50da3 Default Java 1.8.0_101 Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/17081/testReport/ modules C: hadoop-hdfs-project/hadoop-hdfs-native-client U: hadoop-hdfs-project/hadoop-hdfs-native-client Console output https://builds.apache.org/job/PreCommit-HDFS-Build/17081/console Powered by Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
          Hide
          James C James Clampffer added a comment -

          I normally stick to the HDFS-8707 branch so I'm not sure if my +1 counts here, but if it does this seems like a very straightforward fix, +1.

          Show
          James C James Clampffer added a comment - I normally stick to the HDFS-8707 branch so I'm not sure if my +1 counts here, but if it does this seems like a very straightforward fix, +1.
          Hide
          surendrasingh Surendra Singh Lilhore added a comment -

          Thanks James Clampffer for review..

          Show
          surendrasingh Surendra Singh Lilhore added a comment - Thanks James Clampffer for review..
          Hide
          andrew.wang Andrew Wang added a comment -

          LGTM +1, let's get this in.

          Show
          andrew.wang Andrew Wang added a comment - LGTM +1, let's get this in.
          Hide
          andrew.wang Andrew Wang added a comment -

          Pushed to relevant branches, thanks Surendra Singh Lilhore for find and fix, and James Clampffer for reviewing!

          Show
          andrew.wang Andrew Wang added a comment - Pushed to relevant branches, thanks Surendra Singh Lilhore for find and fix, and James Clampffer for reviewing!
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10590 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10590/)
          HDFS-10991. Export hdfsTruncateFile symbol in libhdfs. Contributed by (wang: rev dacd3ec66b111be24131957c986f0c748cf9ea26)

          • (edit) hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/include/hdfs/hdfs.h
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10590 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10590/ ) HDFS-10991 . Export hdfsTruncateFile symbol in libhdfs. Contributed by (wang: rev dacd3ec66b111be24131957c986f0c748cf9ea26) (edit) hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/include/hdfs/hdfs.h
          Hide
          surendrasingh Surendra Singh Lilhore added a comment -

          Thanks Andrew Wang for review and commit..

          Show
          surendrasingh Surendra Singh Lilhore added a comment - Thanks Andrew Wang for review and commit..

            People

            • Assignee:
              surendrasingh Surendra Singh Lilhore
              Reporter:
              surendrasingh Surendra Singh Lilhore
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development