Thanks for the update, I am looking forward for the 4.2.0 release Regards, Suman
On 5 January 2013 01:30, Sijie Guo <guosi...@gmail.com> wrote: > Suman, > > there is a JIRA already resolve the CompositeException into meaningful > output : https://issues.apache.org/jira/browse/BOOKKEEPER-394 > > This fix would be rolled out in 4.2.0 release recently. > > -Sijie > > > On Fri, Jan 4, 2013 at 4:32 AM, suman p <sumanp0...@gmail.com> wrote: > >> 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 <iv...@apache.org> 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) >>> > } >>> >>> >> >