drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Pearcy (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-2062) Drill only appears to work with small compressed JSON
Date Fri, 23 Jan 2015 19:10:34 GMT

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

Paul Pearcy updated DRILL-2062:
-------------------------------
    Description: 
Before DRILL-1871 things wouldn't work at all. Now, things fail part way through the file.
Attached a sample to reproduce. 

Do a simple select all from this file:
select * from dfs.`/opt/drill/data/rawgzjson/browserlog`;

Ends up giving this exception in logs:

org.apache.drill.common.exceptions.DrillRuntimeException: Error parsing JSON. - Parser was
at record: 1 column: 8
at org.apache.drill.exec.store.easy.json.JSONRecordReader.handleAndRaise(JSONRecordReader.java:101)
~[drill-java-exec-0.8.0-SNAPSHOT-rebuffed.jar:0.8.0-SNAPSHOT]
at org.apache.drill.exec.store.easy.json.JSONRecordReader.next(JSONRecordReader.java:148)
~[drill-java-exec-0.8.0-SNAPSHOT-rebuffed.jar:0.8.0-SNAPSHOT]
gunzip the file and the whole contents can be queried via select *

  was:
Before DRILL-1871 things wouldn't work at all. Now, things fail part way through the file.
Attached a sample to reproduce. 

Do a simple select all from this file:
select * from dfs.`/opt/drill/data/rawgzjson/browserlog`;
Ends up giving this exception in logs:
org.apache.drill.common.exceptions.DrillRuntimeException: Error parsing JSON. - Parser was
at record: 1 column: 8
at org.apache.drill.exec.store.easy.json.JSONRecordReader.handleAndRaise(JSONRecordReader.java:101)
~[drill-java-exec-0.8.0-SNAPSHOT-rebuffed.jar:0.8.0-SNAPSHOT]
at org.apache.drill.exec.store.easy.json.JSONRecordReader.next(JSONRecordReader.java:148)
~[drill-java-exec-0.8.0-SNAPSHOT-rebuffed.jar:0.8.0-SNAPSHOT]
gunzip the file and the whole contents can be queried via select *


> Drill only appears to work with small compressed JSON
> -----------------------------------------------------
>
>                 Key: DRILL-2062
>                 URL: https://issues.apache.org/jira/browse/DRILL-2062
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - JSON
>    Affects Versions: 0.8.0
>            Reporter: Paul Pearcy
>            Assignee: Steven Phillips
>
> Before DRILL-1871 things wouldn't work at all. Now, things fail part way through the
file. Attached a sample to reproduce. 
> Do a simple select all from this file:
> select * from dfs.`/opt/drill/data/rawgzjson/browserlog`;
> Ends up giving this exception in logs:
> org.apache.drill.common.exceptions.DrillRuntimeException: Error parsing JSON. - Parser
was at record: 1 column: 8
> at org.apache.drill.exec.store.easy.json.JSONRecordReader.handleAndRaise(JSONRecordReader.java:101)
~[drill-java-exec-0.8.0-SNAPSHOT-rebuffed.jar:0.8.0-SNAPSHOT]
> at org.apache.drill.exec.store.easy.json.JSONRecordReader.next(JSONRecordReader.java:148)
~[drill-java-exec-0.8.0-SNAPSHOT-rebuffed.jar:0.8.0-SNAPSHOT]
> gunzip the file and the whole contents can be queried via select *



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message