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

'Cache already exists' exception in high-concurrency query situation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: v1.4.0
    • Fix Version/s: v1.4.0
    • Component/s: Query Engine
    • Labels:
      None

      Description

      Caused by: net.sf.ehcache.ObjectExistsException: Cache xxxxxxxxxxxxxx already exists
      at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1390)
      at net.sf.ehcache.CacheManager.addCache(CacheManager.java:1274)
      at net.sf.ehcache.CacheManager.addCache(CacheManager.java:1243)
      at org.apache.kylin.storage.cache.AbstractCacheFledgedQuery.makeCacheIfNecessary(AbstractCacheFledgedQuery.java:106)
      at org.apache.kylin.storage.cache.AbstractCacheFledgedQuery.<init>(AbstractCacheFledgedQuery.java:32)
      at org.apache.kylin.storage.cache.CacheFledgedStaticQuery.<init>(CacheFledgedStaticQuery.java:25)
      at org.apache.kylin.storage.hbase.HBaseStorage.wrapWithCache(HBaseStorage.java:108)
      at org.apache.kylin.storage.hbase.HBaseStorage.createQuery(HBaseStorage.java:95)
      at org.apache.kylin.storage.StorageFactory.createQuery(StorageFactory.java:50)
      at org.apache.kylin.query.enumerator.OLAPEnumerator.queryStorage(OLAPEnumerator.java:124)
      at org.apache.kylin.query.enumerator.OLAPEnumerator.moveNext(OLAPEnumerator.java:71)
      at Baz$1$1.moveNext(Unknown Source)
      at org.apache.calcite.linq4j.EnumerableDefaults.distinct(EnumerableDefaults.java:418)
      at org.apache.calcite.linq4j.DefaultEnumerable.distinct(DefaultEnumerable.java:206)
      at Baz.bind(Unknown Source)
      at org.apache.calcite.jdbc.CalcitePrepare$CalciteSignature.enumerable(CalcitePrepare.java:281)
      at org.apache.calcite.jdbc.CalciteConnectionImpl.enumerable(CalciteConnectionImpl.java:235)
      at org.apache.calcite.jdbc.CalciteMetaImpl.createIterable(CalciteMetaImpl.java:533)
      at org.apache.calcite.avatica.AvaticaResultSet.execute(AvaticaResultSet.java:184)
      at org.apache.calcite.jdbc.CalciteResultSet.execute(CalciteResultSet.java:63)
      at org.apache.calcite.jdbc.CalciteResultSet.execute(CalciteResultSet.java:42)
      at org.apache.calcite.avatica.AvaticaConnection$1.execute(AvaticaConnection.java:473)
      at org.apache.calcite.jdbc.CalciteMetaImpl.prepareAndExecute(CalciteMetaImpl.java:566)
      at org.apache.calcite.avatica.AvaticaConnection.prepareAndExecuteInternal(AvaticaConnection.java:477)
      at org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:109)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: