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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.19.0
    • 0.18.2
    • None
    • None
    • 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. 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment