[JBoss JIRA] (TEIID-5756) null session query output from PDI
by Steven Hawkins (Jira)
[ https://issues.jboss.org/browse/TEIID-5756?page=com.atlassian.jira.plugin... ]
Steven Hawkins moved TEIIDTOOLS-566 to TEIID-5756:
--------------------------------------------------
Project: Teiid (was: Teiid Tools)
Key: TEIID-5756 (was: TEIIDTOOLS-566)
Component/s: Server
(was: data-sources)
(was: vdb-bench)
> null session query output from PDI
> ----------------------------------
>
> Key: TEIID-5756
> URL: https://issues.jboss.org/browse/TEIID-5756
> Project: Teiid
> Issue Type: Bug
> Components: Server
> Environment: Prod
> Reporter: CHANDAN BISHT
> Priority: Major
> Attachments: jdvapp1.tar.gz, jdvapp3.tar.gz, server.log.1
>
>
> User getting null session query executed from PDI tool.
> the session id tvgWrPf4oPvD
> 2019-02-04 09:21:42,987 [New I/O worker #39] WARN [org.teiid.PROCESSOR] TEIID40011 Processing exception 'TEIID40042 Invalid Session tvgWrPf4oPvD. Session may have already been terminated.' for session null. Exception type org.teiid.client.security.InvalidSessionException thrown from org.teiid.jboss.TransportService$2.invoke(TransportService.java:239).: org.teiid.client.security.InvalidSessionException: TEIID40042 Invalid Session tvgWrPf4oPvD. Session may have already been terminated.
> at org.teiid.jboss.TransportService$2.invoke(TransportService.java:239)
> at com.sun.proxy.$Proxy20.processCursorRequest(Unknown Source)
> at sun.reflect.GeneratedMethodAccessor152.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.teiid.transport.ServerWorkItem.run(ServerWorkItem.java:87)
> at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:284)
> at org.teiid.transport.SocketClientInstance.processMessagePacket(SocketClientInstance.java:231)
> at org.teiid.transport.SocketClientInstance.receivedMessage(SocketClientInstance.java:217)
> at org.teiid.transport.SSLAwareChannelHandler.messageReceived(SSLAwareChannelHandler.java:216)
> at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:88)
> at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
> at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
> at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:142)
> at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
> at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years
[JBoss JIRA] (TEIIDSB-100) move static handling to the root context
by Steven Hawkins (Jira)
Steven Hawkins created TEIIDSB-100:
--------------------------------------
Summary: move static handling to the root context
Key: TEIIDSB-100
URL: https://issues.jboss.org/browse/TEIIDSB-100
Project: Teiid Spring Boot
Issue Type: Quality Risk
Components: OData
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 1.2.0
To prevent conflicts with entity and schema names, static handling should be moved to the root level:
/odata/...
/static/...
rather than
/odata/static
It's also a good idea to fully restrict the resources that can be read as all xml files in the unified classpath are currently accessible.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years
[JBoss JIRA] (TEIIDSB-99) actuator endpoint secured incorrectly
by Steven Hawkins (Jira)
Steven Hawkins created TEIIDSB-99:
-------------------------------------
Summary: actuator endpoint secured incorrectly
Key: TEIIDSB-99
URL: https://issues.jboss.org/browse/TEIIDSB-99
Project: Teiid Spring Boot
Issue Type: Bug
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 1.1.1, 1.2.0
Over a couple of refactorings the odata prefix was mistakenly added to the actuator health check endpoint in the SecurityConfig.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years
[JBoss JIRA] (TEIID-5755) Clarify import foreign schema
by Steven Hawkins (Jira)
[ https://issues.jboss.org/browse/TEIID-5755?page=com.atlassian.jira.plugin... ]
Steven Hawkins resolved TEIID-5755.
-----------------------------------
Resolution: Done
Changed the parse so that the FOREIGN SCHEMA name is optional. For ddl you can just do:
IMPORT FROM REPOSITORY...
Updated the docs accordingly and expanded the example to show importing from multiple files.
> Clarify import foreign schema
> -----------------------------
>
> Key: TEIID-5755
> URL: https://issues.jboss.org/browse/TEIID-5755
> Project: Teiid
> Issue Type: Quality Risk
> Components: Documentation, Query Engine
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Priority: Major
> Fix For: 12.3
>
>
> Since we don't have some kind of evaluate directive for ddl, we use the import foreign schema construct in a similar manner by using the ddl-file repository type.
> It's possible to split ddl for a schema into multiple file, which should be described in the docs.
> It's also possible to use import foreign schema into a virtual schema, but the foreign keyword is still required. It should be made optional and described as ignored in the docs.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years
[JBoss JIRA] (TEIID-5755) Clarify import foreign schema
by Steven Hawkins (Jira)
Steven Hawkins created TEIID-5755:
-------------------------------------
Summary: Clarify import foreign schema
Key: TEIID-5755
URL: https://issues.jboss.org/browse/TEIID-5755
Project: Teiid
Issue Type: Quality Risk
Components: Documentation, Query Engine
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 12.3
Since we don't have some kind of evaluate directive for ddl, we use the import foreign schema construct in a similar manner by using the ddl-file repository type.
It's possible to split ddl for a schema into multiple file, which should be described in the docs.
It's also possible to use import foreign schema into a virtual schema, but the foreign keyword is still required. It should be made optional and described as ignored in the docs.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years
[JBoss JIRA] (TEIID-5751) Please add optimization support for foreign keys in materialized tables
by Steven Hawkins (Jira)
[ https://issues.jboss.org/browse/TEIID-5751?page=com.atlassian.jira.plugin... ]
Steven Hawkins updated TEIID-5751:
----------------------------------
Fix Version/s: 13.0
Priority: Minor (was: Major)
> Please add optimization support for foreign keys in materialized tables
> -----------------------------------------------------------------------
>
> Key: TEIID-5751
> URL: https://issues.jboss.org/browse/TEIID-5751
> Project: Teiid
> Issue Type: Enhancement
> Components: Query Engine
> Affects Versions: 12.2
> Reporter: Christoph John
> Assignee: Steven Hawkins
> Priority: Minor
> Fix For: 13.0
>
>
> The issues came up in the following discussion
> https://developer.jboss.org/message/989502#989502
> > 1a) Are the constraints (indexes, foreign keys) now used to optimize queries in materialized tables or not?
>
> Pk, Unique Key, and Indexes on the view will result in the creation of an index on the materialization target table and are fully utilized in planning decisions. Things are a little more complicated with foreign keys. {color:red}Currently they are not propagated onto the generated materialization target table metadata, so they are only considered in pre-planner activities, such as rewrite, before the view reference is replaced with the materialization target - but there aren't meaningful optimizations being made at that time based upon foreign key. There are couple of narrow situations where that information would be useful{color}, so it probably should be added.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 1 month