You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gobblin.apache.org by "Abhishek Tiwari (JIRA)" <ji...@apache.org> on 2018/06/14 23:00:00 UTC

[jira] [Resolved] (GOBBLIN-514) AvroUtils#parseSchemaFromFile fails when characters are written with Modified UTF-8 encoding

     [ https://issues.apache.org/jira/browse/GOBBLIN-514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Abhishek Tiwari resolved GOBBLIN-514.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.13.0

Issue resolved by pull request #2385
[https://github.com/apache/incubator-gobblin/pull/2385]

> AvroUtils#parseSchemaFromFile fails when characters are written with Modified UTF-8 encoding
> --------------------------------------------------------------------------------------------
>
>                 Key: GOBBLIN-514
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-514
>             Project: Apache Gobblin
>          Issue Type: Bug
>            Reporter: Aditya Sharma
>            Assignee: Aditya Sharma
>            Priority: Major
>             Fix For: 0.13.0
>
>
> Schema.Parser()#parse(InputStream) tries to read the bytes with character encoding UTF-8 and fails when data is encoded with modified UTF-8. Reading the schema file with UTF-8 and then converting it to schema should solve this problem.
> As a part of [https://github.com/apache/incubator-gobblin/pull/2355] schema is created using Hive Columns, which will be written to the disk using modified UTF-8. When such a file is read using Schema.Parser()#parse(InputStream) it fails.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)