Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-1939

Linkage error while executing any queries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • v1.5.4
    • v1.5.4
    • None
    • None

    Description

      Start kylin server, execute a query on WebUI, will get following exception in kylin.log:

      2016-08-04 21:16:59,515 ERROR [http-bio-7070-exec-7] controller.QueryController:209 : Exception when execute sql
      java.lang.LinkageError: com/google/protobuf/ByteString
      at org.apache.kylin.storage.hbase.cube.v2.CubeHBaseEndpointRPC.getGTScanner(CubeHBaseEndpointRPC.java:324)
      at org.apache.kylin.gridtable.ScannerWorker.<init>(ScannerWorker.java:48)
      at org.apache.kylin.storage.gtrecord.CubeSegmentScanner.<init>(CubeSegmentScanner.java:77)
      at org.apache.kylin.storage.gtrecord.GTCubeStorageQueryBase.search(GTCubeStorageQueryBase.java:123)
      at org.apache.kylin.query.enumerator.OLAPEnumerator.queryStorage(OLAPEnumerator.java:120)
      at org.apache.kylin.query.enumerator.OLAPEnumerator.moveNext(OLAPEnumerator.java:69)
      at org.apache.calcite.linq4j.EnumerableDefaults$TakeWhileEnumerator.moveNext(EnumerableDefaults.java:2936)
      at org.apache.calcite.linq4j.Linq4j$EnumeratorIterator.<init>(Linq4j.java:664)
      at org.apache.calcite.linq4j.Linq4j.enumeratorIterator(Linq4j.java:98)
      at org.apache.calcite.linq4j.AbstractEnumerable.iterator(AbstractEnumerable.java:33)
      at org.apache.calcite.avatica.MetaImpl.createCursor(MetaImpl.java:85)
      at org.apache.calcite.avatica.AvaticaResultSet.execute(AvaticaResultSet.java:190)
      at org.apache.calcite.jdbc.CalciteResultSet.execute(CalciteResultSet.java:65)
      at org.apache.calcite.jdbc.CalciteResultSet.execute(CalciteResultSet.java:44)
      at org.apache.calcite.avatica.AvaticaConnection$1.execute(AvaticaConnection.java:605)
      at org.apache.calcite.jdbc.CalciteMetaImpl.prepareAndExecute(CalciteMetaImpl.java:599)
      at org.apache.calcite.avatica.AvaticaConnection.prepareAndExecuteInternal(AvaticaConnection.java:613)
      at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:139)
      at org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:208)
      at org.apache.kylin.rest.service.QueryService.execute(QueryService.java:378)
      at org.apache.kylin.rest.service.QueryService.queryWithSqlMassage(QueryService.java:290)
      at org.apache.kylin.rest.service.QueryService.query(QueryService.java:123)
      at org.apache.kylin.rest.service.QueryService$$FastClassBySpringCGLIB$$4957273f.invoke(<generated>)
      at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
      at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:629)
      at org.apache.kylin.rest.service.QueryService$$EnhancerBySpringCGLIB$$4722a127.query(<generated>)
      at org.apache.kylin.rest.controller.QueryController.doQueryWithCache(QueryController.java:192)
      at org.apache.kylin.rest.controller.QueryController.query(QueryController.java:94)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      Attachments

        Activity

          People

            lidong_sjtu Dong Li
            lidong_sjtu Dong Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: