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

Should DFS outputstream's close wait forever?

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

              • Assignee:
                dhruba dhruba borthakur
                Reporter:
                rangadi Raghu Angadi
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: