ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Konstantinov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-2178) keepBinary is not honored for a scan query filter
Date Fri, 18 Dec 2015 03:08:46 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-2178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pavel Konstantinov updated IGNITE-2178:
---------------------------------------
    Description: 
To reproduce try to SCAN cache with incorrect Key\Value classes in cache configuration

{code}
[16:55:41,901][SEVERE][sys-#18%111%][GridCacheMapEntry] An exception was thrown while filter
checking.
class org.apache.ignite.IgniteCheckedException: Failed to read class name from file [id=213172044,
file=IGNITE_HOME\work\marshaller\213172044.classname]
        at org.apache.ignite.internal.MarshallerContextImpl.className(MarshallerContextImpl.java:158)
        at org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:174)
        at org.apache.ignite.internal.binary.BinaryContext.descriptorForTypeId(BinaryContext.java:458)
        at org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize(BinaryReaderExImpl.java:1443)
        at org.apache.ignite.internal.binary.BinaryObjectImpl.deserializeValue(BinaryObjectImpl.java:537)
        at org.apache.ignite.internal.binary.BinaryObjectImpl.value(BinaryObjectImpl.java:116)
        at org.apache.ignite.internal.processors.cache.GridCacheUtils$23.apply(GridCacheUtils.java:1581)
        at org.apache.ignite.internal.processors.cache.GridCacheUtils$23.apply(GridCacheUtils.java:1579)
        at org.apache.ignite.internal.util.F0$5.apply(F0.java:164)
        at org.apache.ignite.internal.util.F0$5.apply(F0.java:150)
        at org.apache.ignite.internal.processors.cache.CacheEntrySerializablePredicate.apply(CacheEntrySerializablePredicate.java:96)
        at org.apache.ignite.internal.processors.cache.CacheEntrySerializablePredicate.apply(CacheEntrySerializablePredicate.java:30)
        at org.apache.ignite.internal.processors.cache.GridCacheContext.isAll(GridCacheContext.java:1222)
        at org.apache.ignite.internal.processors.cache.GridCacheMapEntry.visitable(GridCacheMapEntry.java:4101)
        at org.apache.ignite.internal.processors.cache.GridCacheConcurrentMap$Iterator0.advanceInBucket(GridCacheConcurrentMap.java:1323)
        at org.apache.ignite.internal.processors.cache.GridCacheConcurrentMap$Iterator0.advance(GridCacheConcurrentMap.java:1296)
        at org.apache.ignite.internal.processors.cache.GridCacheConcurrentMap$Iterator0.<init>(GridCacheConcurrentMap.java:1267)
        at org.apache.ignite.internal.processors.cache.GridCacheConcurrentMap$KeyIterator.<init>(GridCacheConcurrentMap.java:1773)
        at org.apache.ignite.internal.processors.cache.GridCacheConcurrentMap$KeyIterator.<init>(GridCacheConcurrentMap.java:1751)
        at org.apache.ignite.internal.processors.cache.GridCacheConcurrentMap$Set0.keyIterator(GridCacheConcurrentMap.java:1482)
        at org.apache.ignite.internal.processors.cache.GridCacheConcurrentMap$KeySet.iterator(GridCacheConcurrentMap.java:1834)
        at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager$5.<init>(GridCacheQueryManager.java:844)
        at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.scanIterator(GridCacheQueryManager.java:830)
        at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.executeQuery(GridCacheQueryManager.java:593)
        at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.runQuery(GridCacheQueryManager.java:1387)
        at org.apache.ignite.internal.processors.cache.query.GridCacheLocalQueryFuture$LocalQueryRunnable.run(GridCacheLocalQueryFuture.java:95)
        at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6453)
        at org.apache.ignite.internal.processors.closure.GridClosureProcessor$1.body(GridClosureProcessor.java:788)
        at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.FileNotFoundException: IGNITE_HOME\work\marshaller\213172044.classname
(═х єфрхЄё  эрщЄш єърчрээ√щ Їрщы)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:146)
        at java.io.FileReader.<init>(FileReader.java:72)
        at org.apache.ignite.internal.MarshallerContextImpl.className(MarshallerContextImpl.java:154)
        ... 31 more
{code}

  was:
{code}
[16:55:41,901][SEVERE][sys-#18%111%][GridCacheMapEntry] An exception was thrown while filter
checking.
class org.apache.ignite.IgniteCheckedException: Failed to read class name from file [id=213172044,
file=IGNITE_HOME\work\marshaller\213172044.classname]
        at org.apache.ignite.internal.MarshallerContextImpl.className(MarshallerContextImpl.java:158)
        at org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:174)
        at org.apache.ignite.internal.binary.BinaryContext.descriptorForTypeId(BinaryContext.java:458)
        at org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize(BinaryReaderExImpl.java:1443)
        at org.apache.ignite.internal.binary.BinaryObjectImpl.deserializeValue(BinaryObjectImpl.java:537)
        at org.apache.ignite.internal.binary.BinaryObjectImpl.value(BinaryObjectImpl.java:116)
        at org.apache.ignite.internal.processors.cache.GridCacheUtils$23.apply(GridCacheUtils.java:1581)
        at org.apache.ignite.internal.processors.cache.GridCacheUtils$23.apply(GridCacheUtils.java:1579)
        at org.apache.ignite.internal.util.F0$5.apply(F0.java:164)
        at org.apache.ignite.internal.util.F0$5.apply(F0.java:150)
        at org.apache.ignite.internal.processors.cache.CacheEntrySerializablePredicate.apply(CacheEntrySerializablePredicate.java:96)
        at org.apache.ignite.internal.processors.cache.CacheEntrySerializablePredicate.apply(CacheEntrySerializablePredicate.java:30)
        at org.apache.ignite.internal.processors.cache.GridCacheContext.isAll(GridCacheContext.java:1222)
        at org.apache.ignite.internal.processors.cache.GridCacheMapEntry.visitable(GridCacheMapEntry.java:4101)
        at org.apache.ignite.internal.processors.cache.GridCacheConcurrentMap$Iterator0.advanceInBucket(GridCacheConcurrentMap.java:1323)
        at org.apache.ignite.internal.processors.cache.GridCacheConcurrentMap$Iterator0.advance(GridCacheConcurrentMap.java:1296)
        at org.apache.ignite.internal.processors.cache.GridCacheConcurrentMap$Iterator0.<init>(GridCacheConcurrentMap.java:1267)
        at org.apache.ignite.internal.processors.cache.GridCacheConcurrentMap$KeyIterator.<init>(GridCacheConcurrentMap.java:1773)
        at org.apache.ignite.internal.processors.cache.GridCacheConcurrentMap$KeyIterator.<init>(GridCacheConcurrentMap.java:1751)
        at org.apache.ignite.internal.processors.cache.GridCacheConcurrentMap$Set0.keyIterator(GridCacheConcurrentMap.java:1482)
        at org.apache.ignite.internal.processors.cache.GridCacheConcurrentMap$KeySet.iterator(GridCacheConcurrentMap.java:1834)
        at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager$5.<init>(GridCacheQueryManager.java:844)
        at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.scanIterator(GridCacheQueryManager.java:830)
        at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.executeQuery(GridCacheQueryManager.java:593)
        at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.runQuery(GridCacheQueryManager.java:1387)
        at org.apache.ignite.internal.processors.cache.query.GridCacheLocalQueryFuture$LocalQueryRunnable.run(GridCacheLocalQueryFuture.java:95)
        at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6453)
        at org.apache.ignite.internal.processors.closure.GridClosureProcessor$1.body(GridClosureProcessor.java:788)
        at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.FileNotFoundException: IGNITE_HOME\work\marshaller\213172044.classname
(═х єфрхЄё  эрщЄш єърчрээ√щ Їрщы)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:146)
        at java.io.FileReader.<init>(FileReader.java:72)
        at org.apache.ignite.internal.MarshallerContextImpl.className(MarshallerContextImpl.java:154)
        ... 31 more
{code}


> keepBinary is not honored for a scan query filter
> -------------------------------------------------
>
>                 Key: IGNITE-2178
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2178
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Pavel Konstantinov
>             Fix For: 1.5
>
>
> To reproduce try to SCAN cache with incorrect Key\Value classes in cache configuration
> {code}
> [16:55:41,901][SEVERE][sys-#18%111%][GridCacheMapEntry] An exception was thrown while
filter checking.
> class org.apache.ignite.IgniteCheckedException: Failed to read class name from file [id=213172044,
file=IGNITE_HOME\work\marshaller\213172044.classname]
>         at org.apache.ignite.internal.MarshallerContextImpl.className(MarshallerContextImpl.java:158)
>         at org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:174)
>         at org.apache.ignite.internal.binary.BinaryContext.descriptorForTypeId(BinaryContext.java:458)
>         at org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize(BinaryReaderExImpl.java:1443)
>         at org.apache.ignite.internal.binary.BinaryObjectImpl.deserializeValue(BinaryObjectImpl.java:537)
>         at org.apache.ignite.internal.binary.BinaryObjectImpl.value(BinaryObjectImpl.java:116)
>         at org.apache.ignite.internal.processors.cache.GridCacheUtils$23.apply(GridCacheUtils.java:1581)
>         at org.apache.ignite.internal.processors.cache.GridCacheUtils$23.apply(GridCacheUtils.java:1579)
>         at org.apache.ignite.internal.util.F0$5.apply(F0.java:164)
>         at org.apache.ignite.internal.util.F0$5.apply(F0.java:150)
>         at org.apache.ignite.internal.processors.cache.CacheEntrySerializablePredicate.apply(CacheEntrySerializablePredicate.java:96)
>         at org.apache.ignite.internal.processors.cache.CacheEntrySerializablePredicate.apply(CacheEntrySerializablePredicate.java:30)
>         at org.apache.ignite.internal.processors.cache.GridCacheContext.isAll(GridCacheContext.java:1222)
>         at org.apache.ignite.internal.processors.cache.GridCacheMapEntry.visitable(GridCacheMapEntry.java:4101)
>         at org.apache.ignite.internal.processors.cache.GridCacheConcurrentMap$Iterator0.advanceInBucket(GridCacheConcurrentMap.java:1323)
>         at org.apache.ignite.internal.processors.cache.GridCacheConcurrentMap$Iterator0.advance(GridCacheConcurrentMap.java:1296)
>         at org.apache.ignite.internal.processors.cache.GridCacheConcurrentMap$Iterator0.<init>(GridCacheConcurrentMap.java:1267)
>         at org.apache.ignite.internal.processors.cache.GridCacheConcurrentMap$KeyIterator.<init>(GridCacheConcurrentMap.java:1773)
>         at org.apache.ignite.internal.processors.cache.GridCacheConcurrentMap$KeyIterator.<init>(GridCacheConcurrentMap.java:1751)
>         at org.apache.ignite.internal.processors.cache.GridCacheConcurrentMap$Set0.keyIterator(GridCacheConcurrentMap.java:1482)
>         at org.apache.ignite.internal.processors.cache.GridCacheConcurrentMap$KeySet.iterator(GridCacheConcurrentMap.java:1834)
>         at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager$5.<init>(GridCacheQueryManager.java:844)
>         at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.scanIterator(GridCacheQueryManager.java:830)
>         at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.executeQuery(GridCacheQueryManager.java:593)
>         at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.runQuery(GridCacheQueryManager.java:1387)
>         at org.apache.ignite.internal.processors.cache.query.GridCacheLocalQueryFuture$LocalQueryRunnable.run(GridCacheLocalQueryFuture.java:95)
>         at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6453)
>         at org.apache.ignite.internal.processors.closure.GridClosureProcessor$1.body(GridClosureProcessor.java:788)
>         at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: java.io.FileNotFoundException: IGNITE_HOME\work\marshaller\213172044.classname
(═х єфрхЄё  эрщЄш єърчрээ√щ Їрщы)
>         at java.io.FileInputStream.open(Native Method)
>         at java.io.FileInputStream.<init>(FileInputStream.java:146)
>         at java.io.FileReader.<init>(FileReader.java:72)
>         at org.apache.ignite.internal.MarshallerContextImpl.className(MarshallerContextImpl.java:154)
>         ... 31 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message