[JBoss JIRA] (TEIID-2682) A cancelled query cachingtuplesource may cause a cancelationexception
by Steven Hawkins (JIRA)
Steven Hawkins created TEIID-2682:
-------------------------------------
Summary: A cancelled query cachingtuplesource may cause a cancelationexception
Key: TEIID-2682
URL: https://issues.jboss.org/browse/TEIID-2682
Project: Teiid
Issue Type: Quality Risk
Components: Query Engine
Affects Versions: 8.4
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 8.6
A caching tuplesource even after cancellation may attempt to read all results. If this happens and the results future has been canceled an uncaught cancelationexception will be thrown.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 2 months
[JBoss JIRA] (TEIID-2678) Query against OData source throwing java.lang.NullPointerException
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-2678?page=com.atlassian.jira.plugin... ]
Ramesh Reddy commented on TEIID-2678:
-------------------------------------
The Designer issues are discovered where the metadata is not correctly imported.
> Query against OData source throwing java.lang.NullPointerException
> ------------------------------------------------------------------
>
> Key: TEIID-2678
> URL: https://issues.jboss.org/browse/TEIID-2678
> Project: Teiid
> Issue Type: Bug
> Components: Misc. Connectors
> Affects Versions: 8.4.1
> Reporter: Van Halbert
> Assignee: Ramesh Reddy
> Priority: Critical
> Labels: alpha1
> Fix For: 8.4.1, 8.6
>
>
> Queries against a deployed vdb (using odata translator) are throwing java.lang.NullPointerException. The vdb is connecting to NetWeaver Flight test site . Full log is attached along with vdb. Resource-adapter can be provided if needed. This failure has been verified by two different users.
> 12:47:16,401 ERROR [org.teiid.CONNECTOR] (Worker1_QueryProcessorQueue13) Connector worker process failed for atomic-request=t53q6HQwO5Rs.6.0.0: java.lang.NullPointerException
> at org.odata4j.format.xml.AtomFeedFormatParser.getEntitySet(AtomFeedFormatParser.java:304)
> at org.odata4j.format.xml.AtomFeedFormatParser.parse(AtomFeedFormatParser.java:156)
> at org.odata4j.format.xml.AtomFeedFormatParser.parse(AtomFeedFormatParser.java:44)
> at org.teiid.translator.odata.BaseQueryExecution.parse(BaseQueryExecution.java:93)
> at org.teiid.translator.odata.BaseQueryExecution.executeWithReturnEntity(BaseQueryExecution.java:124)
> at org.teiid.translator.odata.ODataQueryExecution.execute(ODataQueryExecution.java:108)
> at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.execute(ConnectorWorkItem.java:254) [teiid-engine-8.4.1-redhat-2.jar:8.4.1-redhat-2]
> It should also be noted that when previewing FlightCollection in Designer the following error was produced. Not sure if it is related to the server NullPointer situation.
> 2:46:00,788 INFO [org.teiid.PROCESSOR] (Worker2_QueryProcessorQueue12) TEIID31105 Returing warning to client: TEIID17013 Wrong response from source with status 404 code 005056A509B11EE1B9A8FEC11C21D78E and message Resource not found for the segment 'flightDetails_distanceUnit'.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 2 months
[JBoss JIRA] (TEIID-2678) Query against OData source throwing java.lang.NullPointerException
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-2678?page=com.atlassian.jira.plugin... ]
Ramesh Reddy updated TEIID-2678:
--------------------------------
Workaround Description: This error only occurs in the Designer based VDBs, when you are using the "Teiid Connection Importer" aka DDL based importer that reads metadata from translator directly. Use Dynamic VDBs does not have this issue.
Workaround: Workaround Exists
> Query against OData source throwing java.lang.NullPointerException
> ------------------------------------------------------------------
>
> Key: TEIID-2678
> URL: https://issues.jboss.org/browse/TEIID-2678
> Project: Teiid
> Issue Type: Bug
> Components: Misc. Connectors
> Affects Versions: 8.4.1
> Reporter: Van Halbert
> Assignee: Ramesh Reddy
> Priority: Critical
> Labels: alpha1
> Fix For: 8.4.1, 8.6
>
>
> Queries against a deployed vdb (using odata translator) are throwing java.lang.NullPointerException. The vdb is connecting to NetWeaver Flight test site . Full log is attached along with vdb. Resource-adapter can be provided if needed. This failure has been verified by two different users.
> 12:47:16,401 ERROR [org.teiid.CONNECTOR] (Worker1_QueryProcessorQueue13) Connector worker process failed for atomic-request=t53q6HQwO5Rs.6.0.0: java.lang.NullPointerException
> at org.odata4j.format.xml.AtomFeedFormatParser.getEntitySet(AtomFeedFormatParser.java:304)
> at org.odata4j.format.xml.AtomFeedFormatParser.parse(AtomFeedFormatParser.java:156)
> at org.odata4j.format.xml.AtomFeedFormatParser.parse(AtomFeedFormatParser.java:44)
> at org.teiid.translator.odata.BaseQueryExecution.parse(BaseQueryExecution.java:93)
> at org.teiid.translator.odata.BaseQueryExecution.executeWithReturnEntity(BaseQueryExecution.java:124)
> at org.teiid.translator.odata.ODataQueryExecution.execute(ODataQueryExecution.java:108)
> at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.execute(ConnectorWorkItem.java:254) [teiid-engine-8.4.1-redhat-2.jar:8.4.1-redhat-2]
> It should also be noted that when previewing FlightCollection in Designer the following error was produced. Not sure if it is related to the server NullPointer situation.
> 2:46:00,788 INFO [org.teiid.PROCESSOR] (Worker2_QueryProcessorQueue12) TEIID31105 Returing warning to client: TEIID17013 Wrong response from source with status 404 code 005056A509B11EE1B9A8FEC11C21D78E and message Resource not found for the segment 'flightDetails_distanceUnit'.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 2 months
[JBoss JIRA] (TEIID-2678) Query against OData source throwing java.lang.NullPointerException
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-2678?page=com.atlassian.jira.plugin... ]
Ramesh Reddy resolved TEIID-2678.
---------------------------------
Labels: alpha1 (was: )
Fix Version/s: 8.4.1
8.6
Resolution: Done
1) The metadata building correctly constructed now from runtime metadata. Moved the EDM metadata builder from teiid-odata project into odata-translator project.
2) in the metadata captured the original entity type, so that responses can be parsed correctly from feed.
3) Added name space qualifier for OData specific metadata proeprties
4) Apache CXF was returning headers in ArrayList, previously with original http transport it was returning String, fixed
5) Added new "ComplexType" and "ColumnGroup" metadata properties to represent the embedded tables, instead of complex use "EntityType" leading to confusion. This streamlined logic dealing with 1-1 matches where content is embedded in the parent table
6) Key column matching code was using positional matches, rather than keys on whole. Fixed.
7) Added returning 404 as no content available on odata request. Previously to accommodate for this the code was swallowing any other errors
8) SAP Netweaver Gateway does not work CAPITAL logical operators (AND,OR) fixed to always be lower case. Same with NULL. This is not part of odata spec, just idiosyncrasy with SAP Gateway
9) Added unit tests for most of the above
> Query against OData source throwing java.lang.NullPointerException
> ------------------------------------------------------------------
>
> Key: TEIID-2678
> URL: https://issues.jboss.org/browse/TEIID-2678
> Project: Teiid
> Issue Type: Bug
> Components: Misc. Connectors
> Affects Versions: 8.4.1
> Reporter: Van Halbert
> Assignee: Ramesh Reddy
> Priority: Critical
> Labels: alpha1
> Fix For: 8.4.1, 8.6
>
>
> Queries against a deployed vdb (using odata translator) are throwing java.lang.NullPointerException. The vdb is connecting to NetWeaver Flight test site . Full log is attached along with vdb. Resource-adapter can be provided if needed. This failure has been verified by two different users.
> 12:47:16,401 ERROR [org.teiid.CONNECTOR] (Worker1_QueryProcessorQueue13) Connector worker process failed for atomic-request=t53q6HQwO5Rs.6.0.0: java.lang.NullPointerException
> at org.odata4j.format.xml.AtomFeedFormatParser.getEntitySet(AtomFeedFormatParser.java:304)
> at org.odata4j.format.xml.AtomFeedFormatParser.parse(AtomFeedFormatParser.java:156)
> at org.odata4j.format.xml.AtomFeedFormatParser.parse(AtomFeedFormatParser.java:44)
> at org.teiid.translator.odata.BaseQueryExecution.parse(BaseQueryExecution.java:93)
> at org.teiid.translator.odata.BaseQueryExecution.executeWithReturnEntity(BaseQueryExecution.java:124)
> at org.teiid.translator.odata.ODataQueryExecution.execute(ODataQueryExecution.java:108)
> at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.execute(ConnectorWorkItem.java:254) [teiid-engine-8.4.1-redhat-2.jar:8.4.1-redhat-2]
> It should also be noted that when previewing FlightCollection in Designer the following error was produced. Not sure if it is related to the server NullPointer situation.
> 2:46:00,788 INFO [org.teiid.PROCESSOR] (Worker2_QueryProcessorQueue12) TEIID31105 Returing warning to client: TEIID17013 Wrong response from source with status 404 code 005056A509B11EE1B9A8FEC11C21D78E and message Resource not found for the segment 'flightDetails_distanceUnit'.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 2 months
[JBoss JIRA] (TEIID-2681) Test Case failures in teiid-engine
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2681?page=com.atlassian.jira.plugin... ]
Steven Hawkins commented on TEIID-2681:
---------------------------------------
Ok the fix is in against master. A more involved workaround would be to set your line.separator system property to \n and a the user.timezone to something with a hour aligned offset from GMT (such as GMT itself).
> Test Case failures in teiid-engine
> ----------------------------------
>
> Key: TEIID-2681
> URL: https://issues.jboss.org/browse/TEIID-2681
> Project: Teiid
> Issue Type: Bug
> Affects Versions: 8.5
> Environment: Teiid8.5 and Windows7 with
> Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)
> Reporter: Rakesh Balguri
> Assignee: Steven Hawkins
> Attachments: org.teiid.query.function.TestFunction.txt, org.teiid.query.parser.TestCreateDrop.txt, org.teiid.query.parser.TestDDLParser.txt, org.teiid.query.parser.TestParser.txt
>
>
> Attached are the surefire reports.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 2 months
[JBoss JIRA] (TEIID-1311) Consider developing a connector/translator to Cassandra/Thrift
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-1311?page=com.atlassian.jira.plugin... ]
Steven Hawkins commented on TEIID-1311:
---------------------------------------
Merged to master based upon Radek's initial pull request. Make the kitting fairly consistent with the other modules, but did use a modified approach to creating the com.datastax.cassandra module by allowing maven to build the module dependencies rather than checking them explicitly. It seemed easier to use the transitive dependencies, but it probably makes sense to just refine to a set of top level dependencies with lots of exclusions since we have to know the versions explicitly in the module.xml.
Pulled netty out as a common dependency with the remote socket transport option - and updated the version to io.netty 3.6.2 (a slight downgrade for cassandra which was using 3.6.3). Will need to eventually get the jackson/guava dependencies consolidated if possible. Also updated the dependencies.txt file to spell out what jars go with what functionality.
Made only minor changes to the cassandra code to remove unused imports, update a couple of message strings, and to adapt to the bundle kitting (which was reopened to address the embedded kit).
Tested metadata load and basic querying without an issue.
Still need to update the reference/admin guides.
> Consider developing a connector/translator to Cassandra/Thrift
> --------------------------------------------------------------
>
> Key: TEIID-1311
> URL: https://issues.jboss.org/browse/TEIID-1311
> Project: Teiid
> Issue Type: Feature Request
> Components: Misc. Connectors
> Affects Versions: 7.1
> Environment: Any
> Reporter: Ken Johnson
> Assignee: Steven Hawkins
> Fix For: 8.6
>
>
> Apache Cassandra is starting to see uptake beyond the big name social network players. Has any thought been given to offering connectivity to Cassandra through Teiid? Perhaps this is through consuming the Thrift file as metadata source.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 2 months
[JBoss JIRA] (TEIID-2673) CNF exception when getting data through infinispan-cache translator
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIID-2673?page=com.atlassian.jira.plugin... ]
Van Halbert commented on TEIID-2673:
------------------------------------
Moved the call to create the cache container from within the inner class method getConnection(), to the logic prior to creating the BasicConnectionFactory, so that its created on the connection pool class loader, and not on the translator class loader.
> CNF exception when getting data through infinispan-cache translator
> -------------------------------------------------------------------
>
> Key: TEIID-2673
> URL: https://issues.jboss.org/browse/TEIID-2673
> Project: Teiid
> Issue Type: Bug
> Components: Misc. Connectors
> Affects Versions: 8.4.1
> Reporter: Van Halbert
> Assignee: Van Halbert
> Fix For: 8.4.1, 8.6
>
>
> When getting data through infinispan-cache translator using remote hot rod access, DV will throw "...ClassNotFoundException: org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory".
> Workaround:
> Add "<module name="org.infinispan.client.hotrod"/>" as a dependency into module "org.jboss.teiid".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 2 months