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 BB1DCDE30 for ; Wed, 14 Nov 2012 03:26:16 +0000 (UTC) Received: (qmail 60620 invoked by uid 500); 14 Nov 2012 03:26:15 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 60058 invoked by uid 500); 14 Nov 2012 03:26:15 -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 59862 invoked by uid 99); 14 Nov 2012 03:26:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2012 03:26:13 +0000 Date: Wed, 14 Nov 2012 03:26:13 +0000 (UTC) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1981950484.111961.1352863573814.JavaMail.jiratomcat@arcas> In-Reply-To: <755899681.111959.1352863573394.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (HDFS-4188) Add a snapshot id comparator 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-4188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo (Nicholas), SZE updated HDFS-4188: ----------------------------------------- Hadoop Flags: (was: Incompatible change) > Add a snapshot id comparator > ---------------------------- > > Key: HDFS-4188 > URL: https://issues.apache.org/jira/browse/HDFS-4188 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: name-node > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Tsz Wo (Nicholas), SZE > Priority: Minor > > The Snapshot class currently has two compareTo methods. The one for comparing IDs is not implementing the Comparable interface since Java does not allow implementing the same interface twice with different generic types. It is better to remove one of the compareTo methods for avoiding confusion. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira