You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "Serge Huber (Jira)" <ji...@apache.org> on 2020/07/15 11:38:00 UTC
[jira] [Comment Edited] (UNOMI-360) Setting Configuration
${es.itemClassesToCache}=* will throw ClassNotFoundException
[ https://issues.apache.org/jira/browse/UNOMI-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17158092#comment-17158092 ]
Serge Huber edited comment on UNOMI-360 at 7/15/20, 11:37 AM:
--------------------------------------------------------------
Hello,
This was not activated because it is not finished. It is not supposed to work properly at this stage and is never tested.
Basically the problem comes from the invalidation, which is not properly defined. Ideally the way to do this properly would be to use some callback once ES has indexed the Item or to use kind of Time to Idle or a Time to Live. This was not completed but if you're interested in working on it feel free to do so.
Also, for performance test it is highly recommended to use SSDs with ElasticSearch, never magnetic disks.
was (Author: shuber):
This was not activated because it is not finished. It is not supposed to work properly at this stage and is never tested.
> Setting Configuration ${es.itemClassesToCache}=* will throw ClassNotFoundException
> ----------------------------------------------------------------------------------
>
> Key: UNOMI-360
> URL: https://issues.apache.org/jira/browse/UNOMI-360
> Project: Apache Unomi
> Issue Type: Bug
> Components: core
> Affects Versions: 1.5.1
> Reporter: pengpeng
> Priority: Major
> Attachments: 2020-07-14T.log
>
>
> I want to enable the Hazelcast Cache to imporve performance.
> So, I append a setting `itemClassesToCache=*` to the file `etc/org.apache.unomi.persistence.elasticsearch.cfg`, and restart the unomi.
> However , when I test the sample project `tweet-button-plugin` , some exception will print in the karaf.log.
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)