IllegalArgumentException excpetion : Path cannot be null

2010-08-26 Thread Yatir Ben Shlomo
I am running a zookeeper ensemble of 3 zookeeper instances and established a solrCloud to work with it (2 masters , 2 slaves) on one of the masters I keep noticing ZooKeeper related exceptions which I can't understand: And the other is java.lang.IllegalArgumentException: Path cannot be null (Path

Re: Zookeeper stops

2010-08-26 Thread Ted Yu
I saw the same error in hbase-hadoop-zookeeper-X.log zookeeper-3.2.2 is used and managed by HBase. How do I use a directory outside of /tmp for zookeeper persistence ? Thanks On Thu, Aug 19, 2010 at 1:42 PM, Patrick Hunt wrote: > No. You configure it in the server configuration file. > > Patri

Connection imbalance leads to overloaded ZK instances

2010-08-26 Thread Travis Crawford
Hey ZooKeepers - A while back we patched in the awesome ``mntr`` change, and started publishing those stats to Ganglia. They're super handy :D Looking at those graphs we see connections are not evenly distributed among cluster members, where some have thousands of connections and others are large

Re: Zookeeper stops

2010-08-26 Thread Mahadev Konar
HI Ted, You can take a look at http://hadoop.apache.org/zookeeper/docs/r3.3.1/zookeeperAdmin.html To see how to set up directory outside of /tmp. I am not sure if you zookeeper instance is part of hbase installation or not. In that case you would be better off posting this question on hbase list

Exception causing close of session

2010-08-26 Thread Ted Yu
Hi, zookeeper-3.2.2 is used out of HBase 0.20.5 Linux sjc1-.com 2.6.18-92.el5 #1 SMP Tue Jun 10 18:51:06 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux In hbase-hadoop-zookeeper-sjc1-cml-grid00.log, I see a lot of the following: 2010-08-26 22:58:01,930 INFO org.apache.zookeeper.server.NIOServerCnxn: cl

Re: Exception causing close of session

2010-08-26 Thread Patrick Hunt
> Client has seen zxid 0xfa4 our last zxid is 0x42 Someone reset the zk server database without restarting the clients. As a result the client is "forward" in time relative to the cluster. Patrick On 08/26/2010 04:03 PM, Ted Yu wrote: Hi, zookeeper-3.2.2 is used out of HBase 0.20.5 Linux sj

Receiving create events for self with synchronous create

2010-08-26 Thread Todd Nine
Hi all, I'm running into a strange issue I could use a hand with. I've implemented leader election, and this is working well. I'm now implementing a follower queue with ephemeral nodes. I have an interface IClusterManager which simply has the api "clusterChanged". I don't care if nodes are ad

client notification of partition in ensemble

2010-08-26 Thread Ryan King
I'm new to zookeeper so forgive me if this question is naive, but I can't seem to find an answer in the documentation or archives. If a zookeeper node is partitioned from the rest of the ensemble will clients connected to that node know? -ryan

Re: Receiving create events for self with synchronous create

2010-08-26 Thread Mahadev Konar
Hi Todd, The code that you point to, I am not able to make out the sequence of steps. Can you be more clear on what you are trying to do in terms of zookeeper api? Thanks mahadev On 8/26/10 5:58 PM, "Todd Nine" wrote: Hi all, I'm running into a strange issue I could use a hand with. I'v

Re: client notification of partition in ensemble

2010-08-26 Thread Mahadev Konar
Yes, the zookeeper node will stop accepting clients as soon as it disconnects. So the client will get a disconnect. Thanks mahadev On 8/26/10 6:36 PM, "Ryan King" wrote: > I'm new to zookeeper so forgive me if this question is naive, but I > can't seem to find an answer in the documentation or

Re: Receiving create events for self with synchronous create

2010-08-26 Thread Todd Nine
Sure thing. The FollowerWatcher class is instantiated by the IClusterManager implementation.It then performs the following FollowerWatcher.init() which is intended to do the following. 1. Create our follower node so that other nodes know we exist at path "/com/spidertracks/aviator/cluster/fo