[JBoss JIRA] (ISPN-7405) DMR operation register-proto-schemas fails with NPE if the proto file has syntax errors
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-7405?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-7405:
----------------------------------
Fix Version/s: 9.0.0.CR2
(was: 9.0.0.CR1)
> DMR operation register-proto-schemas fails with NPE if the proto file has syntax errors
> ---------------------------------------------------------------------------------------
>
> Key: ISPN-7405
> URL: https://issues.jboss.org/browse/ISPN-7405
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Querying, Server
> Affects Versions: 9.0.0.Beta2
> Reporter: Adrian Nistor
> Priority: Blocker
> Fix For: 9.0.0.CR2
>
> Attachments: error.log
>
>
> Start an infinispan server and run the following CLI command:
> ./bin/ispn-cli.sh -c '/subsystem=datagrid-infinispan/cache-container=local:register-proto-schemas(file-names=[myFileWithSyntaxErrors.proto], file-contents=[kaboom])'
> since the file has syntax errors it should still be placed in the ___protobuf_metadata cache and a myFileWithSyntaxErrors.proto.errors key should also be created. No exception should be thrown. Currently no key is written in cache and the NPE from the attached log happens.
> When registering a proper file without syntax errors this works correctly.
> The problem disappears if I disable global state persistence, so the cachestore seems to play a role in this.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (ISPN-7401) AbstractProtocolServer relying on startDefaultCache
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-7401?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-7401:
----------------------------------
Fix Version/s: 9.0.0.CR2
(was: 9.0.0.CR1)
> AbstractProtocolServer relying on startDefaultCache
> ---------------------------------------------------
>
> Key: ISPN-7401
> URL: https://issues.jboss.org/browse/ISPN-7401
> Project: Infinispan
> Issue Type: Task
> Components: Server
> Reporter: Sanne Grinovero
> Assignee: Tristan Tarrant
> Fix For: 9.0.0.CR2
>
>
> The {{AbstractProtocolServer}} class is used/extended by various other tools, including testing infrastructure of OGM.
> It currently is "booting" the system by starting the default cache. This concept needs an update.
> See {{org.infinispan.server.core.AbstractProtocolServer.startDefaultCache()}}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (ISPN-7400) Cache segment ownership information in DistributionManager
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-7400?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-7400:
----------------------------------
Fix Version/s: 9.0.0.CR2
(was: 9.0.0.CR1)
> Cache segment ownership information in DistributionManager
> ----------------------------------------------------------
>
> Key: ISPN-7400
> URL: https://issues.jboss.org/browse/ISPN-7400
> Project: Infinispan
> Issue Type: Task
> Components: Core
> Affects Versions: 9.0.0.Beta2
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Labels: performance
> Fix For: 9.0.0.CR2
>
>
> ISPN-7029 introduced {{DistributionInfo}} to simplify limit the number of times we compute the location of a given key. We can go further and cache the {{DistributionInfo}} of each segment in {{DistributionManager}}, so that each operation only needs to compute the segment of its key.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (ISPRK-42) Support for writing using protobuf marshaller to Infinispan
by Gustavo Fernandes (JIRA)
Gustavo Fernandes created ISPRK-42:
--------------------------------------
Summary: Support for writing using protobuf marshaller to Infinispan
Key: ISPRK-42
URL: https://issues.jboss.org/browse/ISPRK-42
Project: Infinispan Spark
Issue Type: Enhancement
Components: RDD
Affects Versions: 0.4
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
Fix For: 0.5
When using {{rdd.writeToInfinispan}} to write an arbitrary (K,V) RDD to Infinispan, the connector will use the default marshaller and doesn't support writing using a protobuf marshaller.
It should respect the {{infinispan.rdd.query.proto.protoclasses}} or the pair {{infinispan.rdd.query.proto.protofiles/infinispan.rdd.query.proto.marshallers}} to correctly configure the serialization context in order to write to the cache.
Also, it should have a property to allow auto-registration of the proto files.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month