bookkeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sijie Guo <guosi...@gmail.com>
Subject Re: COMPOSITE exception
Date Fri, 04 Jan 2013 20:00:38 GMT
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 <sumanp0309@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 <ivank@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)
>> >  }
>>
>>
>

Mime
View raw message