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

FileSystem.get() does RPC retries within a static synchronized block

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.21.0
    • fs
    • None
    • all

    • Reviewed

    Description

      If using FileSystem.get() in a multithreaded environment, and one get() locks because the NN URI is too slow or not responding and retries are in progress, all other get() (for the diffferent users, NN) are blocked.

      the synchronized block in in the static instance of Cache inner class.

      Attachments

        1. getFS_yahoo20s.patch
          4 kB
          Hairong Kuang
        2. getFS.patch
          4 kB
          Hairong Kuang

        Issue Links

          Activity

            People

              hairong Hairong Kuang
              tucu00 Alejandro Abdelnur
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: