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

"DIR* completeFile: /file is closed by DFSClient_" should be logged only for successful closure of the file.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0, 3.0.0-alpha1
    • Fix Version/s: 2.3.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Following log message in FSNameSystem#completeFile(..) should be logged only if the file is closed.

          getEditLog().logSync();
          NameNode.stateChangeLog.info("DIR* completeFile: " + src + " is closed by "
              + holder);
          return success;

        Attachments

        1. HDFS-5592.patch
          0.8 kB
          Vinayakumar B

          Activity

            People

            • Assignee:
              vinayrpet Vinayakumar B
              Reporter:
              vinayrpet Vinayakumar B
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: