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 9A52919000 for ; Wed, 30 Mar 2016 05:19:26 +0000 (UTC) Received: (qmail 67996 invoked by uid 500); 30 Mar 2016 05:19:26 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 67724 invoked by uid 500); 30 Mar 2016 05:19:26 -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 67679 invoked by uid 99); 30 Mar 2016 05:19:26 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Mar 2016 05:19:26 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B52012C1F6F for ; Wed, 30 Mar 2016 05:19:25 +0000 (UTC) Date: Wed, 30 Mar 2016 05:19:25 +0000 (UTC) From: "Chris Nauroth (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-8210) Ozone: Implement storage container manager 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-8210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Nauroth updated HDFS-8210: -------------------------------- Attachment: HDFS-8210-HDFS-7240.007.patch [~anu], thank you for the code review. I am attaching patch v007: # That's a good idea on adding the matched prefix of the key on the located container response. I have done this. # Addressed Checkstyle warnings. There is going to be one warning remaining which is unaddressable, due to the heartbeat method having a large number of parameters. This is inherited from an existing HDFS interface, so it's not something that can be changed right now. That's a good question on deleting a key and its effects on the view of the keyspace as maintained by SCM. I would like to defer this to a later patch. The semantic of {{hasReadLock}} are duplicated from the {{FSNamesystem}} implementation. I can see how this could be open to multiple interpretations, because the {{RwLock}} interface does not state the semantics precisely. I left this as is for now. The license warnings are unrelated. > Ozone: Implement storage container manager > ------------------------------------------- > > Key: HDFS-8210 > URL: https://issues.apache.org/jira/browse/HDFS-8210 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: ozone > Reporter: Jitendra Nath Pandey > Assignee: Chris Nauroth > Attachments: HDFS-8210-HDFS-7240.006.patch, HDFS-8210-HDFS-7240.007.patch, HDFS-8210-HDFS-7240.1.patch, HDFS-8210-HDFS-7240.2.patch, HDFS-8210-HDFS-7240.3.patch, HDFS-8210-HDFS-7240.4.patch, HDFS-8210-HDFS-7240.5.patch > > > The storage container manager collects datanode heartbeats, manages replication and exposes API to lookup containers. This jira implements storage container manager by re-using the block manager implementation in namenode. This jira provides initial implementation that works with datanodes. The additional protocols will be added in subsequent jiras. -- This message was sent by Atlassian JIRA (v6.3.4#6332)