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 084CB200B89 for ; Wed, 21 Sep 2016 23:22:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 06D79160ABC; Wed, 21 Sep 2016 21:22:23 +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 425F5160AE1 for ; Wed, 21 Sep 2016 23:22:22 +0200 (CEST) Received: (qmail 41810 invoked by uid 500); 21 Sep 2016 21:22:21 -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 41477 invoked by uid 99); 21 Sep 2016 21:22:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2016 21:22:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 00A452C2A65 for ; Wed, 21 Sep 2016 21:22:21 +0000 (UTC) Date: Wed, 21 Sep 2016 21:22:21 +0000 (UTC) From: "Inigo Goiri (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-10881) Federation State Store Driver API MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 21 Sep 2016 21:22:23 -0000 [ https://issues.apache.org/jira/browse/HDFS-10881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15511225#comment-15511225 ] Inigo Goiri commented on HDFS-10881: ------------------------------------ [~jakace], this is a good starting point for the rest of the patches. A few comments: * Can you fix the checkstyles? Basically, it's just adding the package-info.java and adding periods to the javadocs. * There are a bunch of javadocs warning (e.g., {{StateStoreDriver#getIdentifier}} and missing ones (e.g., {{BaseRecord}}). * In {{FederationStateStoreService}} could you add the full comment of what the State Store does (something like what you had in HDFS-10630 but without going into particular implementation) and move the current class comment into the internal TODO? * Do we need the constructor in {{FederationStateStoreUtils}}? * Across the code, you have entity and entry for the name of some variables; can we make them just record? When we do entityType, it should be clazz to follow the rest of the HDFS/YARN code. * In {{StateStoreUnavailableException}}, can we make it {{serialVersionUID = 1L;}}? * In the {{QueryResult}} constructor, don't break the line. * In {{QueryResult}}, you have a typo in {{driverTimstamp}}. > Federation State Store Driver API > --------------------------------- > > Key: HDFS-10881 > URL: https://issues.apache.org/jira/browse/HDFS-10881 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: fs > Reporter: Jason Kace > Assignee: Jason Kace > Attachments: HDFS-10881-HDFS-10467-001.patch, HDFS-10881-HDFS-10467-002.patch > > > The API interfaces and minimal classes required to support a state store data backend such as ZooKeeper or a file system. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org