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

HDFS: Number of excess replica is not getting updated in hdfs fsck "-blockId" option for over-replicated blocks

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.1
    • Fix Version/s: None
    • Component/s: hdfs, tools
    • Labels:
      None

      Description

      Number of excess replica is not getting updated in hdfs fsck "-blockId" option for over-replicated blocks

      steps:steps:        

      • Crate a directory and put multple files in it  
      •  Change the replication factor for the file frequently and append data to files.  
      •  Make DN down/up and append data to files.  
      •  Check the -blocks and -location of the file with fsck ,it will display over replicated blocks   - If you check the "hdfs fsck -blockId" ,then it will display number of expected replica,number of live replica but number of excess replica  will not be updated ,always display as zero which is wrong behavior

       

         

        

        Attachments

        1. image-2020-01-17-14-22-27-545.png
          95 kB
          Souryakanta Dwivedy
        2. image-2020-01-17-14-25-07-753.png
          33 kB
          Souryakanta Dwivedy

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              SouryakantaDwivedy Souryakanta Dwivedy
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: