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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 2.6.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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
          5 kB
          Daryn Sharp
        2. HADOOP-8158.patch
          4 kB
          Harsh J

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: