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

HDFS locking mechanisms should be simplified or removed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.11.0
    • None
    • None

    Description

      HDFS includes a locking mechanism that allows clients to lock files and directories in the filesystem. This requires that the Namenode, in addition to all other management of filesystem state also has to act like a lock manager on behalf of clients. Rather than burden the Namenode with this Hadoop should include a distinct general purpose distributed lock manager.

      In the interim, the locking functionality on the filesystem should be simplified to permit only file locks or removed altogether. At this point, removing or simplifying the functionality is not likely to break client code, removing it later will be much harder. In any case, locks in HDFS don't work very well, see HADOOP-656. Also, directory locks are overkill most UNIX fses don't support it.

      Attachments

        1. remove-fs-locks.patch
          8 kB
          Raghu Angadi
        2. HADOOP-726-2.patch
          6 kB
          Raghu Angadi
        3. HADOOP-726-1.patch
          5 kB
          Raghu Angadi

        Issue Links

          Activity

            People

              rangadi Raghu Angadi
              sameerp Sameer Paranjpye
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: