Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3A75210F48 for ; Mon, 25 Nov 2013 18:44:38 +0000 (UTC) Received: (qmail 13835 invoked by uid 500); 25 Nov 2013 18:44:37 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 13791 invoked by uid 500); 25 Nov 2013 18:44:37 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 13738 invoked by uid 99); 25 Nov 2013 18:44:37 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Nov 2013 18:44:37 +0000 Date: Mon, 25 Nov 2013 18:44:37 +0000 (UTC) From: "Josh Elser (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-1854) AccumuloInputFormat can be less strict about contents of Configuration 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/ACCUMULO-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13831750#comment-13831750 ] Josh Elser commented on ACCUMULO-1854: -------------------------------------- Felt the need to update the title and description to better match what was actually done and be a little less misleading. > AccumuloInputFormat can be less strict about contents of Configuration > ---------------------------------------------------------------------- > > Key: ACCUMULO-1854 > URL: https://issues.apache.org/jira/browse/ACCUMULO-1854 > Project: Accumulo > Issue Type: Bug > Affects Versions: 1.4.4, 1.5.0 > Reporter: Josh Elser > Assignee: Josh Elser > Fix For: 1.4.5, 1.5.1, 1.6.0 > > > The AccumuloInputFormat required that the same exact Configuration object which was provided to its static configuration methods is also provided to its getSplits() and createRecordReader() methods. > In practice, some tools, like MultipleInputs or Pig, don't guarantee that the same Configuration object is provided to getSplits() and createRecordReader(). This tends to be a common method of interaction to ensure that multiple InputFormats don't collide with one another in the same Configuration object (e.g. FileInputFormat). By serialization the necessary information from the Configuration regarding how to query Accumulo into the InputSplit AccumuloInputFormat creates, we can alleviate this requirement and make client interaction a little more standard. -- This message was sent by Atlassian JIRA (v6.1#6144)