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

Re-replication for files with enough replicas in single rack

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • None
    • None

    Description

      Found while debugging testcases in HDFS-8647

      Scenario:
      =======

      Start a cluster with Single rack with three DN's
      write a file with RF=3
      adde two Nodes with different racks

      As per blockplacement policy (Rack Awareness) atleast one replica needs to replicate to newly added rack.But it is not happening..Because of following reason.


      when cluster was single rack,block will be removed from neededReplications after 3 replicas.

      later, after adding new rack, only replications will happen which are present in neededReplications

      So for the blocks which already have enough replicas, new rack replications will not take place..

      Attachments

        Activity

          People

            brahmareddy Brahma Reddy Battula
            brahmareddy Brahma Reddy Battula
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: