Return-Path: Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: (qmail 30181 invoked from network); 9 Jul 2010 16:06:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Jul 2010 16:06:16 -0000 Received: (qmail 75782 invoked by uid 500); 9 Jul 2010 16:06:15 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 75517 invoked by uid 500); 9 Jul 2010 16:06:14 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 75502 invoked by uid 99); 9 Jul 2010 16:06:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jul 2010 16:06:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jul 2010 16:06:11 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o69G5oBZ005101 for ; Fri, 9 Jul 2010 16:05:50 GMT Message-ID: <1089884.285181278691550097.JavaMail.jira@thor> Date: Fri, 9 Jul 2010 12:05:50 -0400 (EDT) From: "Owen O'Malley (JIRA)" To: common-dev@hadoop.apache.org Subject: [jira] Created: (HADOOP-6856) SequenceFile and MapFile need cleanup to remove redundant constructors MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org SequenceFile and MapFile need cleanup to remove redundant constructors ---------------------------------------------------------------------- Key: HADOOP-6856 URL: https://issues.apache.org/jira/browse/HADOOP-6856 Project: Hadoop Common Issue Type: Improvement Components: io Reporter: Owen O'Malley Assignee: Owen O'Malley Fix For: 0.22.0 Currently there are 2 public SequenceFile.Reader constructors, 3 public SequenceFile.Writer constructors, 9 public SequenceFile.createWriter, 2 public MapFile.Reader constructors, and 8 public MapFile.Writer constructors. All of with various historical combinations of parameters that don't cover the entire space. All of this makes it *very* difficult to add new optional parameters to SequenceFile and MapFile. I'd like change to the style of FileContext.create with option parameters. I'll implement one public SequenceFile.Reader constructor and one public SequenceFile.createWriter and implement all of the current variants based on those two. I'll do the same for MapFile.Reader and MapFile.Writer including passing parameters down to the underlying SequenceFile. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.