Re: How to Force a Connection Failover in an ActiveMQ Replicated LevelDB Cluster ?

2016-12-18 Thread Tim Bain
t; -- > View this message in context: http://activemq.2283324.n4. > nabble.com/How-to-Force-a-Connection-Failover-in-an- > ActiveMQ-Replicated-LevelDB-Cluster-tp4720385p4720571.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >

Re: How to Force a Connection Failover in an ActiveMQ Replicated LevelDB Cluster ?

2016-12-18 Thread Patrick Vansevenant
The JMX operations "stop", "start" (or "restart") on the Master Broker do the job. -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-Force-a-Connection-Failover-in-an-ActiveMQ-Replicated-LevelDB-Cluster-tp4720385p4720571.html Sent fr

Re: How to Force a Connection Failover in an ActiveMQ Replicated LevelDB Cluster ?

2016-12-17 Thread Tim Bain
I haven't personally tried this, but I'd expect that calling stop() on the networkConnector for the master broker via JMX would do what you want without requiring a full restart. (Then you could call start() to bring it back, as the slave.) http://activemq.apache.org/jmx.html has a table that lis

How to Force a Connection Failover in an ActiveMQ Replicated LevelDB Cluster ?

2016-12-15 Thread Patrick Vansevenant
Currently I stop the ActiveMQ Master Node (by a systemd service) to force a Slave become the new Master. Afterwards I restart the stopped ActiveMQ Master Node (by a systemd service) which will become a new Slave. Is there another way to Force a Connection Failover without stopping and restarting t

Re: StorePercentUsage increasing above 100% for slaves in ActiveMQ Replicated LevelDB Cluster (5.14.1).

2016-11-08 Thread Patrick Vansevenant
Tim, I have submitted a bug report in JIRA : https://issues.apache.org/jira/browse/AMQ-6502 Patrick -- View this message in context: http://activemq.2283324.n4.nabble.com/StorePercentUsage-increasing-above-100-for-slaves-in-ActiveMQ-Replicated-LevelDB-Cluster-5-14-1-tp4719072p4719105.html

Re: StorePercentUsage increasing above 100% for slaves in ActiveMQ Replicated LevelDB Cluster (5.14.1).

2016-11-08 Thread Tim Bain
Can you reproduce this reliably? If so, please submit a bug report in JIRA. Tim On Nov 8, 2016 1:40 AM, "Patrick Vansevenant" wrote: The StorePercentUsage of the master node is increasing and decreasing but remains more or less stable over the time. The StorePercentUsage of the slave nodes (J

StorePercentUsage increasing above 100% for slaves in ActiveMQ Replicated LevelDB Cluster (5.14.1).

2016-11-08 Thread Patrick Vansevenant
The StorePercentUsage of the master node is increasing and decreasing but remains more or less stable over the time. The StorePercentUsage of the slave nodes (JMX), on the other hand, is increasing all the time. I have already noticed values of 200% and more. The HA Cluster seems to work and I do

Re: Replicated LevelDB uses Apache ZooKeeper problem

2016-08-17 Thread ppusar
Hi I am also facing the same issue.Kindly suggest the solution.I have restarted zookeeper one after other in three servers.2. after starting the slave server activemq i am getting above issue reported. -- View this message in context: http://activemq.2283324.n4.nabble.com/Replicated-LevelDB

Re: Replicated LevelDB uses Apache ZooKeeper problem

2016-08-17 Thread mlange
mq.2283324.n4.nabble.com/Replicated-LevelDB-uses-Apache-ZooKeeper-problem-tp4709020p4715593.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: broker network replicated levelDB config problem

2016-05-02 Thread Tim Bain
network where the connections from one broker go to whichever member of a master/slave grouping is the active one at any point. What you've described in this thread sounds like you're doing master/slave using Zookeeper and replicated LevelDB, which is why you only have one active broker

Re: broker network replicated levelDB config problem

2016-05-02 Thread sekaijin
Thank you very much. that's what I understood from the master / slave what I want to do is http://activemq.apache.org/networks-of-brokers.html But I always have a master / slave behavior A+JYT -- View this message in context: http://activemq.2283324.n4.nabble.com/broker-network-repli

Re: broker network replicated levelDB config problem

2016-05-01 Thread Tim Bain
foo.bar queue in this broker exist but is empty I've lost my message. I'm trying to make a active/active cluster not master/slave. I need to secure it. I can't lost any messages. A+JYT PS I'm running activeMQ 5.11.1 and zookeeper 3.4.6 -- View this message in context: http:/

Re: broker network replicated levelDB config problem

2016-05-01 Thread sekaijin
empty I've lost my message. I'm trying to make a active/active cluster not master/slave. I need to secure it. I can't lost any messages. A+JYT PS I'm running activeMQ 5.11.1 and zookeeper 3.4.6 -- View this message in context: http://activemq.2283324.n4.nabble.com/broker-n

broker network replicated levelDB config problem

2016-05-01 Thread sekaijin
elp A+JYT -- View this message in context: http://activemq.2283324.n4.nabble.com/broker-network-replicated-levelDB-config-problem-tp4711416.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

A lot of WARNs "invalid: logRefDecrement" on the slaves of Replicated LevelDB cluster

2016-04-20 Thread avac
ble.com/A-lot-of-WARNs-invalid-logRefDecrement-on-the-slaves-of-Replicated-LevelDB-cluster-tp4710993.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

A lot of WARNs "invalid: logRefDecrement" on the slaves of Replicated LevelDB cluster

2016-04-20 Thread artvolk
ble.com/A-lot-of-WARNs-invalid-logRefDecrement-on-the-slaves-of-Replicated-LevelDB-cluster-tp4710994.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: replicated leveldb

2016-04-03 Thread Tim Bain
Wouldn't you implement this at the OS level, not in ActiveMQ configuration? If each broker host's routing tables run the other broker hosts' hostnames/IPs through the 10GbE NIC, that should do it. On Apr 2, 2016 12:51 PM, "cmuarg" wrote: > I’m running activemq rep

replicated leveldb

2016-04-02 Thread cmuarg
I’m running activemq replicated leveldb on 3 servers with two nics, a 1Gbit and a 10Gbit. I want the servers to communicate via the 10Gbit nics to which the clients do not have access. If possible, how configure? Thanks -- View this message in context: http://activemq.2283324.n4.nabble.com

Replicated LevelDB uses Apache ZooKeeper problem

2016-03-07 Thread ealiass
FO | Using the pure java LevelDB implementation. | org.apache.activemq.leveldb.LevelDBClient | hawtdispatch-DEFAULT-1 Please advise if somebody have any idea Thanks in advance -- View this message in context: http://activemq.2283324.n4.nabble.com/Replicated-LevelDB-uses-Apache-ZooKeep

Replicated LevelDB - Controlling ACL on Znodes

2016-03-07 Thread ajaykumarbv
tampered & can impact the cluster. -- View this message in context: http://activemq.2283324.n4.nabble.com/Replicated-LevelDB-Controlling-ACL-on-Znodes-tp4708957.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Exception encounter ActiveMQ with Replicated LevelDB

2016-02-18 Thread Sunil Vishwanath
I have created 2 Jira’s for issues I have encountered with ActiveMQ with Replicated LevelDB. The latest issue I am encountering is more critical as the earlier one can be gotten around with NFSv3. https://issues.apache.org/jira/browse/AMQ-6173 <https://issues.apache.org/jira/browse/AMQ-6

Re: Exception encounter ActiveMQ with Replicated LevelDB

2016-02-15 Thread Tim Bain
Please do; NFS issues are a known problem for KahaDB where you have a shared filesystem, but replicated LevelDB isn't supposed to have any shared filesystem elements and I've never heard of anyone having similar issues. Please document the options you're using for both your

Re: Exception encounter ActiveMQ with Replicated LevelDB

2016-02-15 Thread Sunil Vishwanath
Hi Tim, I have been researching ActiveMQ with Replicated LevelDB for more than a month. I couldn’t figure out why it won’t failover back to the first server in the lineup. After lots of elimination process, I ended up suspecting the NFSv4 as I had issues with NFSv4 in non-ActiveMQ

Re: Exception encounter ActiveMQ with Replicated LevelDB

2016-02-13 Thread Tim Bain
I can't help you (I've never used LevelDB) and this list doesn't have a resident LevelDB expert, but this sounds like a real bug so please submit a bug in JIRA if you haven't already. Can you reliably reproduce the problem? On Jan 31, 2016 11:33 PM, "Sunil Vishwanath" wrote: > Hello, > I am ve

Re: Exception encounter ActiveMQ with Replicated LevelDB

2016-02-01 Thread Sunil Vishwanath
The problem went away after the filesystem was downgraded to NFSv3 from NFSv4. -- View this message in context: http://activemq.2283324.n4.nabble.com/Exception-encounter-ActiveMQ-with-Replicated-LevelDB-tp4706710p4706761.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Exception encounter ActiveMQ with Replicated LevelDB

2016-01-31 Thread Sunil Vishwanath
Hello, I am very new to this forum and I am hoping that you all will see this email. Currently I am testing the following setup: ActiveMQ 5.13.0 with LevelDB (3 node cluster). Zookeeper 3.4.6 (3 node cluster). Started up all 3 Zookeeper nodes. Started up all 3 ActiveMQ nodes. As I started a

Re: ActiveMQ and Replicated LevelDB Store

2015-10-17 Thread Tim Bain
this message in context: > http://activemq.2283324.n4.nabble.com/ActiveMQ-and-Replicated-LevelDB-Store-tp4702593p4702987.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >

Re: ActiveMQ and Replicated LevelDB Store

2015-10-15 Thread zystem
1-st slave StorePercentUsage=510 TempPercentUsage=146 and on 2-nd slave StorePercentUsage=424 -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-and-Replicated-LevelDB-Store-tp4702593p4702987.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ and Replicated LevelDB Store

2015-10-07 Thread EugeneL
brokers in a LevelDB cluster have vastly different StorePercentUsage values? Are there any best practices on managing and monitoring ActiveMQ? -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-and-Replicated-LevelDB-Store-tp4702593p4702732.html Sent from the

Re: ActiveMQ and Replicated LevelDB Store

2015-10-05 Thread Tim Bain
-hs /var/activemq/data/ > 266M /var/activemq/data > Slave1: > du -hs /var/activemq/data/ > 124M /var/activemq/data > Slave2: > du -hs /var/activemq/data/ > 119M /var/activemq/data > > So question is what means > StorePercentUsage=93 > TempPercentUsage=146 &

ActiveMQ and Replicated LevelDB Store

2015-10-05 Thread zystem
means StorePercentUsage=93 TempPercentUsage=146 then used Replicated LevelDB Store Or in another words why Replicated LevelDB Store ignores this settings StoreLimit=8589934592 TempLimit=5368709120 -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-and-Replicated

Re: Durable client removal caused broker to shutdown in replicated leveldb

2015-08-21 Thread Tim Bain
util.Log$class#debug 112 DEBUG] - on rollback, > the transaction TX:ID:app1.net-38906-1439632105449-7:13:42 does not exist > > That's why I am suspecting that could this cause broker to stop ? > > Thanks, > Anuj > > > > -- > View this message in contex

Re: Durable client removal caused broker to shutdown in replicated leveldb

2015-08-20 Thread khandelwalanuj
#x27;s why I am suspecting that could this cause broker to stop ? Thanks, Anuj -- View this message in context: http://activemq.2283324.n4.nabble.com/Durable-client-removal-caused-broker-to-shutdown-in-replicated-leveldb-tp4701209p4701241.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Durable client removal caused broker to shutdown in replicated leveldb

2015-08-20 Thread Tim Bain
the > past, you've had NFS trouble; did that happen again here? > On Aug 19, 2015 1:14 AM, "khandelwalanuj" > wrote: > >> hi, >> >> I am using replicated leveldb with ActiveMQ.5.11.1. We have recently >> observed an issue where when client co

Re: Durable client removal caused broker to shutdown in replicated leveldb

2015-08-19 Thread khandelwalanuj
Did anyone get a chance to look at this ? -- View this message in context: http://activemq.2283324.n4.nabble.com/Durable-client-removal-caused-broker-to-shutdown-in-replicated-leveldb-tp4701209p4701232.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Durable client removal caused broker to shutdown in replicated leveldb

2015-08-19 Thread khandelwalanuj
hi, I am using replicated leveldb with ActiveMQ.5.11.1. We have recently observed an issue where when client connection removal caused broker to shutdown. This is very weird. The client is a durable consumer who uses transactions and calls commit after each 10 messages. Can someone suggest what

Re: ActiveMQ replicated leveldb with 2 brokers(replica = 1)

2015-07-23 Thread khandelwalanuj
er, and master election happens via zookeeper. So both of them sends their updated positions to the zookeeper and whoever has the latest position becomes the master. Thanks, Anuj -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-replicated-leveldb-with-2-brokers-repl

Re: ActiveMQ replicated leveldb with 2 brokers(replica = 1)

2015-07-23 Thread Tim Bain
> So in my case a single broker can also serve the client(1/2 +1 = 1) > > Thanks, > Anuj > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/ActiveMQ-replicated-leveldb-with-2-brokers-replica-1-tp4699679p4699749.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >

Re: ActiveMQ replicated leveldb with 2 brokers(replica = 1)

2015-07-23 Thread khandelwalanuj
Hi Jim, But I am using replica =1 and (quorum = replica/2+1) AND quorum != (no of broker/2 +1). So in my case a single broker can also serve the client(1/2 +1 = 1) Thanks, Anuj -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-replicated-leveldb-with-2

Re: ActiveMQ replicated leveldb with 2 brokers(replica = 1)

2015-07-23 Thread James A. Robinson
-- > View this message in context: > http://activemq.2283324.n4.nabble.com/ActiveMQ-replicated-leveldb-with-2-brokers-replica-1-tp4699679p4699739.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >

Re: ActiveMQ replicated leveldb with 2 brokers(replica = 1)

2015-07-23 Thread khandelwalanuj
Any updates here. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-replicated-leveldb-with-2-brokers-replica-1-tp4699679p4699739.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

ActiveMQ replicated leveldb with 2 brokers(replica = 1)

2015-07-22 Thread khandelwalanuj
: http://activemq.2283324.n4.nabble.com/ActiveMQ-replicated-leveldb-with-2-brokers-replica-1-tp4699679.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: AMQ-5082 (replicated LevelDB)

2015-05-21 Thread James A. Robinson
I've had a dev cluster running for a little while now and twice I've seen interruptions where the cluster didn't recover, didn't select a new master. I had hoped AMQ-5082 fixed that issue but it looks like there might be additional problems. How many of you folks are runnin

Re: ActiveMQ Apollo and Replicated LevelDB Store

2015-04-23 Thread amit2103
Peter , Many thanks. I understood it now. So this means basically that Apollo is now not under development. Artemis will be the new release. Thanks for the help. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-Apollo-and-Replicated-LevelDB-Store

Re: ActiveMQ Apollo and Replicated LevelDB Store

2015-04-23 Thread Petter Nordlander
There is no such thing as ActiveMQ 6, yet. The code base of JBoss HornetQ was donated to the ActiveMQ community. That contribution was initially named ActiveMQ 6 (hence the git repo name) but is now known as ActiveMQ Artemis (Apollos twin sister in mythology). After the donation, a lot of work ha

Re: ActiveMQ Apollo and Replicated LevelDB Store

2015-04-23 Thread amit2103
ge in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-Apollo-and-Replicated-LevelDB-Store-tp4695502p4695529.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ Apollo and Replicated LevelDB Store

2015-04-23 Thread Christian Posta
there isn't any active development on Apollo at the moment... but if you're keen to use it, and willing to contribute back, i know there are a few others that would offer to help :) but at the moment apollo doesn't have replicated leveldb. you could also take a look at ActiveMQ Art

ActiveMQ Apollo and Replicated LevelDB Store

2015-04-23 Thread amit2103
Hi All, Sorry if this is a new bie question Can Apollo be used with replicated levelDB store? We recently benchmarked apollo and found it very suitable for our usecase. However we would like to have the option for HA and Failover. Is there any doc explaining integrating replicated levelDB with

Re: Creating a Network of Replicated LevelDB broker clusters

2015-03-31 Thread James A. Robinson
On Tue, Mar 31, 2015 at 1:32 PM, wonderkind wrote: > What version of ActiveMQ are you running with? I am working with 5.11.1.. I'm running 5.11.1 plus the patch in ticket AMQ-5082. Jim

Re: Creating a Network of Replicated LevelDB broker clusters

2015-03-31 Thread wonderkind
iveMQ]" mailto:ml-node+s2283324n4694156...@n4.nabble.com>> Date: Tuesday, March 31, 2015 at 12:37 PM To: SNEI mailto:kevin...@am.sony.com>> Subject: Re: Creating a Network of Replicated LevelDB broker clusters On Tue, Mar 31, 2015 at 12:08 PM, wonderkind <[hidden email]> wrote: >

Re: Creating a Network of Replicated LevelDB broker clusters

2015-03-31 Thread James A. Robinson
On Tue, Mar 31, 2015 at 12:08 PM, wonderkind wrote: > > Is your broker running pretty clean when you send messages through the fabric of network of replicated master/slaves? Yes, though I'm only running the examples/openwire/swissarmy producer/consumer example using the defaults. On the 2nd cl

Re: Creating a Network of Replicated LevelDB broker clusters

2015-03-31 Thread wonderkind
To: SNEI mailto:kevin...@am.sony.com>> Subject: Re: Creating a Network of Replicated LevelDB broker clusters On Mon, Mar 30, 2015 at 4:57 PM, wonderkind <[hidden email]> wrote: > Do you have a sample activemq.xml configuration file you could share for your 3 x 3 cluster? I am tr

Re: Creating a Network of Replicated LevelDB broker clusters

2015-03-30 Thread James A. Robinson
On Mon, Mar 30, 2015 at 4:57 PM, wonderkind wrote: > Do you have a sample activemq.xml configuration file you could share for your 3 x 3 cluster? I am trying to do the same, with everything running on my Mac initially. On the amq-prod-1 cluster my network connector url is masterslave:(tcp://am

Re: Creating a Network of Replicated LevelDB broker clusters

2015-03-30 Thread wonderkind
NEI mailto:kevin...@am.sony.com>> Subject: Re: Creating a Network of Replicated LevelDB broker clusters On Mon, Mar 30, 2015 at 2:09 PM, wonderkind <[hidden email]> wrote: > How big is your network? Do you see any significant degradation with a > network of replicated levelDB brokers? I

Re: Creating a Network of Replicated LevelDB broker clusters

2015-03-30 Thread James A. Robinson
On Mon, Mar 30, 2015 at 2:09 PM, wonderkind wrote: > How big is your network? Do you see any significant degradation with a > network of replicated levelDB brokers? I haven't started stress testing the configuration yet, the current plan is to have network two clusters of thr

Re: Creating a Network of Replicated LevelDB broker clusters

2015-03-30 Thread wonderkind
Hi Jim, How big is your network? Do you see any significant degradation with a network of replicated levelDB brokers? Please see my comment below in red on my original post on the forum. Thanks. Kevin From: "James A. Robinson-2 [via ActiveMQ]" mailto:ml-node+s2283324n469

Re: Creating a Network of Replicated LevelDB broker clusters

2015-03-28 Thread James A. Robinson
On Fri, Mar 27, 2015 at 11:48 AM, wonderkind wrote: > Has anyone ever created a network of brokers, with each broker been a > Master/Slave replicated LevelDB store? > My understanding has been that, for replicated LevelDB, you need a set of three brokers, one master two slave, in orde

Creating a Network of Replicated LevelDB broker clusters

2015-03-28 Thread wonderkind
Has anyone ever created a network of brokers, with each broker been a Master/Slave replicated LevelDB store? Is this possible? Any problem with stability during new master election? Thanks

Re: Replicated LevelDB status (production worthy?)

2015-03-11 Thread James A. Robinson
On Wed, Mar 11, 2015 at 3:28 PM, Gary Tully wrote: > I think you are correct here. The rebuild should work so long as the > session has not expired. The nodes in the zookeeper group tree are ephemeral, so they disappear once the session is lost. I think the underlying client manages to re-establ

Re: Replicated LevelDB status (production worthy?)

2015-03-11 Thread Gary Tully
I think you are correct here. The rebuild should work so long as the session has not expired. On 11 March 2015 at 20:51, James A. Robinson wrote: > So I think the problem is that > > org.linkedin.zookeeper.tracker.ZooKeeperTreeTracker > > doesn't appear to handle the event of a session disconnect

Re: Replicated LevelDB status (production worthy?)

2015-03-11 Thread James A. Robinson
So I think the problem is that org.linkedin.zookeeper.tracker.ZooKeeperTreeTracker doesn't appear to handle the event of a session disconnect. Or at least the version used by ActiveMQ doesn't... If I force tree to be rebuilt on a reconnect, my earlier unit test passes: https://github.com/jimrob

Re: Replicated LevelDB status (production worthy?)

2015-03-10 Thread James A. Robinson
Working my way through the code and the debug log from the test, I see that the ZooKeeper group is getting emptied out after session expiration occurs: before the timeout: 2015-03-10 12:09:50,614 | DEBUG | ActiveMQ Task | ZooKeeper group for 01 changed: Map(foo -> ListBuffer((00,{

Re: Replicated LevelDB status (production worthy?)

2015-03-07 Thread James A. Robinson
On Wed, Mar 4, 2015 at 12:29 PM, James A. Robinson wrote: > Thanks. I'm pretty sure AMQ-5082 is what I'm seeing on 5.11.1. > I'll see if I can get the cycles to set up a unit test to replicate the > issue. I think I've got the use a case represented for https://issues.apache.org/jira/browse/AMQ-

Re: Replicated LevelDB status (production worthy?)

2015-03-04 Thread James A. Robinson
; wrote: > >> Hi folks, >> >> While testing out ActiveMQ I've been building clusters >> VirtualBox. I've been spinning up two 3-node Replicated >> LevelDB stores on my laptop. >> >> I've noticed that the clusters can sometimes get into a

Re: Replicated LevelDB status (production worthy?)

2015-03-04 Thread Tim Bain
other). On Mar 3, 2015 8:23 AM, "James A. Robinson" wrote: > Hi folks, > > While testing out ActiveMQ I've been building clusters > VirtualBox. I've been spinning up two 3-node Replicated > LevelDB stores on my laptop. > > I've noticed that the clus

Replicated LevelDB status (production worthy?)

2015-03-03 Thread James A. Robinson
Hi folks, While testing out ActiveMQ I've been building clusters VirtualBox. I've been spinning up two 3-node Replicated LevelDB stores on my laptop. I've noticed that the clusters can sometimes get into a state where none of the nodes is the master. It appears to me as thoug

JDBC vs Replicated LevelDB data store performance

2015-02-09 Thread will1
We are currently selecting a suitable data store for our ActiveMQ implementation.Are there any benchmarks or performance comparisons for the JDBC and replicated LevelDB data store options, other than LevelDB is more performant? -- View this message in context: http://activemq.2283324.n4

Re: Replicated LevelDB cluster: failed to page in queue messages

2015-01-06 Thread Takawale, Pankaj
ill batch > > > > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Replicated-LevelDB-cluster-failed-to-page-in-queue-messages-tp4688222.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >

Re: Client side changes required to use replicated levelDB

2015-01-05 Thread Torsten Mielke
As per http://activemq.apache.org/replicated-leveldb-store.html there is no additional requirements on the client. Clients still need to know the location and address of each broker and specify it inside the failover protocol (or use other forms of discovery such as multicast). In JBoss Fuse

Replicated LevelDB

2014-12-23 Thread James Green
Ref http://activemq.apache.org/replicated-leveldb-store.html Is this page actually detailing that Zookeeper will maintain one master BROKER and that writes through this broker will be replicated to slave brokers? I read - interpreted - the URL and title as being about leveldb data being

Re: Replicated LevelDB Store port over encrypted connection

2014-12-16 Thread artnaseef
I'm having a little trouble connecting the dots with the source code, but it does appear that setting is using an ActiveMQ transport connection. Can you try using ssl: and report back the results? -- View this message in context: http://activemq.2283324.n4.nabble.com/Replicated-LevelDB-

Replicated LevelDB cluster: failed to page in queue messages

2014-12-01 Thread pankajtakawale
batch -- View this message in context: http://activemq.2283324.n4.nabble.com/Replicated-LevelDB-cluster-failed-to-page-in-queue-messages-tp4688222.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ stucks with replicated LevelDB on startup.

2014-11-18 Thread Tim Bain
this message in context: > http://activemq.2283324.n4.nabble.com/ActiveMQ-stucks-with-replicated-LevelDB-on-startup-tp4687634p4687662.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >

Re: ActiveMQ stucks with replicated LevelDB on startup.

2014-11-18 Thread guerra
Never mind. There is a issue already open against it. Fixed on 5.11 https://issues.apache.org/jira/browse/AMQ-5105 -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-stucks-with-replicated-LevelDB-on-startup-tp4687634p4687662.html Sent from the ActiveMQ - User

ActiveMQ stucks with replicated LevelDB on startup.

2014-11-18 Thread guerra
Hi I've just setup a three ActiveMQ 5.10 nodes in master/slave configuration with replicated LevelDB. I've also setup the Zookeeper server in the same nodes. Zookeeper seems running pretty much okay as far I can see. When I crank up the first ActiveMQ node, it stops waiting for anoth

Re: ActiveMQ replicated leveldb update ordering with zookeeper.

2014-11-06 Thread Steven Turner
xt: http://activemq.2283324.n4.nabble.com/ActiveMQ-replicated-leveldb-update-ordering-with-zookeeper-tp4686932p4687042.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ replicated leveldb update ordering with zookeeper.

2014-11-06 Thread Steven Turner
Did anyone get a chance to look at this ? -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-replicated-leveldb-update-ordering-with-zookeeper-tp4686932p4687014.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ replicated leveldb update ordering with zookeeper.

2014-11-05 Thread Steven Turner
Please respond . -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-replicated-leveldb-update-ordering-with-zookeeper-tp4686932p4686961.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Replicated LevelDB : Manually copying data from one leveldb store to another

2014-11-05 Thread khandelwalanuj
leveldb/stash/064004c6.log Activemq vendors, please respond about above observations. Thanks, Anuj -- View this message in context: http://activemq.2283324.n4.nabble.com/Replicated-LevelDB-Manually-copying-data-from-one-leveldb-store-to-another-tp4686931p4686950.html Sent from th

Re: Zookeeper for replicated LevelDB

2014-11-04 Thread arp57
>From the documentation here <http://activemq.apache.org/replicated-leveldb-store.html> : All messaging operations which require a sync to disk will wait for the update to be replicated to a quorum of the nodes before completing. So if you configure the store with replicas="3&qu

Re: Replicated LevelDB : Manually copying data from one leveldb store to another

2014-11-04 Thread tbain98
se questions on the LevelDB mailing list instead. khandelwalanuj wrote > Hi, > > Is it possible to copy data from leveldb store of one broker to another > broker while using replicated leveldb. > > For ex. : Let's say 3 brokers are running fine and replicating the data

sync option in replicated leveldb configuration

2014-11-04 Thread Steven Turner
will send this message to other slaves. what does the parameter signifies ? Thanks, Steven -- View this message in context: http://activemq.2283324.n4.nabble.com/sync-option-in-replicated-leveldb-configuration-tp4686934.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

ActiveMQ replicated leveldb update ordering with zookeeper.

2014-11-04 Thread Steven Turner
l ? As mentioned here http://activemq.apache.org/replicated-leveldb-store.html that the slave with the latest update gets promoted to become the master. How does zk knows which broker has the latest update ? Does zk get notifications from the slaves for each update ? Thanks, Steven -- View this m

Replicated LevelDB : Manually copying data from one leveldb store to another

2014-11-04 Thread khandelwalanuj
Hi, Is it possible to copy data from leveldb store of one broker to another broker while using replicated leveldb. For ex. : Let's say 3 brokers are running fine and replicating the data. I suddenly stop one slave broker. After some time before starting the slave Can I manually copy le

Re: Zookeeper for replicated LevelDB

2014-11-02 Thread khandelwalanuj
Please respond -- View this message in context: http://activemq.2283324.n4.nabble.com/Zookeeper-for-replicated-LevelDB-tp4686797p4686882.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Zookeeper for replicated LevelDB

2014-10-31 Thread khandelwalanuj
says that we (let say 3) ActiveMQ brokers belong to same environment and fighting to become master. Thanks, Anuj -- View this message in context: http://activemq.2283324.n4.nabble.com/Zookeeper-for-replicated-LevelDB-tp4686797p4686824.html Sent from the ActiveMQ - User mailing list a

Re: Potential Bug in Master-Slave with Replicated LevelDB Store

2014-10-30 Thread Tim Bain
er but I guess >> the >> access via JNI may be less optimal than using an embedded Java (or Scala) >> engine. >> >> >> >> >> -- >> View this message in context: >> http://activemq.2283324.n4.nabble.com/Potential-Bug-in-Master-Slave-with-Replicated-LevelDB-Store-tp4686450p4686583.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> > >

Re: Zookeeper for replicated LevelDB

2014-10-30 Thread Hiram Chirino
q.apache.org/replicated-leveldb-store.html. > > What does zookeeper do other than election of master from ActiveMQ brokers ? > Who takes care of replicating data from master broker to other slaves ? > > > Thanks, > Anuj > > > > > -- > View this message in context:

Zookeeper for replicated LevelDB

2014-10-30 Thread khandelwalanuj
Hi, I have gone through http://activemq.apache.org/replicated-leveldb-store.html. What does zookeeper do other than election of master from ActiveMQ brokers ? Who takes care of replicating data from master broker to other slaves ? Thanks, Anuj -- View this message in context: http

Client side changes required to use replicated levelDB

2014-10-29 Thread khandelwalanuj
Hi, Does clients need to make any changes or include any jars to connect to ActiveMQ broker nodes which are using replicated levelDB. Since broker instances connect to zookeeper to use replicated leveldb so just curious to know are there any changes required on client side as well apart from

Re: Potential Bug in Master-Slave with Replicated LevelDB Store

2014-10-21 Thread Tim Bain
; -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Potential-Bug-in-Master-Slave-with-Replicated-LevelDB-Store-tp4686450p4686583.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >

Re: Potential Bug in Master-Slave with Replicated LevelDB Store

2014-10-21 Thread uromahn
access via JNI may be less optimal than using an embedded Java (or Scala) engine. -- View this message in context: http://activemq.2283324.n4.nabble.com/Potential-Bug-in-Master-Slave-with-Replicated-LevelDB-Store-tp4686450p4686583.html Sent from the ActiveMQ - User mailing list archive at

Re: Potential Bug in Master-Slave with Replicated LevelDB Store

2014-10-21 Thread uromahn
Quick update: I have enabled G1GC for the JVM running the broker and since then had no problem again. The master broker stays master even under very heavy load. So, my suggestion and recommendation when using replicated LevelDB would be to use the G1 garbage collector significantly reducing

Re: Potential Bug in Master-Slave with Replicated LevelDB Store

2014-10-21 Thread uromahn
that and "dump" the messages there rather than in the log file. I will run some more tests by changing the GC to G1 hopefully avoiding a full GC and the demotion of the broker to slave forcing a failover. -- View this message in context: http://activemq.2283324.n4.nabble.com/Potential-B

Re: Potential Bug in Master-Slave with Replicated LevelDB Store

2014-10-20 Thread Tim Bain
gt; After that I can see a ton of exceptions and error messages saying that the > replicated store has stopped and similar. After some time, it looks the > broker amq1 has re-stabilized itself and reporting to have been started as > slave. > > I don't know what exactly is

Re: Potential Bug in Master-Slave with Replicated LevelDB Store

2014-10-20 Thread uromahn
oing on, but it appears that something is wrong with the replicated LevelDB which needs more investigation. -- View this message in context: http://activemq.2283324.n4.nabble.com/Potential-Bug-in-Master-Slave-with-Replicated-LevelDB-Store-tp4686450p4686548.html Sent from the ActiveMQ - User maili

Re: Potential Bug in Master-Slave with Replicated LevelDB Store

2014-10-17 Thread Tim Bain
is that it is likely to > be > a network problem and not an issue within ActiveMQ. > > I will follow-up in case the issue shows up again. > > Until then, sorry for potentially raising a false alarm. > > > > -- > View this message in context: > http://activemq.2

Re: Potential Bug in Master-Slave with Replicated LevelDB Store

2014-10-17 Thread uromahn
raising a false alarm. -- View this message in context: http://activemq.2283324.n4.nabble.com/Potential-Bug-in-Master-Slave-with-Replicated-LevelDB-Store-tp4686450p4686492.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Potential Bug in Master-Slave with Replicated LevelDB Store

2014-10-17 Thread uromahn
my original post for brevity) -- View this message in context: http://activemq.2283324.n4.nabble.com/Potential-Bug-in-Master-Slave-with-Replicated-LevelDB-Store-tp4686450p4686488.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Potential Bug in Master-Slave with Replicated LevelDB Store

2014-10-16 Thread Tim Bain
gt; Three broker form an active/passive cluster using replicated LevelDB store. > I have installed native LevelDB 1,7.0 accessing it via the JNDI driver. > The two cluster are forming a network of broker. > The "networkConnectors" are defined in the activemq.xml files in only one >

  1   2   >