Hi,
In our testing of Red Hat Cluster, we could reproduce the NTP impact by
jumping the clock backwards and forwards, just using the date command in a
tight-ish loop:
use strict;
my $dir = 1;
while (1) {
jump_time( $dir );
$dir = $dir * -1;
}
sub jump_time {
my ($dir) = @_;
my
unspecified starting point. Although re-reading that now, I might
have applied wishful thinking to my interpretation.
regards,
Martin
On 19 August 2010 16:13, Benjamin Reed br...@yahoo-inc.com wrote:
do you have a pointer to those timers?
thanx
ben
On 08/18/2010 11:58 PM, Martin Waite wrote
Hi,
I have spent a few hours getting zookeeper election to work on debian
squeeze.
The zookeeper log contained the following error when trying to run an
election:
2010-08-16 11:14:51,316 - WARN [WorkerSender Thread:quorumcnxmana...@361] -
Cannot open channel to 2 at election address
a few hours stuck on this myself last week.
-Ivan
On 16 Aug 2010, at 13:28, Martin Waite wrote:
Hi,
I have spent a few hours getting zookeeper election to work on debian
squeeze.
The zookeeper log contained the following error when trying to run an
election:
2010-08-16 11:14:51,316
-check from src/c, or ant
test-core-cppunit from the main dir.
On Tue, Aug 3, 2010 at 7:51 PM, Martin Waite waite@gmail.com wrote:
Hi Sergey,
Thanks for the hints.
1) I cannot find any ZK server logs. I have no tmp directory inside
build
directory. This sounds bad.
2) I
(ZooKeeperServer) running
on your machine? That might cause some issues with the tests.
Thanks
mahadev
On 7/14/10 8:03 AM, Martin Waite waite@gmail.com wrote:
Hi,
I am attempting to build the C client on debian lenny.
autoconf, configure, make and make install all appear to work
and then run tests against that ? Or are the
underlying libraries being tested without using a zk server ?
regards,
Martin
On 3 August 2010 13:02, Martin Waite waite@gmail.com wrote:
Hi Mahadev,
Sorry for the delay in replying: I have been away.
I have rebuilt my debian lenny machine
to
update the README file in order to avoid this problem in the future.
Thanks.
On Tue, Jul 13, 2010 at 8:09 PM, Martin Waite waite@gmail.com wrote:
Hi,
I am trying to build the c client on debian lenny for zookeeper 3.3.1.
autoreconf -if
configure.ac:33: warning: macro
that it can be done without
cppunit being installed but there has been a open bug regarding this. So
cppunit is required as of now.
Thanks
mahadev
On 7/13/10 10:09 AM, Martin Waite waite@gmail.com wrote:
Hi,
I am trying to build the c client on debian lenny for zookeeper 3.3.1
Hi,
I am attempting to build the C client on debian lenny.
autoconf, configure, make and make install all appear to work cleanly.
I ran:
autoreconf -if
./configure
make
make install
make run-check
However, the unit tests fail:
$ make run-check
make zktest-st zktest-mt
make[1]: Entering
Hi,
I am trying to build the c client on debian lenny for zookeeper 3.3.1.
autoreconf -if
configure.ac:33: warning: macro `AM_PATH_CPPUNIT' not found in library
configure.ac:33: warning: macro `AM_PATH_CPPUNIT' not found in library
configure.ac:33: error: possibly undefined macro:
Hi Ted,
If the links do not work for us for zk, then they are unlikely to work with
any other solution - such as trying to stretch Pacemaker or Red Hat Cluster
with their multicast protocols across the links.
If the links are not good enough, we might have to spend some more money to
fix this.
these writes small is also critical.
Patrick
Martin Waite wrote:
Hi Ted,
If the links do not work for us for zk, then they are unlikely to work
with
any other solution - such as trying to stretch Pacemaker or Red Hat
Cluster
with their multicast protocols across the links.
If the links
, 2010 at 1:50 AM, Martin Waite waite@googlemail.com
wrote:
Is this a viable approach, or am I taking Zookeeper out of its
application
domain and just asking for trouble ?
Hi,
We're attempting to build a multi-site cluster:
1. web-tier and application tier is active in all sites
2. only one database is active at a time- normally in the designated
primary site
We want to use 3 sites to maintain a quorum. So, if the Primary site loses
sight of both of the
) considerations and considerable hardware and
time investments.
Good luck!
On Sat, Mar 6, 2010 at 1:50 AM, Martin Waite waite@googlemail.com
wrote:
Is this a viable approach, or am I taking Zookeeper out of its
application
domain and just asking for trouble ?
--
Ted Dunning, CTO
Hi,
Is there any documentation describing the network requirements for running
Zookeeper ?
Our network admin has baffled me with all the reasons that multicast might
not work in our environment, and then I realised that I do not know what
network support Zookeeper requires.
regards,
Martin
, Martin Waite waite@googlemail.com
wrote:
Our network admin has baffled me with all the reasons that multicast
might
not work in our environment, and then I realised that I do not know what
network support Zookeeper requires.
question would be how many elements you expect to be in that card lock
table. If it is less than 100K, ZK should work pretty well.
If you need more than that, you might consider putting locks for many cards
in a single file.
On Wed, Feb 24, 2010 at 11:10 AM, Martin Waite waite
be
excessive ?
regards,
Martin
On 25 February 2010 08:07, Martin Waite waite@googlemail.com wrote:
Hi
Usually, this would hold about 2k items, pushing to 10k peaks.
My current understanding is that I cannot lock a node while I consider its
contents, and so only the garbage remover would
email.
On Thu, Feb 25, 2010 at 2:50 AM, Martin Waite waite@googlemail.com
wrote:
But to do this, would I need to call sync between steps 2 and 3 to ensure
the node FN was up-to-date - assuming I do not know if I am connected
to
a
primary ZK instance ? Would 10K sync calls within a 2
an inherent model for leases in the zookeeper library itself.
To implement leases you will have to implement them at your application
side
with timeouts triggers (lease triggers) leading to session close at the
client.
Thanks
mahadev
On 2/24/10 3:40 AM, Martin Waite waite@googlemail.com
Hi,
I take the point that the watch is useful for stopping clients unnecessarily
pestering the zk nodes.
I think that this is something I will have to experiment with and see how it
goes. I only need to place about 10k locks per minute, so I am hoping that
whatever approach I take is well
requirements will stretch Zookeeper even if I take a heavy
handed approach.
regards,
Martin
On 24 February 2010 16:53, Patrick Hunt ph...@apache.org wrote:
Martin Waite wrote:
The watch mechanism is a new feature for me. This gives me a delayed
notification that something changed in the lock
Hi,
I have a set of resources each of which has a unique identifier. Each
resource element must be locked before it is used, and unlocked afterwards.
The logic of the application is something like:
lock any one element;
if (none locked) then
exit with error;
else
get resource-id from
{i} if its been able to
create /locks/resource_{i}/locks.
Would that work?
Thanks
mahadev
On 2/23/10 4:05 AM, Martin Waite waite@googlemail.com wrote:
Hi,
I have a set of resources each of which has a unique identifier. Each
resource element must be locked before it is used
26 matches
Mail list logo