Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14032 [libhdfs++] Phase 2 improvements
  3. HDFS-14047

[libhdfs++] Fix hdfsGetLastExceptionRootCause bug in test_libhdfs_threaded.c

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.3.0, 3.2.1
    • libhdfs, native
    • None
    • Reviewed

    Description

      Currently the native client CI tests break deterministically with these errors:

      Libhdfs

      1 - test_test_libhdfs_threaded_hdfs_static (Failed)

      [exec] TEST_ERROR: failed on /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs-tests/test_libhdfs_threaded.c:180 with NULL return return value (errno: 2): expected substring: File does not exist

      [exec] TEST_ERROR: failed on /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs-tests/test_libhdfs_threaded.c:336 with return code -1 (errno: 2): got nonzero from doTestHdfsOperations(ti, fs, &paths)

      [exec] hdfsOpenFile(/tlhData0001/file1): FileSystem#open((Lorg/apache/hadoop/fs/Path;I)Lorg/apache/hadoop/fs/FSDataInputStream error:

      [exec] (unable to get root cause for java.io.FileNotFoundException)

      [exec] (unable to get stack trace for java.io.FileNotFoundException)

       

      Libhdfs++

      34 - test_libhdfs_threaded_hdfspp_test_shim_static (Failed)

      [exec] TEST_ERROR: failed on /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs-tests/test_libhdfs_threaded.c:180 with NULL return return value (errno: 2): expected substring: File does not exist

      [exec] TEST_ERROR: failed on /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs-tests/test_libhdfs_threaded.c:336 with return code -1 (errno: 2): got nonzero from doTestHdfsOperations(ti, fs, &paths)

      [exec] hdfsOpenFile(/tlhData0001/file1): FileSystem#open((Lorg/apache/hadoop/fs/Path;I)Lorg/apache/hadoop/fs/FSDataInputStream error:

      [exec] (unable to get root cause for java.io.FileNotFoundException)

      [exec] (unable to get stack trace for java.io.FileNotFoundException)

      Attachments

        1. HDFS-14047.000.patch
          1 kB
          Anatoli Shein
        2. HDFS-14047.001.patch
          0.8 kB
          Anatoli Shein

        Issue Links

          Activity

            People

              anatoli.shein Anatoli Shein
              anatoli.shein Anatoli Shein
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: