[
https://issues.jboss.org/browse/TEIID-5150?page=com.atlassian.jira.plugin...
]
Van Halbert edited comment on TEIID-5150 at 11/16/17 3:09 PM:
--------------------------------------------------------------
Checked the metadata registration of the marshaller and it looked correct.
I"ve traced it down thru hotrod client, and its pushing the right query when it
executes on the transport:
{code}
RemoteQuery{queryString=SELECT g_0.isbn, g_0.title, g_0.publisher, g_0.publishyear,
g_0.edition, g_0.type FROM vendorBookJDGSource.viewBooks g_0 , namedParameters=null,
startOffset=0, maxResults=100}
{code}
but the error is thrown from that execution:
{code}
14:46:29,934 WARN [org.infinispan.client.hotrod.impl.protocol.Codec21]
(Worker1_QueryProcessorQueue37) ISPN004005: Error received from the server:
java.lang.IllegalArgumentException: Message descriptor not found :
endorBookJDGSource.viewBooks
14:46:41,947 ERROR [org.teiid.CONNECTOR] (Worker1_QueryProcessorQueue37) Connector worker
process failed for atomic-request=/sSGe86bixns.12.0.12:
org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for messageId=112
returned server erro14:46:29,934 WARN
[org.infinispan.client.hotrod.impl.protocol.Codec21] (Worker1_QueryProcessorQueue37)
ISPN004005: Error received from the server: java.lang.IllegalArgumentException: Message
descriptor not found : endorBookJDGSource.viewBooks
14:46:41,947 ERROR [org.teiid.CONNECTOR] (Worker1_QueryProcessorQueue37) Connector worker
process failed for atomic-request=/sSGe86bixns.12.0.12:
org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for messageId=112
returned server error (status=0x85): java.lang.IllegalArgumentException: Message
descriptor not found : endorBookJDGSource.viewBooks
at
org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:363)
[infinispan-client-hotrod.jar:8.4.1.ER1-redhat-1]
r (status=0x85): java.lang.IllegalArgumentException: Message descriptor not found :
endorBookJDGSource.viewBooks
at
org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:363)
[infinispan-client-hotrod.jar:8.4.1.ER1-redhat-1]
{code}
Checked the RemoteQuery cache reference to the SerializedContext, it has the descriptor
{code}
vendorBookJDGSource.viewBooks=Descriptor{fullName=vendorBookJDGSource.viewBooks}
{code}
Now going to debug on the jdg side.
was (Author: van.halbert):
Checked the metadata registration of the marshaller and it looked correct.
I"ve traced it down thru hotrod client, and its pushing the right query when it
executes on the transport:
{code}
RemoteQuery{queryString=SELECT g_0.isbn, g_0.title, g_0.publisher, g_0.publishyear,
g_0.edition, g_0.type FROM vendorBookJDGSource.viewBooks g_0 , namedParameters=null,
startOffset=0, maxResults=100}
{code}
but the error is thrown from that execution:
{code}
14:46:29,934 WARN [org.infinispan.client.hotrod.impl.protocol.Codec21]
(Worker1_QueryProcessorQueue37) ISPN004005: Error received from the server:
java.lang.IllegalArgumentException: Message descriptor not found :
endorBookJDGSource.viewBooks
14:46:41,947 ERROR [org.teiid.CONNECTOR] (Worker1_QueryProcessorQueue37) Connector worker
process failed for atomic-request=/sSGe86bixns.12.0.12:
org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for messageId=112
returned server erro14:46:29,934 WARN
[org.infinispan.client.hotrod.impl.protocol.Codec21] (Worker1_QueryProcessorQueue37)
ISPN004005: Error received from the server: java.lang.IllegalArgumentException: Message
descriptor not found : endorBookJDGSource.viewBooks
14:46:41,947 ERROR [org.teiid.CONNECTOR] (Worker1_QueryProcessorQueue37) Connector worker
process failed for atomic-request=/sSGe86bixns.12.0.12:
org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for messageId=112
returned server error (status=0x85): java.lang.IllegalArgumentException: Message
descriptor not found : endorBookJDGSource.viewBooks
at
org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:363)
[infinispan-client-hotrod.jar:8.4.1.ER1-redhat-1]
r (status=0x85): java.lang.IllegalArgumentException: Message descriptor not found :
endorBookJDGSource.viewBooks
at
org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:363)
[infinispan-client-hotrod.jar:8.4.1.ER1-redhat-1]
{code}
Now going to debug on the jdg side.
JDG source model with 'v' letter at beginning of a name
doesn't work.
---------------------------------------------------------------------
Key: TEIID-5150
URL:
https://issues.jboss.org/browse/TEIID-5150
Project: Teiid
Issue Type: Bug
Components: JDG Connector
Affects Versions: 8.12.x-6.4
Environment: Fedora 26
Mac OS 10.12
Reporter: Matej Kralik
Assignee: Steven Hawkins
Priority: Critical
Attachments: BookMat-vdb.xml
When the name of a JDG source model starts with 'v' letter, after run query at
the materialized table (BooksMatView.viewBooks in attached VDB), the server shows
exception:
{code:java}
14:29:19,383 WARN [org.infinispan.client.hotrod.impl.protocol.Codec21]
(Worker3_QueryProcessorQueue176) ISPN004005: Error received from the server:
java.lang.IllegalArgumentException: Message descriptor not found :
endorBookJDGSource.viewBooks
14:29:19,384 ERROR [org.teiid.CONNECTOR] (Worker3_QueryProcessorQueue176) Connector
worker process failed for atomic-request=X6jNnAMTIgyp.0.6.248:
org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for messageId=551
returned server error (status=0x85): java.lang.IllegalArgumentException: Message
descriptor not found : endorBookJDGSource.viewBooks
at
org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:363)
[infinispan-client-hotrod.jar:8.4.1.Final-redhat-2]
at
org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:152)
[infinispan-client-hotrod.jar:8.4.1.Final-redhat-2]
at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:138)
[infinispan-client-hotrod.jar:8.4.1.Final-redhat-2]
at
org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:60)
[infinispan-client-hotrod.jar:8.4.1.Final-redhat-2]
at
org.infinispan.client.hotrod.impl.operations.QueryOperation.executeOperation(QueryOperation.java:68)
[infinispan-client-hotrod.jar:8.4.1.Final-redhat-2]
at
org.infinispan.client.hotrod.impl.operations.QueryOperation.executeOperation(QueryOperation.java:30)
[infinispan-client-hotrod.jar:8.4.1.Final-redhat-2]
at
org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:57)
[infinispan-client-hotrod.jar:8.4.1.Final-redhat-2]
at org.infinispan.client.hotrod.impl.query.RemoteQuery.executeQuery(RemoteQuery.java:68)
[infinispan-client-hotrod.jar:8.4.1.Final-redhat-2]
at org.infinispan.client.hotrod.impl.query.RemoteQuery.list(RemoteQuery.java:53)
[infinispan-client-hotrod.jar:8.4.1.Final-redhat-2]
at
org.teiid.translator.infinispan.hotrod.InfinispanResponse.fetchNextBatch(InfinispanResponse.java:76)
[translator-infinispan-hotrod-8.12.11.6_4-redhat-7.jar:8.12.11.6_4-redhat-7]
at
org.teiid.translator.infinispan.hotrod.InfinispanResponse.getNextRow(InfinispanResponse.java:92)
[translator-infinispan-hotrod-8.12.11.6_4-redhat-7.jar:8.12.11.6_4-redhat-7]
at
org.teiid.translator.infinispan.hotrod.InfinispanQueryExecution.next(InfinispanQueryExecution.java:142)
[translator-infinispan-hotrod-8.12.11.6_4-redhat-7.jar:8.12.11.6_4-redhat-7]
at
org.teiid.dqp.internal.datamgr.ConnectorWorkItem.handleBatch(ConnectorWorkItem.java:433)
[teiid-engine-8.12.11.6_4-redhat-64-7.jar:8.12.11.6_4-redhat-64-7]
at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.more(ConnectorWorkItem.java:236)
[teiid-engine-8.12.11.6_4-redhat-64-7.jar:8.12.11.6_4-redhat-64-7]
at sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source) [:1.8.0_65]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.8.0_65]
at java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_65]
at org.teiid.dqp.internal.datamgr.ConnectorManager$1.invoke(ConnectorManager.java:211)
[teiid-engine-8.12.11.6_4-redhat-64-7.jar:8.12.11.6_4-redhat-64-7]
at com.sun.proxy.$Proxy42.more(Unknown Source)
at
org.teiid.dqp.internal.process.DataTierTupleSource.getResults(DataTierTupleSource.java:309)
[teiid-engine-8.12.11.6_4-redhat-64-7.jar:8.12.11.6_4-redhat-64-7]
at
org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:112)
[teiid-engine-8.12.11.6_4-redhat-64-7.jar:8.12.11.6_4-redhat-64-7]
at
org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:108)
[teiid-engine-8.12.11.6_4-redhat-64-7.jar:8.12.11.6_4-redhat-64-7]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_65]
at org.teiid.dqp.internal.process.FutureWork.run(FutureWork.java:65)
[teiid-engine-8.12.11.6_4-redhat-64-7.jar:8.12.11.6_4-redhat-64-7]
at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:284)
[teiid-engine-8.12.11.6_4-redhat-64-7.jar:8.12.11.6_4-redhat-64-7]
at
org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:119)
[teiid-engine-8.12.11.6_4-redhat-64-7.jar:8.12.11.6_4-redhat-64-7]
at
org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:210)
[teiid-engine-8.12.11.6_4-redhat-64-7.jar:8.12.11.6_4-redhat-64-7]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[rt.jar:1.8.0_65]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[rt.jar:1.8.0_65]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_65]
14:29:19,389 WARN [org.teiid.PROCESSOR] (Worker2_QueryProcessorQueue177) TEIID30020
Processing exception for request X6jNnAMTIgyp.0 'TEIID30504 vendorBookJDGSource:
java.lang.IllegalArgumentException: Message descriptor not found :
endorBookJDGSource.viewBooks'. Originally TeiidProcessingException Codec20.java:363.
Enable more detailed logging to see the entire stacktrace.
{code}
JDG source model has name *vendorBookJDGSource*.
However, the name of JDG source model in the exception doesn't contain first
'v' letter ( Message descriptor not found : *endorBookJDGSource*.viewBooks ).
Jdg server doesn't show any exception. I use DV 6.4.0 ER3, JDG 7.1 server and JDG
7.1.1 CR2 EAP module.
In the attachments, I upload my VDB. Remove 'v' letter fix the issue.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)