Ok, i figured out the issue. One of my book keeper server is down (i have only 3 book keeper servers), so hedwig is failing with the Message "Not enough book keepers", but the client side error message i am getting is
org.apache.hedwig.exceptions.PubSubException$ServiceDownException: Server responded with a status code of: COMPOSITE. Above error message on client side is really misleading. BTW, i am using release-4.1.0, when is the next release scheduled?? Regards, Suman On 3 January 2013 23:53, Ivan Kelly <[email protected]> wrote: > Hi suman, > > What version of hedwig is this? trunk? What do the logs say? You > should find them in hedwig-server/logs if you are using trunk and > start the server with hedwig-daemon.sh, otherwise they should be > printed to the console. > > -Ivan > > > > HedWigClient client = new HedwigClient(conf) > > > > Subscriber sub = client.getSubscriber() > > > > if(!sub.hasSubscription(topic, subscription)) { > > sub.subscriber(topic, subscription, CreateOrAttach.CREATE_OR_ATTACH) > > } > >
