You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Hyunsik Choi (JIRA)" <ji...@apache.org> on 2014/11/15 19:48:33 UTC
[jira] [Created] (TAJO-1181) Avro schema URL should support various
protocols.
Hyunsik Choi created TAJO-1181:
----------------------------------
Summary: Avro schema URL should support various protocols.
Key: TAJO-1181
URL: https://issues.apache.org/jira/browse/TAJO-1181
Project: Tajo
Issue Type: Bug
Components: storage
Reporter: Hyunsik Choi
Fix For: 0.9.1
See the following source code:
{noformat:title=org.apache.tajo.storage.avro.AvroUtil.java}
String schemaURL = meta.getOption(StorageConstants.AVRO_SCHEMA_URL);
Path schemaPath = new Path(schemaURL);
FileSystem fs = schemaPath.getFileSystem(conf);
FSDataInputStream inputStream = fs.open(schemaPath);
{noformat}
Currently, Avro schema URL only support HDFS and S3. But, it does not support HTTP and others. HTTP-based schema is very usual in this field. We need to improve it to support HTTP.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)