Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8707 Implement an async pure c++ HDFS client
  3. HDFS-9452

libhdfs++ Fix memory stomp in OpenFileForRead.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • hdfs-client
    • None

    Description

      Running a simple test that opens and closes a file in many threads will fail under valgrind with an invalid write of size 8.

      It looks like the stack is unwinding in the calling thread before the callback invoked by asio in OpenFileForRead can set the input_stream pointer.

      Attachments

        1. HDFS-9452.HDFS-8707.000.patch
          1 kB
          James Clampffer
        2. HDFS-9452.HDFS-8707.001.patch
          5 kB
          James Clampffer

        Activity

          People

            James Clampffer James Clampffer
            James Clampffer James Clampffer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: