samza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jagadish Venkatraman <jagadish1...@gmail.com>
Subject Re: Exit code 248 from YARN and InterruptedException
Date Tue, 31 Oct 2017 17:34:02 GMT
Hi Xiaochuan,

Is there any exception in your custom SystemConsumer? Or, are you saying
that your consumer is being interrupted externally?

The entire log will be helpful.

Thanks,
Jagdish

On Mon, Oct 30, 2017 at 9:14 AM, XiaoChuan Yu <xiaochuan.yu@kik.com> wrote:

> Hi,
>
> I'm trying to debug some problem with a Samza job that loads data from a
> Cassandra database into Kafka via a custom System implementation.
> The System makes use of BlockingEnvelopeMap.
>
> What I see in the logs is InterruptedException from put calls from the
> class that inherited BlockingEnvelopeMap and then the container exiting
> with code 248:
>
> java.lang.InterruptedException: null
>         at
> java.util.concurrent.locks.AbstractQueuedSynchronizer.
> acquireInterruptibly(AbstractQueuedSynchronizer.java:1220)
>         at
> java.util.concurrent.locks.ReentrantLock.lockInterruptibly(
> ReentrantLock.java:335)
>         at
> java.util.concurrent.LinkedBlockingQueue.put(LinkedBlockingQueue.java:339)
>         at
> org.apache.samza.util.BlockingEnvelopeMap.putAll(
> BlockingEnvelopeMap.java:199)
> ...
>
> There is almost nothing else in the logs so I'm very puzzled on what could
> be causing this.
> Has anyone ever seen exit code 248?
> Could a problem with Kafka cause something like this?
>
> Thanks,
> Xiaochuan Yu
>



-- 
Jagadish V,
Graduate Student,
Department of Computer Science,
Stanford University

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message