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 Bug
    • Status: Closed
    • Priority: Blocker 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.

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development