[
https://issues.apache.org/jira/browse/IGNITE-7335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16306281#comment-16306281
]
ASF GitHub Bot commented on IGNITE-7335:
----------------------------------------
GitHub user tledkov-gridgain opened a pull request:
https://github.com/apache/ignite/pull/3322
IGNITE-7335: add multi-tread guard
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/3322.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 #3322
----
commit 2fe1ca63a08ef3c12f239abfb5549b5a57096447
Author: tledkov-gridgain <tledkov@...>
Date: 2017-12-29T12:43:26Z
IGNITE-7335: add multi-tread guard
----
> 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.4
>
>
> 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)