Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 90CF4200CB0 for ; Fri, 23 Jun 2017 12:10:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8F3DB160BD4; Fri, 23 Jun 2017 10:10:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D662E160BCA for ; Fri, 23 Jun 2017 12:10:13 +0200 (CEST) Received: (qmail 75431 invoked by uid 500); 23 Jun 2017 10:10:12 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 75420 invoked by uid 99); 23 Jun 2017 10:10:12 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jun 2017 10:10:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id A801DC002B for ; Fri, 23 Jun 2017 10:10:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id uCfajsJuv9p1 for ; Fri, 23 Jun 2017 10:10:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 44D365F2A8 for ; Fri, 23 Jun 2017 10:10:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 55395E00A0 for ; Fri, 23 Jun 2017 10:10:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 11BCB21942 for ; Fri, 23 Jun 2017 10:10:00 +0000 (UTC) Date: Fri, 23 Jun 2017 10:10:00 +0000 (UTC) From: "Rakesh R (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-11125) [SPS]: Use smaller batches of BlockMovingInfo into the block storage movement command MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 23 Jun 2017 10:10:14 -0000 [ https://issues.apache.org/jira/browse/HDFS-11125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16060681#comment-16060681 ] Rakesh R commented on HDFS-11125: --------------------------------- [~ehiggs] Thanks for the heads up. Like mentioned in the jira description, here the idea is to create multiple batches of block movement items for a file and send it over C-DN's heart beat response one by one sequentially. This is to reduce the network overhead of transferring all block moving items of a file in a single heart beat response. Sure, we will maintain current semantics of {{trackID Vs list of blocks on a file}} and the plan is not to combine blocks of different files to a {{trackID}}. For example, a file has 1000 blocks. We can split into 5 block movements batches of size 200 each, then send one by one batch to C-DN sequentially. We kept this as low priority task now. I don't have a concrete logic now but we could build approach like, make the batchsize configurable {{dfs.storage.policy.satisfier.block.movements.batch.size}} and add attributes in {{org.apache.hadoop.hdfs.server.namenode.BlockStorageMovementInfosBatch}} object to define the batch sequence numbers etc. On the other side, C-DN will update the status to SPS once all the batches are finished moving the given set of blocks. > [SPS]: Use smaller batches of BlockMovingInfo into the block storage movement command > ------------------------------------------------------------------------------------- > > Key: HDFS-11125 > URL: https://issues.apache.org/jira/browse/HDFS-11125 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode, namenode > Reporter: Rakesh R > Assignee: Rakesh R > > This is a follow-up task of HDFS-11068, where it sends all the blocks under a trackID over single heartbeat response(DNA_BLOCK_STORAGE_MOVEMENT command). If blocks are many under a given trackID(For example: a file contains many blocks) then those requests go across a network and come with a lot of overhead. In this jira, we will discuss and implement a mechanism to limit the list of items into smaller batches with in trackID. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org