Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E6FAA18E86 for ; Wed, 20 Jan 2016 13:01:40 +0000 (UTC) Received: (qmail 63537 invoked by uid 500); 20 Jan 2016 13:01:40 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 63444 invoked by uid 500); 20 Jan 2016 13:01:40 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 63135 invoked by uid 99); 20 Jan 2016 13:01:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jan 2016 13:01:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id F0F512C1F64 for ; Wed, 20 Jan 2016 13:01:39 +0000 (UTC) Date: Wed, 20 Jan 2016 13:01:39 +0000 (UTC) From: "Wei Zhou (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-9608) Disk IO imbalance in HDFS with heterogeneous storages MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-9608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15108486#comment-15108486 ] Wei Zhou commented on HDFS-9608: -------------------------------- Thanks for your work! Code refined as your suggestion. For question 2, I planed to open another JIRA because RR policy is used by AvailableSpaceVolumeChoosingPolicy. It is now included in this patch, thanks! > Disk IO imbalance in HDFS with heterogeneous storages > ----------------------------------------------------- > > Key: HDFS-9608 > URL: https://issues.apache.org/jira/browse/HDFS-9608 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.6.0 > Reporter: Wei Zhou > Assignee: Wei Zhou > Attachments: HDFS-9608.01.patch, HDFS-9608.02.patch, HDFS-9608.03.patch, HDFS-9608.04.patch, HDFS-9608.05.patch, HDFS-9608.06.patch > > > Currently RoundRobinVolumeChoosingPolicy use a shared index to choose volumes in HDFS with heterogeneous storages, this leads to non-RR choosing mode for certain type of storage. > Besides, it uses a shared lock for synchronization which limits the concurrency of volume choosing process. Volume choosing threads that operating on different storage types should be able to run concurrently. -- This message was sent by Atlassian JIRA (v6.3.4#6332)