Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-12803

We should not lock FsNamesystem even we operate a sub directory, we should refinement the lock

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.7.1, 3.0.0-alpha3
    • None
    • hdfs
    • None

    Description

      An example:

      If a client is doing mkdir or delete a file, other client will wait for the FSNamesystem's lock to do some operation.

      I think we have to refinement the lock. we can lock the parent inode only.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              maobaolong Baolong Mao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: