Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4399

fuse-dfs per FD context is not thread safe and can cause segfaults and corruptions

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.19.0
    • Fix Version/s: 0.18.2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      for reads, optimal solution would be to have a per thread (per FD) context - including the buffer. Otherwise, protect the FD context with a mutex as in hadoop-4397 and hadoop-4398.

      for writes, should just protect the context with a mutex as in hadoop-4398.

        Attachments

        1. TEST-TestFuseDFS.txt
          33 kB
          Pete Wyckoff
        2. TEST-TestFuseDFS.txt
          35 kB
          Pete Wyckoff
        3. HADOOP-4399.3.txt
          50 kB
          Pete Wyckoff
        4. HADOOP-4399.2.txt
          50 kB
          Pete Wyckoff
        5. HADOOP-4399.1.txt
          7 kB
          Pete Wyckoff

          Issue Links

            Activity

              People

              • Assignee:
                wyckoff Pete Wyckoff
                Reporter:
                wyckoff Pete Wyckoff
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: