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

Name-node should be able to close empty files.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.15.0
    • Fix Version/s: 0.16.0
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: