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 837772004F5 for ; Sat, 12 Aug 2017 00:21:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8160016E249; Fri, 11 Aug 2017 22:21:10 +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 C82AB16E247 for ; Sat, 12 Aug 2017 00:21:09 +0200 (CEST) Received: (qmail 31758 invoked by uid 500); 11 Aug 2017 22:21:08 -0000 Mailing-List: contact dev-help@apex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apex.apache.org Delivered-To: mailing list dev@apex.apache.org Received: (qmail 31744 invoked by uid 99); 11 Aug 2017 22:21:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Aug 2017 22:21:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 81D53C0352 for ; Fri, 11 Aug 2017 22:21:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id lj28z02s-hV7 for ; Fri, 11 Aug 2017 22:21:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 767415FC4D for ; Fri, 11 Aug 2017 22:21:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 8F143E0DFE for ; Fri, 11 Aug 2017 22:21:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 40B3F24199 for ; Fri, 11 Aug 2017 22:21:00 +0000 (UTC) Date: Fri, 11 Aug 2017 22:21:00 +0000 (UTC) From: "Saumya Mohan (JIRA)" To: dev@apex.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (APEXMALHAR-2034) Avro File Input Operator MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 11 Aug 2017 22:21:10 -0000 [ https://issues.apache.org/jira/browse/APEXMALHAR-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16124191#comment-16124191 ] Saumya Mohan commented on APEXMALHAR-2034: ------------------------------------------ Hi Thomas, this JIRA is just the first step toward improving the Avro input functionality. As part of this JIRA we're creating a module to encapsulate Avro Container File -> Generic Record -> POJO transformation which user can use directly. Further enhancements will take place as part of separate JIRAs. > Avro File Input Operator > ------------------------ > > Key: APEXMALHAR-2034 > URL: https://issues.apache.org/jira/browse/APEXMALHAR-2034 > Project: Apache Apex Malhar > Issue Type: New Feature > Reporter: devendra tagare > Assignee: Saumya Mohan > > This operator would extend the AbstractFileInputOperator to read Avro Container files. > Input would be an Avro Container File. > Output would be a GenericRecord. > There would be 2 additional optional ports, > 1.FilePort - for completed files. > 2.FailedRecordsPort - this will capture fileName,Offset & error message as a string for handling by a downstream operator. > This operator can be used in isolation or with the AvroToPojo operator to read an Avro record and convert it to a POJO. > --------------------------------------------------------------------------------------------------------------------- > This JIRA is used to create a Module on top of AvroFileInputOperator and AvroToPojo operator. The stream between the two operators will be set to CONTAINER_LOCAL which is required as Avro objects are not serialized by Kryo. This will help users to directly use the module which has the locality set to CONTAINER_LOCAL. -- This message was sent by Atlassian JIRA (v6.4.14#64029)