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

Three methods in FSNamesystem should not be synchronized.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.13.0
    • 0.14.0
    • None
    • None

    Description

      Joining my UTF8 patch HADOOP-1283 with synchronization changes introduced by HADOOP-1269
      I missed to remove synchronization modifiers in the following three methods:
      startFile()
      getAdditionalBlock()
      allocateBlock()

      Fine grained locking does not work if the first two methods are synchronized.
      This is the patch that removes them.

      Attachments

        1. NameSystemSync.patch
          2 kB
          Konstantin Shvachko

        Activity

          People

            shv Konstantin Shvachko
            shv Konstantin Shvachko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: