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 D836B200AC0 for ; Mon, 9 May 2016 18:04:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D71C81609A8; Mon, 9 May 2016 16:04:14 +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 2F70C160A10 for ; Mon, 9 May 2016 18:04:14 +0200 (CEST) Received: (qmail 88250 invoked by uid 500); 9 May 2016 16:04:13 -0000 Mailing-List: contact dev-help@gora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@gora.apache.org Delivered-To: mailing list dev@gora.apache.org Received: (qmail 88056 invoked by uid 99); 9 May 2016 16:04:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 May 2016 16:04:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E0D762C1F62 for ; Mon, 9 May 2016 16:04:12 +0000 (UTC) Date: Mon, 9 May 2016 16:04:12 +0000 (UTC) From: =?utf-8?Q?Renato_Javier_Marroqu=C3=ADn_Mogrovejo_=28JIRA=29?= To: dev@gora.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GORA-474) bug in org.apache.gora.solr.store.SolrStore#getDatumWriter & #getDatumReader MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 09 May 2016 16:04:15 -0000 [ https://issues.apache.org/jira/browse/GORA-474?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D152765= 53#comment-15276553 ]=20 Renato Javier Marroqu=C3=ADn Mogrovejo commented on GORA-474: -------------------------------------------------------- Hi all, I think this is because we haven't updated the schema mapping defin= itions of the other data stores. I think something might be going wrong whe= n flushing because the table doesn't have the same schema (?) Just a though= t guys ;) > bug in org.apache.gora.solr.store.SolrStore#getDatumWriter & #getDatumRea= der > -------------------------------------------------------------------------= --- > > Key: GORA-474 > URL: https://issues.apache.org/jira/browse/GORA-474 > Project: Apache Gora > Issue Type: Bug > Components: gora-solr > Affects Versions: 0.6.1 > Environment: n/a > Reporter: Aaron Cosand > Assignee: Lewis John McGibbney > Fix For: 0.7 > > Attachments: SolrStore.patch, gora-test.patch, webpage.avsc > > Original Estimate: 2h > Remaining Estimate: 2h > > The above referenced methods use schemaId to cache DatumReader and DatumW= riter instances. This restricts you to using a schema type of "map" with o= nly a single value set. the caching method should use a more specific iden= tifier like what is returned from fieldSchema.toString() instead of schemaI= d, so that the caching mechanism doesn't return a reader/writer that doesn'= t match your data set. -- This message was sent by Atlassian JIRA (v6.3.4#6332)