What consistency level and replication factor were you using ? UnavailableException is thrown when less the consistency level nodes are UP.
Cheers ----------------- Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 11/06/2012, at 10:19 PM, Prakrati Agrawal wrote: > Dear all > > I had a 2 node cluster with replication factor set to 1. Then I changed the > replication factor to 2 and brought down one node so that only 1 node was up > and running. Then I ran my Hector code on the running node. But it gave me > Unavailable Exception. I also had a Thrift code which ran successfully. I am > confused as to why the Hector code did not run. Did I miss something? Please > help me. > > Thanks and Regards > Prakrati > > > This email message may contain proprietary, private and confidential > information. The information transmitted is intended only for the person(s) > or entities to which it is addressed. Any review, retransmission, > dissemination or other use of, or taking of any action in reliance upon, this > information by persons or entities other than the intended recipient is > prohibited and may be illegal. If you received this in error, please contact > the sender and delete the message from your system. > > Mu Sigma takes all reasonable steps to ensure that its electronic > communications are free from viruses. However, given Internet accessibility, > the Company cannot accept liability for any virus introduced by this e-mail > or any attachment and you are advised to use up-to-date virus checking > software.