I am new to cellar and trying to do POC, I did following steps
- Install Karaf(4.1.5) on two instances.
mvn:org.apache.karaf.cellar/apache-karaf-cellar/4.1.1/xml/features (On both
- feature:install cellar (On both instances)
- Edit hazelcast.xml on both instances and set following section (On both
- When i check cluster status(cluster:node-list) following is output
│Id │Alias│Host Name │Port
As auto sync is not enabled i installed camel-scr bundle on one instance and
on running cluster-sync i am getting below error and now it also removing
some features and camel-scr goes back to uninstall state
Re: Karaf Cellar sync issue and NullPointerException
When you do cluster:feature-install, the node send an event to the other
nodes (and himself) to update as well.
cluster:sync does the same but reading the features/bundles/configs
state from the distributed map. So, if you use cluster:feature-install,
no need to use cluster:sync, the sync is already done.
I gonna check if the read from the distributed map doesn't have an issue.
On 12/06/2018 11:59, imranrazakhan wrote:
> I tried cluster-sync with other camel feature and behavior was same.
> cluster:feature-install is working as expected.
> Can you please elaborate about below statement with example ?
> "/cluster-sync is not required, it's only used when you have a split brain/"
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html >