FYI I'm running Neo4j Enterprise 2.0.1 On Tuesday, April 15, 2014 4:31:24 PM UTC-4, Duncan Brown wrote: > > I've just started looking into this error, but I'm getting the same on a > slave. Can someone please advise re this issue? > > On Monday, September 30, 2013 10:26:12 PM UTC-4, sungwoo park wrote: >> >> Thanks Michael. >> I've tested with HA configuration and it worked. >> In the scenario, I have only a few batch-like input source from internal >> servers so I'll put them into AMQ and will consume in the embedded master >> server in order to be safe from the master failture. >> And I will set the all server slaves as slave only mode via ha.slave_only >> property. >> I also wanted to set them(the slave servers) as read_only mode but when I >> set read_only = true, I got following error. >> >> 2013-10-01 02:11:39.040+0000 DEBUG [API] Failed to start database. >> 2013-10-01 02:11:39.044+0000 DEBUG [API] >> java.lang.ClassCastException: >> org.neo4j.kernel.impl.transaction.ReadOnlyTxManager cannot be cast to >> org.neo4j.kernel.impl.transaction.TxManager >> at >> org.neo4j.kernel.ha.HighlyAvailableGraphDatabase.create(HighlyAvailableGraphDatabase.java:169) >> >> ~[neo4j-ha-2.0.0-M05.jar:2.0.0-M05] >> at >> org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:294) >> >> ~[neo4j-kernel-2.0.0-M05.jar:2.0.0-M05] >> at >> org.neo4j.kernel.ha.HighlyAvailableGraphDatabase.<init>(HighlyAvailableGraphDatabase.java:156) >> >> ~[neo4j-ha-2.0.0-M05.jar:2.0.0-M05] >> at >> org.neo4j.graphdb.factory.HighlyAvailableGraphDatabaseFactory$1.newDatabase(HighlyAvailableGraphDatabaseFactory.java:47) >> >> ~[neo4j-ha-2.0.0-M05.jar:2.0.0-M05] >> at >> org.neo4j.graphdb.factory.GraphDatabaseBuilder.newGraphDatabase(GraphDatabaseBuilder.java:197) >> >> ~[neo4j-kernel-2.0.0-M05.jar:2.0.0-M05] >> at >> org.neo4j.server.enterprise.EnterpriseDatabase$DatabaseMode$2.createDatabase(EnterpriseDatabase.java:64) >> >> ~[neo4j-server-enterprise-2.0.0-M05.jar:2.0.0-M05] >> at >> org.neo4j.server.enterprise.EnterpriseDatabase.start(EnterpriseDatabase.java:89) >> >> ~[neo4j-server-enterprise-2.0.0-M05.jar:2.0.0-M05] >> at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:137) >> ~[neo4j-server-2.0.0-M05.jar:2.0.0-M05] >> at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:86) >> [neo4j-server-2.0.0-M05.jar:2.0.0-M05] >> at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:49) >> [neo4j-server-2.0.0-M05.jar:2.0.0-M05] >> 2013-10-01 02:11:39.045+0000 DEBUG [API] Failed to start Neo Server on >> port [7475] >> >> Is it impossible to set read_only mote in HA? >> >> >> Thanks. Sungwoo. >> 2013년 10월 1일 화요일 오전 10시 19분 30초 UTC+9, Michael Hunger 님의 말: >>> >>> Sure, you can build a HA cluster out of an embedded master and a number >>> of server slaves. >>> >>> Just make sure the master machine has enough power and bandwith to >>> consume all the writes and also push the updates to the slaves (and handle >>> the polls from the slaves it doesn't push to). >>> >>> The config is the normal HA config, just that for embedded you pass it >>> into the factory method whereas for server it is part of the config files. >>> >>> Michael >>> >>> Am 01.10.2013 um 02:16 schrieb sungwoo park <[email protected]>: >>> >>> > hi. >>> > I'm building a system that has many read write operation. (200/s for >>> each) >>> > According to the research, Writing via REST is not efficient enough to >>> handle those requests. >>> > >>> > So I'm considering to write a thrift server which has embedded server >>> inside and process the write request. >>> > And deploy read only slave server against the embedded server. >>> > >>> > Is this possible deploy scenario? >>> > Can I configure a cluster among the embedded and the server? >>> > >>> > -- >>> > You received this message because you are subscribed to the Google >>> Groups "Neo4j" group. >>> > To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> > For more options, visit https://groups.google.com/groups/opt_out. >>> >>>
-- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
