[JBoss JIRA] (ISPN-5650) NPE when trying to execute script from Hot Rod client
by Gustavo Fernandes (JIRA)
Gustavo Fernandes created ISPN-5650:
---------------------------------------
Summary: NPE when trying to execute script from Hot Rod client
Key: ISPN-5650
URL: https://issues.jboss.org/browse/ISPN-5650
Project: Infinispan
Issue Type: Enhancement
Components: Server
Affects Versions: 8.0.0.Beta2, 7.2.3.Final
Reporter: Gustavo Fernandes
{code}
String SCRIPT_CACHE = "___script_cache";
RemoteCacheManager remoteCacheManager = ...
RemoteCache<String, String> scriptCache = remoteCacheManager.getCache(SCRIPT_CACHE);
scriptCache.put("wordCountMapper.js", ...);
{code}
throws:
{code}
14:34:21,473 ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (HotRodServerWorker-8-1) ISPN000136: Execution error: java.lang.NullPointerException
at org.infinispan.interceptors.compat.BaseTypeConverterInterceptor.visitPutKeyValueCommand(BaseTypeConverterInterceptor.java:85)
at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:72)
at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)
at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:102)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 4 months
[JBoss JIRA] (ISPN-5626) Clean up missing parts for Distributed Streams
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-5626?page=com.atlassian.jira.plugin.... ]
William Burns updated ISPN-5626:
--------------------------------
Description:
There are some things left over that need to still be done possibly
# Investigate iterator parallel stream performance
# Add support for key filter applying to cache loader
# Add cache loader managed blocker
# Add tests for skip & limit.
# Add tests for containsValue requiring serialization overhead.
# Change isEmpty to use findAny
# Need to test a map/flatMap operation after an intermediate terminal operation such as sorted. This is to verify the iterator doesn't use the different map operation.
# Add timeout for remote operations to be equal to replication sync timeout
# Add new BitSetSet support to reduce segments footprint
# Support concurrent activations properly (this is also an issue with state transfer)
# Add tests for parallel streams with a cache loader (covers this change https://github.com/infinispan/infinispan/pull/3602/files#diff-00281a3984a...)
# Rewrite cache loader to use a spliterator which allows for a more performant forEachRemaining and possibly better parallel split values
# Look into adding BitSetSet to store segment sets instead of Set<Integer>
# CacheLoaderInterceptor, TxInterceptor & MarshalledValueInterceptor visitKey, visitEntry methods need to be updated as they don't work properly as it should be delegating to the cache, not the set.
was:
There are some things left over that need to still be done possibly
# Investigate iterator parallel stream performance
# Add support for key filter applying to cache loader
# Add cache loader managed blocker
# Add tests for skip & limit.
# Add tests for containsValue requiring serialization overhead.
# Change isEmpty to use findAny
# Need to test a map/flatMap operation after an intermediate terminal operation such as sorted. This is to verify the iterator doesn't use the different map operation.
# Add timeout for remote operations to be equal to replication sync timeout
# Add new BitSetSet support to reduce segments footprint
# Support concurrent activations properly (this is also an issue with state transfer)
# Add tests for parallel streams with a cache loader (covers this change https://github.com/infinispan/infinispan/pull/3602/files#diff-00281a3984a...)
# Rewrite cache loader to use a spliterator which allows for a more performant forEachRemaining and possibly better parallel split values
# Look into adding BitSetSet to store segment sets instead of Set<Integer>
> Clean up missing parts for Distributed Streams
> ----------------------------------------------
>
> Key: ISPN-5626
> URL: https://issues.jboss.org/browse/ISPN-5626
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core
> Reporter: William Burns
> Assignee: William Burns
>
> There are some things left over that need to still be done possibly
> # Investigate iterator parallel stream performance
> # Add support for key filter applying to cache loader
> # Add cache loader managed blocker
> # Add tests for skip & limit.
> # Add tests for containsValue requiring serialization overhead.
> # Change isEmpty to use findAny
> # Need to test a map/flatMap operation after an intermediate terminal operation such as sorted. This is to verify the iterator doesn't use the different map operation.
> # Add timeout for remote operations to be equal to replication sync timeout
> # Add new BitSetSet support to reduce segments footprint
> # Support concurrent activations properly (this is also an issue with state transfer)
> # Add tests for parallel streams with a cache loader (covers this change https://github.com/infinispan/infinispan/pull/3602/files#diff-00281a3984a...)
> # Rewrite cache loader to use a spliterator which allows for a more performant forEachRemaining and possibly better parallel split values
> # Look into adding BitSetSet to store segment sets instead of Set<Integer>
> # CacheLoaderInterceptor, TxInterceptor & MarshalledValueInterceptor visitKey, visitEntry methods need to be updated as they don't work properly as it should be delegating to the cache, not the set.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 4 months