Update: I've now used 1.1.3 versions as in the example in the docs and it
works!
Looks like these is an incompatibility with the latest logback.

Best regards,
Dmitry

On Wed, Feb 8, 2017 at 3:20 PM, Dmitry Golubets <dgolub...@gmail.com> wrote:

> Hi Robert,
>
> After reading that link I've added the missing log4j-over-slf4j.
> Now Flink is able to start, but I get another exception when uploading a
> job:
>
> NoClassDefFoundError: org/slf4j/event/LoggingEvent
>
> ...
>
>       at 
> org.apache.flink.api.scala.ClosureCleaner$.ensureSerializable(ClosureCleaner.scala:170)
>       at 
> org.apache.flink.api.scala.ClosureCleaner$.clean(ClosureCleaner.scala:164)
>
>
>
>
> Best regards,
> Dmitry
>
> On Tue, Feb 7, 2017 at 4:23 PM, Robert Metzger <rmetz...@apache.org>
> wrote:
>
>> Hi Dmitry,
>> Did you also check out this documentation page? https://ci.apache.org/pr
>> ojects/flink/flink-docs-release-1.2/monitoring/best_practice
>> s.html#use-logback-when-running-flink-on-a-cluster
>>
>> On Tue, Feb 7, 2017 at 1:07 PM, Dmitry Golubets <dgolub...@gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> documentation says: "Users willing to use logback instead of log4j can
>>> just exclude log4j (or delete it from the lib/ folder)."
>>>
>>> But then Flink just doesn't start. I added logback-classic 1.10 to it's
>>> lib folder, but still get NoClassDefFoundError:
>>> ch/qos/logback/core/joran/spi/JoranException
>>>
>>> Something else I should do? Or should I use an older logback version?
>>>
>>> Best regards,
>>> Dmitry
>>>
>>
>>
>

Reply via email to