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

Interrupting hadoop fs -put from the command line causes a LeaseExpiredException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.0
    • 2.6.0
    • None
    • None
    • Reviewed

    Description

      If you run "hadoop fs -put - foo", write a few lines, then ^C it from the shell, about half the time you will get a LeaseExpiredException. It seems like the shell is first calling delete() on the file, then calling close() on the stream. The close call fails since the delete call kills the lease. I saw this on trunk but my guess is that it affects 23 also.

      Attachments

        1. HADOOP-8158.patch
          4 kB
          Harsh J
        2. HADOOP-8158.patch
          5 kB
          Daryn Sharp

        Issue Links

          Activity

            People

              daryn Daryn Sharp
              tlipcon Todd Lipcon
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: