You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Xiao Meng (JIRA)" <ji...@apache.org> on 2014/10/22 03:20:33 UTC

[jira] [Updated] (DRILL-1564) C++ Client. Assert failed for querySubmitter for a specific query

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

Xiao Meng updated DRILL-1564:
-----------------------------
    Description: 
The following query has assertion failed.

{code}
./querySubmitter connectStr="zk=127.0.0.1:2181/drill/drillbits1" type=sql api=async query="select * from sys.options limit 1"                                                        [18:10:51]
Connected!

Assertion failed: (length>0), function SlicedByteBuf, file /Users/mx/drill-workspace/incubator-drill/contrib/native/client/src/clientlib/../include/drill/recordBatch.hpp, line 84.
[1]    58337 abort      ./querySubmitter connectStr="zk=127.0.0.1:2181/drill/drillbits1" type=sql
{code}

But  running the following it is ok.
{code}
$ ./querySubmitter connectStr="zk=127.0.0.1:2181/drill/drillbits1" type=sql api=async query="select * from sys.options limit 2"                                                                 Connected!

name    kind    type    num_val    string_val    bool_val    float_val
drill.exec.rpc.bit.server.retry.delay    LONG    BOOT    500    null    null    null
java.awt.graphicsenv    null    BOOT    null    "sun.awt.CGraphicsEnvironment"    null    null

INFO: [30030]Received query_state: COMPLETED.
{code}

It is not related to `limit` operator though.  The query
{code}
select * from INFORMATION_SCHEMA.SCHEMATA limit 1
{code}
works fine

> C++ Client. Assert failed for querySubmitter for a specific query
> -----------------------------------------------------------------
>
>                 Key: DRILL-1564
>                 URL: https://issues.apache.org/jira/browse/DRILL-1564
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - C++
>         Environment: git.commit.id.abbrev=5d3a229
> os x
>            Reporter: Xiao Meng
>            Priority: Minor
>
> The following query has assertion failed.
> {code}
> ./querySubmitter connectStr="zk=127.0.0.1:2181/drill/drillbits1" type=sql api=async query="select * from sys.options limit 1"                                                        [18:10:51]
> Connected!
> Assertion failed: (length>0), function SlicedByteBuf, file /Users/mx/drill-workspace/incubator-drill/contrib/native/client/src/clientlib/../include/drill/recordBatch.hpp, line 84.
> [1]    58337 abort      ./querySubmitter connectStr="zk=127.0.0.1:2181/drill/drillbits1" type=sql
> {code}
> But  running the following it is ok.
> {code}
> $ ./querySubmitter connectStr="zk=127.0.0.1:2181/drill/drillbits1" type=sql api=async query="select * from sys.options limit 2"                                                                 Connected!
> name    kind    type    num_val    string_val    bool_val    float_val
> drill.exec.rpc.bit.server.retry.delay    LONG    BOOT    500    null    null    null
> java.awt.graphicsenv    null    BOOT    null    "sun.awt.CGraphicsEnvironment"    null    null
> INFO: [30030]Received query_state: COMPLETED.
> {code}
> It is not related to `limit` operator though.  The query
> {code}
> select * from INFORMATION_SCHEMA.SCHEMATA limit 1
> {code}
> works fine



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