You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Rahul Challapalli (JIRA)" <ji...@apache.org> on 2015/11/12 02:21:10 UTC

[jira] [Commented] (DRILL-4075) Assertion Error in PruneScanRule when querying empty partitioned hive tables

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

Rahul Challapalli commented on DRILL-4075:
------------------------------------------

After this failure, I tried to close the JDBC connection and below is what I get
{code}
Failure while shutting oadd.org.apache.drill.exec.rpc.user.UserClient
java.lang.InterruptedException: DefaultChannelPromise@281d6546(incomplete)
	at oadd.io.netty.util.concurrent.DefaultPromise.await(DefaultPromise.java:246)
	at oadd.io.netty.channel.DefaultChannelPromise.await(DefaultChannelPromise.java:129)
	at oadd.io.netty.channel.DefaultChannelPromise.await(DefaultChannelPromise.java:28)
	at oadd.io.netty.util.concurrent.AbstractFuture.get(AbstractFuture.java:31)
	at oadd.org.apache.drill.exec.rpc.BasicClient.close(BasicClient.java:306)
	at oadd.org.apache.drill.exec.client.DrillClient.close(DrillClient.java:281)
	at org.apache.drill.jdbc.impl.DrillConnectionImpl.closeOrWarn(DrillConnectionImpl.java:379)
	at org.apache.drill.jdbc.impl.DrillConnectionImpl.cleanup(DrillConnectionImpl.java:392)
	at org.apache.drill.jdbc.impl.DrillHandler.onConnectionClose(DrillHandler.java:36)
	at oadd.net.hydromatic.avatica.AvaticaConnection.close(AvaticaConnection.java:135)
	at org.apache.drill.test.framework.ConnectionPool.close(ConnectionPool.java:90)
	at org.apache.drill.test.framework.TestDriver.runTests(TestDriver.java:302)
	at org.apache.drill.test.framework.TestDriver.main(TestDriver.java:104)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
	at java.lang.Thread.run(Thread.java:745)
{code}

> Assertion Error in PruneScanRule when querying empty partitioned hive tables
> ----------------------------------------------------------------------------
>
>                 Key: DRILL-4075
>                 URL: https://issues.apache.org/jira/browse/DRILL-4075
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Query Planning & Optimization, Storage - Hive
>    Affects Versions: 1.3.0
>            Reporter: Rahul Challapalli
>         Attachments: error.log
>
>
> git.commit.id.abbrev=e78e286
> Hive DDL :
> {code}
> CREATE TABLE empty_p (
>     int_col INT
>    )
> PARTITIONED BY (varchar_col STRING)
> ROW FORMAT DELIMITED FIELDS TERMINATED BY "|"
> STORED AS TEXTFILE LOCATION "/drill/testdata/empty_p";
> {code}
> The above table is empty. Now the below query fails with an assertion error
> {code}
> explain plan for select * from hive.empty_lengthy_p where varchar_col is null;
> Error: SYSTEM ERROR: AssertionError
> [Error Id: d9e8c786-0ff9-4ccc-96aa-cbc7adbd7e03 on qa-node190.qa.lab:31010] (state=,code=0)
> {code}
> Logs are attached



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