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

Name-node should be able to close empty files.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.15.0
    • 0.16.0
    • None
    • None

    Description

      When I try to close an empty file, the name-node throws an exception "Could not complete write to file"
      and issues a warning "NameSystem.completeFile: failed to complete".
      I don't see any reason why empty files should not be allowed.

      Attachments

        1. emptyClose1.patch
          1 kB
          Konstantin Shvachko

        Issue Links

          Activity

            People

              shv Konstantin Shvachko
              shv Konstantin Shvachko
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: