[JBoss JIRA] (TEIID-2271) Timing issue when processing data from an XML stream
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2271?page=com.atlassian.jira.plugin... ]
Steven Hawkins closed TEIID-2271.
---------------------------------
> Timing issue when processing data from an XML stream
> ----------------------------------------------------
>
> Key: TEIID-2271
> URL: https://issues.jboss.org/browse/TEIID-2271
> Project: Teiid
> Issue Type: Bug
> Components: XML Connector
> Affects Versions: 8.2
> Reporter: Paul Richardson
> Assignee: Steven Hawkins
> Labels: 8.4CR2
> Fix For: 8.4
>
> Attachments: server.log
>
>
> Running a preview on an XML datasource causes a freezing of the gui. The main thread is stuck trying {{SocketInputStream.socketRead0}}, which never returns.
> The jboss log indicates a BlockedException has occurred and only when designer is forcibly terminated does the input stream read get cancelled.
> Discussions over the log indicate ...
> '... a timing issue where the asynch processing thread notifies after the processing thread has been detached and there's no other action that restarts the plan'
> Server log snippet attached.
--
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
12 years, 6 months
[JBoss JIRA] (TEIID-2489) Enable the case insensitive use of the translator override properties
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2489?page=com.atlassian.jira.plugin... ]
Steven Hawkins closed TEIID-2489.
---------------------------------
> Enable the case insensitive use of the translator override properties
> ----------------------------------------------------------------------
>
> Key: TEIID-2489
> URL: https://issues.jboss.org/browse/TEIID-2489
> Project: Teiid
> Issue Type: Enhancement
> Components: Query Engine
> Affects Versions: 8.4
> Reporter: Van Halbert
> Assignee: Steven Hawkins
> Fix For: 8.4
>
>
> The translator override properties must match exactly the property. Example: SupportsNativeQueries must be supportsNativeQueries (starting with lowercase 's') in order for it to work.
> Conversation:
> It looks like there are several considerations.
> The simplest change would be for AdminObjectImpl to use a string insensitive treemap for properties.
> The variation on that (which is basically what Van is suggesting) if we do not want all admin object properties to be case insensitive would be to allow subclasses to set their own property maps.
> If not one of those, we would at least change the properties to use a LinkedHashMap rather than a HashMap so that the order allows us to determine precedence (but there would be other changes needed as well).
> Generally the strategy of explicitly setting the defaults/parent values on VDBTranslatorMetaData would seem to have some drawbacks. The primary one is that override translators are essentially modified from their metadata state. Any write-out of the VDBMetadata from what I can see will then include all of the additional properties. It seems like we should instead be setting the parent VDBTranslatorMetaData on the child and then resolving the property hierarchy in the TranslatorUtil.
--
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
12 years, 6 months