Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-5435

Cassandra translator broken due to missing Guava dependency

    Details

      Description

      After the fix TEIID-5433 fixing the Cassandra resource adapter, I'm seeing a similar error, this time from the translator:

      13:22:01,986 ERROR [org.teiid.CONNECTOR] (Worker2_QueryProcessorQueue1635) ErXTPMPKCQ29 Connector worker process failed for atomic-request=ErXTPMPKCQ29.730.1.268: java.lang.NoClassDefFoundError: com/google/common/util/concurrent/MoreExecutors
      [mppr] 	at org.teiid.translator.cassandra.CassandraQueryExecution.execute(CassandraQueryExecution.java:88)
      [mppr] 	at org.teiid.translator.cassandra.CassandraQueryExecution.execute(CassandraQueryExecution.java:75)
      [mppr] 	at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.execute(ConnectorWorkItem.java:382)
      [mppr] 	at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
      [mppr] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [mppr] 	at java.lang.reflect.Method.invoke(Method.java:498)
      [mppr] 	at org.teiid.dqp.internal.datamgr.ConnectorManager$1.invoke(ConnectorManager.java:229)
      [mppr] 	at com.sun.proxy.$Proxy36.execute(Unknown Source)
      [mppr] 	at org.teiid.dqp.internal.process.DataTierTupleSource.getResults(DataTierTupleSource.java:302)
      [mppr] 	at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:108)
      [mppr] 	at org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:104)
      [mppr] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      [mppr] 	at org.teiid.dqp.internal.process.FutureWork.run(FutureWork.java:61)
      [mppr] 	at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:277)
      [mppr] 	at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:115)
      [mppr] 	at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:206)
      [mppr] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      [mppr] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      [mppr] 	at java.lang.Thread.run(Thread.java:748)
      [mppr] 
      

      It can be fixed by adding com.google.guava dependency to the translator module.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  shawkins Steven Hawkins
                  Reporter:
                  jmartisk Jan Martiska
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: