[JBoss JIRA] (TEIID-3398) Use Weka algorithm to caculate serializing, deserializing linear regression rate
by Kylin Soong (JIRA)
[ https://issues.jboss.org/browse/TEIID-3398?page=com.atlassian.jira.plugin... ]
Kylin Soong updated TEIID-3398:
-------------------------------
Description:
We have lots of data points {(size i, time i), i = 1, ..., n}, the goal is to find the equation of the straight line like
time = K * size
The key is to find the linear regression rate K, current we do not use any algorithm, Weka(http://sourceforge.net/projects/weka/) have algorithm to fine the K, we may use the Weka to enhance Sizing application
Doc link: http://www.cs.waikato.ac.nz/~ml/weka/documentation.html
was:
We have lots of data points {(size i, time i), i = 1, ..., n}, the goal is to find the equation of the straight line like
time = K * size
The key is to find the linear regression rate K, current we do not use any algorithm, Weka(http://sourceforge.net/projects/weka/) have algorithm to fine the K, we may use the Weka to enhance Sizing application
> Use Weka algorithm to caculate serializing, deserializing linear regression rate
> --------------------------------------------------------------------------------
>
> Key: TEIID-3398
> URL: https://issues.jboss.org/browse/TEIID-3398
> Project: Teiid
> Issue Type: Feature Request
> Components: Sizing Application
> Reporter: Kylin Soong
> Assignee: Kylin Soong
>
> We have lots of data points {(size i, time i), i = 1, ..., n}, the goal is to find the equation of the straight line like
> time = K * size
> The key is to find the linear regression rate K, current we do not use any algorithm, Weka(http://sourceforge.net/projects/weka/) have algorithm to fine the K, we may use the Weka to enhance Sizing application
> Doc link: http://www.cs.waikato.ac.nz/~ml/weka/documentation.html
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months
[JBoss JIRA] (TEIID-4255) Transformation exception when parsing time in SAP NW Gateway
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIID-4255?page=com.atlassian.jira.plugin... ]
RH Bugzilla Integration updated TEIID-4255:
-------------------------------------------
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1343827
Bugzilla Update: Perform
> Transformation exception when parsing time in SAP NW Gateway
> ------------------------------------------------------------
>
> Key: TEIID-4255
> URL: https://issues.jboss.org/browse/TEIID-4255
> Project: Teiid
> Issue Type: Bug
> Components: Misc. Connectors
> Affects Versions: 8.12.x
> Reporter: Andrej Šmigala
> Assignee: Steven Hawkins
> Priority: Blocker
>
> When querying the SAP Sample Flight demo web service using the sap-nw-gateway, the following error is logged when the response contains time value in the form "PT11H00M00S"
> {noformat}
> org.teiid.jdbc.TeiidSQLException: TEIID10068 Failed to transform String to Time. Expected format = hh:mm:ss for PT11H00M00S at org.jboss.qe.dvqe.reproducers.Teiid3841Test.runTest(Teiid3841Test.java:61) Caused by: org.teiid.core.types.TransformationException: TEIID10068 Failed to transform String to Time. Expected format = hh:mm:ss for PT11H00M00S
> {noformat}
> This is likely a regression as that query works in DV 6.2 with latest patch.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months
[JBoss JIRA] (TEIID-4255) Transformation exception when parsing time in SAP NW Gateway
by Andrej Šmigala (JIRA)
Andrej Šmigala created TEIID-4255:
-------------------------------------
Summary: Transformation exception when parsing time in SAP NW Gateway
Key: TEIID-4255
URL: https://issues.jboss.org/browse/TEIID-4255
Project: Teiid
Issue Type: Bug
Components: Misc. Connectors
Affects Versions: 8.12.x
Reporter: Andrej Šmigala
Assignee: Steven Hawkins
Priority: Blocker
When querying the SAP Sample Flight demo web service using the sap-nw-gateway, the following error is logged when the response contains time value in the form "PT11H00M00S"
{noformat}
org.teiid.jdbc.TeiidSQLException: TEIID10068 Failed to transform String to Time. Expected format = hh:mm:ss for PT11H00M00S at org.jboss.qe.dvqe.reproducers.Teiid3841Test.runTest(Teiid3841Test.java:61) Caused by: org.teiid.core.types.TransformationException: TEIID10068 Failed to transform String to Time. Expected format = hh:mm:ss for PT11H00M00S
{noformat}
This is likely a regression as that query works in DV 6.2 with latest patch.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months
[JBoss JIRA] (TEIID-4254) PG transport SSL Warning during the client connection
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-4254?page=com.atlassian.jira.plugin... ]
Steven Hawkins commented on TEIID-4254:
---------------------------------------
That is an internal netty warning, which was caused by TEIID-3519 - the upgrade to WildFly. We were forcing everything to wait until the handshake happened. It looks like that is no longer necessary. If the sync call is removed everything still succeeds. Do you want me to work this or have you seen more than this?
> PG transport SSL Warning during the client connection
> -----------------------------------------------------
>
> Key: TEIID-4254
> URL: https://issues.jboss.org/browse/TEIID-4254
> Project: Teiid
> Issue Type: Bug
> Components: ODBC
> Affects Versions: 9.0
> Reporter: Ramesh Reddy
> Assignee: Steven Hawkins
>
> While using a ODBC client with SSL is throwing this following exception on server at the time of connection. I used the script here https://developer.jboss.org/wiki/JDBCODBCSSLConnectionUsingSelf-signedSSL...
> It seemed to work fine after that
> {code}
> 5:42:02,651 WARNING [io.netty.util.concurrent.DefaultPromise] (NIO2) An exception was thrown by org.teiid.transport.PgBackendProtocol$SSLEnabler.operationComplete(): io.netty.util.concurrent.BlockingOperationException: SslHandler$LazyChannelPromise@5a8a25ae(incomplete)
> at io.netty.util.concurrent.DefaultPromise.checkDeadLock(DefaultPromise.java:390)
> at io.netty.util.concurrent.DefaultPromise.await(DefaultPromise.java:251)
> at io.netty.util.concurrent.DefaultPromise.sync(DefaultPromise.java:218)
> at io.netty.util.concurrent.DefaultPromise.sync(DefaultPromise.java:32)
> at org.teiid.transport.PgBackendProtocol$SSLEnabler.operationComplete(PgBackendProtocol.java:90)
> at org.teiid.transport.PgBackendProtocol$SSLEnabler.operationComplete(PgBackendProtocol.java:77)
> at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:680)
> at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:567)
> at io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:406)
> at io.netty.channel.DefaultChannelPromise.trySuccess(DefaultChannelPromise.java:82)
> at io.netty.channel.ChannelOutboundBuffer.safeSuccess(ChannelOutboundBuffer.java:639)
> at io.netty.channel.ChannelOutboundBuffer.remove(ChannelOutboundBuffer.java:259)
> at io.netty.channel.ChannelOutboundBuffer.removeBytes(ChannelOutboundBuffer.java:334)
> at io.netty.channel.socket.nio.NioSocketChannel.doWrite(NioSocketChannel.java:317)
> at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:750)
> at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.flush0(AbstractNioChannel.java:303)
> at io.netty.channel.AbstractChannel$AbstractUnsafe.flush(AbstractChannel.java:719)
> at io.netty.channel.DefaultChannelPipeline$HeadContext.flush(DefaultChannelPipeline.java:1119)
> at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:735)
> at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:765)
> at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:753)
> at org.teiid.transport.PgBackendProtocol.sendSslResponse(PgBackendProtocol.java:591)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.teiid.transport.PgBackendProtocol.write(PgBackendProtocol.java:219)
> at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:705)
> at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:763)
> at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:698)
> at io.netty.channel.ChannelDuplexHandler.write(ChannelDuplexHandler.java:106)
> at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:705)
> at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:763)
> at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:698)
> at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:684)
> at io.netty.channel.DefaultChannelPipeline.write(DefaultChannelPipeline.java:940)
> at io.netty.channel.AbstractChannel.write(AbstractChannel.java:234)
> at org.teiid.transport.SSLAwareChannelHandler$ObjectChannelImpl.write(SSLAwareChannelHandler.java:93)
> at org.teiid.transport.ODBCClientInstance$1.invoke(ODBCClientInstance.java:60)
> at com.sun.proxy.$Proxy58.sendSslResponse(Unknown Source)
> at org.teiid.odbc.ODBCServerRemoteImpl.sslRequest(ODBCServerRemoteImpl.java:1034)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.teiid.transport.ODBCClientInstance.processMessage(ODBCClientInstance.java:127)
> at org.teiid.transport.ODBCClientInstance.receivedMessage(ODBCClientInstance.java:116)
> at org.teiid.transport.SSLAwareChannelHandler.messageReceived(SSLAwareChannelHandler.java:212)
> at org.teiid.transport.SSLAwareChannelHandler.channelRead(SSLAwareChannelHandler.java:218)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)
> at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)
> at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:242)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)
> at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)
> at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:847)
> at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
> at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
> at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
> at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
> at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
> at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111)
> at java.lang.Thread.run(Thread.java:745)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months
[JBoss JIRA] (TEIID-4254) PG transport SSL Warning during the client connection
by Ramesh Reddy (JIRA)
Ramesh Reddy created TEIID-4254:
-----------------------------------
Summary: PG transport SSL Warning during the client connection
Key: TEIID-4254
URL: https://issues.jboss.org/browse/TEIID-4254
Project: Teiid
Issue Type: Bug
Components: ODBC
Affects Versions: 9.0
Reporter: Ramesh Reddy
Assignee: Steven Hawkins
While using a ODBC client with SSL is throwing this following exception on server at the time of connection. I used the script here https://developer.jboss.org/wiki/JDBCODBCSSLConnectionUsingSelf-signedSSL...
It seemed to work fine after that
{code}
5:42:02,651 WARNING [io.netty.util.concurrent.DefaultPromise] (NIO2) An exception was thrown by org.teiid.transport.PgBackendProtocol$SSLEnabler.operationComplete(): io.netty.util.concurrent.BlockingOperationException: SslHandler$LazyChannelPromise@5a8a25ae(incomplete)
at io.netty.util.concurrent.DefaultPromise.checkDeadLock(DefaultPromise.java:390)
at io.netty.util.concurrent.DefaultPromise.await(DefaultPromise.java:251)
at io.netty.util.concurrent.DefaultPromise.sync(DefaultPromise.java:218)
at io.netty.util.concurrent.DefaultPromise.sync(DefaultPromise.java:32)
at org.teiid.transport.PgBackendProtocol$SSLEnabler.operationComplete(PgBackendProtocol.java:90)
at org.teiid.transport.PgBackendProtocol$SSLEnabler.operationComplete(PgBackendProtocol.java:77)
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:680)
at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:567)
at io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:406)
at io.netty.channel.DefaultChannelPromise.trySuccess(DefaultChannelPromise.java:82)
at io.netty.channel.ChannelOutboundBuffer.safeSuccess(ChannelOutboundBuffer.java:639)
at io.netty.channel.ChannelOutboundBuffer.remove(ChannelOutboundBuffer.java:259)
at io.netty.channel.ChannelOutboundBuffer.removeBytes(ChannelOutboundBuffer.java:334)
at io.netty.channel.socket.nio.NioSocketChannel.doWrite(NioSocketChannel.java:317)
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:750)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.flush0(AbstractNioChannel.java:303)
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush(AbstractChannel.java:719)
at io.netty.channel.DefaultChannelPipeline$HeadContext.flush(DefaultChannelPipeline.java:1119)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:735)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:765)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:753)
at org.teiid.transport.PgBackendProtocol.sendSslResponse(PgBackendProtocol.java:591)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.teiid.transport.PgBackendProtocol.write(PgBackendProtocol.java:219)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:705)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:763)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:698)
at io.netty.channel.ChannelDuplexHandler.write(ChannelDuplexHandler.java:106)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:705)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:763)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:698)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:684)
at io.netty.channel.DefaultChannelPipeline.write(DefaultChannelPipeline.java:940)
at io.netty.channel.AbstractChannel.write(AbstractChannel.java:234)
at org.teiid.transport.SSLAwareChannelHandler$ObjectChannelImpl.write(SSLAwareChannelHandler.java:93)
at org.teiid.transport.ODBCClientInstance$1.invoke(ODBCClientInstance.java:60)
at com.sun.proxy.$Proxy58.sendSslResponse(Unknown Source)
at org.teiid.odbc.ODBCServerRemoteImpl.sslRequest(ODBCServerRemoteImpl.java:1034)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.teiid.transport.ODBCClientInstance.processMessage(ODBCClientInstance.java:127)
at org.teiid.transport.ODBCClientInstance.receivedMessage(ODBCClientInstance.java:116)
at org.teiid.transport.SSLAwareChannelHandler.messageReceived(SSLAwareChannelHandler.java:212)
at org.teiid.transport.SSLAwareChannelHandler.channelRead(SSLAwareChannelHandler.java:218)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:242)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:847)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111)
at java.lang.Thread.run(Thread.java:745)
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months