Aditya Sharma created GOBBLIN-514:
-------------------------------------
Summary: 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
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)