You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Deneche A. Hakim (JIRA)" <ji...@apache.org> on 2015/04/02 21:59:55 UTC

[jira] [Commented] (DRILL-2085) Failed to propagate error

    [ https://issues.apache.org/jira/browse/DRILL-2085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14393265#comment-14393265 ] 

Deneche A. Hakim commented on DRILL-2085:
-----------------------------------------

I reverted back my branch to {{git.commit.id.abbrev=3e33880}} and was able to reproduce the error. It seems that the server returns a first batch with NULL data which throws a NullPointerException in {{DrillCursor}}, this caused the query to be cancelled from the client side. For this specific case, it's not an error propagation problem because there was no failure on the server side "yet" 

> Failed to propagate error
> -------------------------
>
>                 Key: DRILL-2085
>                 URL: https://issues.apache.org/jira/browse/DRILL-2085
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Relational Operators
>            Reporter: Rahul Challapalli
>            Assignee: Deneche A. Hakim
>            Priority: Minor
>             Fix For: 1.0.0
>
>
> git.commit.id.abbrev=3e33880
> The below issue is only happening with order by operator
> Data Set :
> {code}
> {
>   "id" : 1,
>   "list" : [{"a":1}, {"a":2}]
> }
> {code}
> Query : 
> {code}
> select t.list, flatten(t.list) from `temp1.json` t order by t.id;
> Error: exception while executing query: null (state=,code=0)
> {code}
> Even the below log file does not indicate the appropriate error
> Log Contents :
> {code}
> 2015-01-27 21:19:27,835 [2b37ff20-7a96-5645-2038-02506c75874e:foreman] INFO  o.a.drill.exec.work.foreman.Foreman - State change requested.  PENDING --> RUNNING
> 2015-01-27 21:19:27,896 [UserServer-1] INFO  o.a.drill.exec.work.foreman.Foreman - State change requested.  RUNNING --> CANCELED
> 2015-01-27 21:19:27,910 [UserServer-1] INFO  o.a.drill.exec.work.foreman.Foreman - State change requested.  CANCELED --> COMPLETED
> 2015-01-27 21:19:27,910 [UserServer-1] WARN  o.a.drill.exec.work.foreman.Foreman - Dropping request to move to COMPLETED state as query is already at CANCELED state (which is terminal).
> {code}
> The actual issue seems to have been fixed by mehan't new fixes. So I am raising this JIRA to track the issue with logging
> Let me know if you have any questions



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