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

Add the parameter storage type for getBlocks method

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      When Balancer is running, it is found that there are many logs, such as

      INFO  balancer.Dispatcher (Dispatcher.java:markMovedIfGoodBlock(306)) - No striped internal block on source xxx:50010:SSD, block blk_-xxx_xxx size=982142783. Skipping.
      

      these logs show that Balancer cannot to balancer SSD type sourceļ¼Œ and it causes that Balancer will frequently get blocks from NN through getBlocks RPC.

      The main reason is the storage type in the current Source is SSD, but now getBlocks obtains all list of blocks belonging to datanode, so need add the parameter storage type for getBlocks method

      Attachments

        Issue Links

          Activity

            People

              haiyang Hu Haiyang Hu
              haiyang Hu Haiyang Hu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: