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

ASF GitHub Bot commented on IGNITE-7335:
----------------------------------------

GitHub user tledkov-gridgain opened a pull request:

    https://github.com/apache/ignite/pull/3338

    IGNITE-7335  DatabaseMetaData getTables error

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-7335

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/3338.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3338
    
----
commit 95421658e348e7db8bb764af3737dee2f776cc49
Author: tledkov-gridgain <tledkov@...>
Date:   2018-01-09T13:44:39Z

    IGNITE-7335: add test

commit 23b1f44d5d004cf89c81958678cae91520cebe14
Author: tledkov-gridgain <tledkov@...>
Date:   2018-01-09T14:14:52Z

    IGNITE-7335: add test

----


> DatabaseMetaData getTables error
> --------------------------------
>
>                 Key: IGNITE-7335
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7335
>             Project: Ignite
>          Issue Type: Bug
>          Components: jdbc, sql
>    Affects Versions: 2.3
>         Environment: Default ignite cluster with a table created via SQL from 
> the JDBC driver
>            Reporter: Maxwell Pettit
>            Assignee: Taras Ledkov
>             Fix For: 2.5
>
>
> Exception when calling the java.sql.DatabaseMetaData.getTables(String 
> catalog, String schemaPattern, String tableNamePattern, String[] types) 
> method.  Exception is listed below:
> Caused by: java.sql.SQLException: Failed to communicate with Ignite cluster.
>       at 
> org.apache.ignite.internal.jdbc.thin.JdbcThinConnection.sendRequest(JdbcThinConnection.java:681)
>       at 
> org.apache.ignite.internal.jdbc.thin.JdbcThinDatabaseMetadata.getTables(JdbcThinDatabaseMetadata.java:740)
>       at 
> org.apache.commons.dbcp.DelegatingDatabaseMetaData.getTables(DelegatingDatabaseMetaData.java:604)
>       ... 20 more
> Caused by: java.io.IOException: Failed to read incoming message (not enough 
> data).
>       at 
> org.apache.ignite.internal.jdbc.thin.JdbcThinTcpIo.read(JdbcThinTcpIo.java:406)
>       at 
> org.apache.ignite.internal.jdbc.thin.JdbcThinTcpIo.read(JdbcThinTcpIo.java:384)
>       at 
> org.apache.ignite.internal.jdbc.thin.JdbcThinTcpIo.sendRequest(JdbcThinTcpIo.java:327)
>       at 
> org.apache.ignite.internal.jdbc.thin.JdbcThinConnection.sendRequest(JdbcThinConnection.java:668)
>       ... 26 more



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to