Hi Justin,
Do you have master/agent logs from a time when these tasks would have gone
missing from the Mesos UI?

What location are you using for the work_dir on the agents?

Cheers,
Greg


On Mon, Apr 11, 2016 at 1:41 PM, Justin Ryan <jur...@ziprealty.com> wrote:

> Update : I noticed one of the clusters had a framework registered before I
> cleared ZK, but is now seeing the same failure at scheduler start.
>
> When the brokers do launch, in recent times, they disappear from mesos
> within a day, although they keep running.  I have another thread on this
> list talking about that which it’s unclear if is directly related – I had
> the same happen to flume launched by marathon.
>
> From: Justin Ryan <jur...@ziprealty.com>
> Reply-To: "user@mesos.apache.org" <user@mesos.apache.org>
> Date: Monday, April 11, 2016 at 1:35 PM
>
> To: "user@mesos.apache.org" <user@mesos.apache.org>
> Subject: Re: mesos/kafka issues (org.apache.mesos.Scheduler)
>
> I have tried it without the &&, and i can ‘broker stop’, then ‘broker
> start’ with no change, though I’ll make sure on my next zk clear to be sure
> to try without the &&
>
> I am, indeed, not seeing the framework at all, and when this happens, the
> last line of output running the scheduler is:
>
>   I0411 13:34:37.174973 14368 sched.cpp:336] No credentials provided.
> Attempting to register without authentication
>
> When it works, the next step is basically, ‘registered framework
> XXXX-XXXX-XXX-XXX'
>
> From: Kevin Lu <ke...@netsil.com>
> Reply-To: "user@mesos.apache.org" <user@mesos.apache.org>
> Date: Monday, April 11, 2016 at 1:33 PM
> To: "user@mesos.apache.org" <user@mesos.apache.org>
> Subject: Re: mesos/kafka issues (org.apache.mesos.Scheduler)
>
> Can you try it step-by-step without the "&&"?
>
> Also, IIRC, mesos creates separate tasks for the kafka framework and the
> broker. Are you not even seeing the framework in the mesos UI?
>
> On Mon, Apr 11, 2016 at 1:29 PM, Justin Ryan <jur...@ziprealty.com> wrote:
>
>> Hi, folks!
>>
>> In pursuit of a mesos-based solution for distributed logging and
>> processing, I’ve been experimenting with the mesos/kafka project (
>> github.com/mesos/kafka).  I had great success for some weeks during
>> initial testing, and am now having trouble getting brokers to launch at all.
>>
>> This code has been adopted by the mesos project, but also as far as I can
>> tell the meat of it relies on functionality from org.apache.mesos by
>> implementing the Scheduler interface.
>>
>> Let’s say, for instance, I run:
>>
>>   ./kafka-mesos.sh broker add 0..2 --options
>> log.retention.hours=1,log.retention.bytes.per.topic=1073741824 &&
>> ./kafka-mesos.sh broker start 0..2
>>
>> The broker start simply times out and status never changes.  I’ve cleared
>> ZK a number of times, which is the way I’ve been advised to get out of
>> wierd mesos states in the past.  The mesos UI never shows an job in
>> STARTING or other state, or a failed / ended job.
>>
>> Any idea what I might be running into? This was working consistently for
>> weeks on end and recently stopped working altogether about 95% of the
>> time.  When it works, it only sporadically works.
>>
>> TIA,
>>
>> JR
>> ------------------------------
>>
>> P Please consider the environment before printing this e-mail
>> The information in this electronic mail message is the sender's
>> confidential business and may be legally privileged. It is intended solely
>> for the addressee(s). Access to this internet electronic mail message by
>> anyone else is unauthorized. If you are not the intended recipient, any
>> disclosure, copying, distribution or any action taken or omitted to be
>> taken in reliance on it is prohibited and may be unlawful. The sender
>> believes that this E-mail and any attachments were free of any virus, worm,
>> Trojan horse, and/or malicious code when sent. This message and its
>> attachments could have been infected during transmission. By reading the
>> message and opening any attachments, the recipient accepts full
>> responsibility for taking protective and remedial action about viruses and
>> other defects. The sender's employer is not liable for any loss or damage
>> arising in any way.
>>
>
>

Reply via email to