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

Compute correct checksum type when file is empty/ file length is 0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • dfsclient

    Description

      When the file is empty or the file size is 0, the checksum returned is always MD5MD5CRC type even when the selected checksum type is COMPOSITE_CRC. 

      This is misleading and can create confusion while debugging.

       

      Contributing a fix to this.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chayanika.bhandary Chayanika Bhandary
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: