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

Should DFS outputstream's close wait forever?

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.21.0
    • None
    • None
    • Reviewed

    Description

      Currently DFSOutputStream.close() waits for ever if Namenode keeps throwing NotYetReplicated exception, for whatever reason. Its pretty annoying for a user. Shoud the loop inside close have a timeout? If so how much? It could probably something like 10 minutes.

      Attachments

        1. softMount1.patch
          9 kB
          Dhruba Borthakur
        2. softMount1.patch
          8 kB
          Dhruba Borthakur
        3. softMount2.patch
          9 kB
          Dhruba Borthakur
        4. softMount3.patch
          8 kB
          Dhruba Borthakur
        5. softMount4.txt
          7 kB
          Dhruba Borthakur
        6. softMount5.txt
          7 kB
          Dhruba Borthakur
        7. softMount6.txt
          4 kB
          Dhruba Borthakur
        8. softMount7.txt
          4 kB
          Dhruba Borthakur
        9. softMount8.txt
          7 kB
          Dhruba Borthakur
        10. softMount9.txt
          7 kB
          Dhruba Borthakur

        Issue Links

          Activity

            People

              dhruba Dhruba Borthakur
              rangadi Raghu Angadi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: