flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-6278) After "FATAL" message in logs taskmanager still working
Date Fri, 07 Apr 2017 09:44:42 GMT
Andrey created FLINK-6278:

             Summary: After "FATAL" message in logs taskmanager still working
                 Key: FLINK-6278
                 URL: https://issues.apache.org/jira/browse/FLINK-6278
             Project: Flink
          Issue Type: Bug
    Affects Versions: 1.2.0
            Reporter: Andrey

Steps to reproduce:
* create job which cause OOM. For example for each incoming message create byte array and
store in memory:
        }).flatMap(new RichFlatMapFunction<String, AggregatedHash>() {

            private List<byte[]> oomList = new ArrayList<>();

            public void flatMap(String value, Collector<AggregatedHash> out) throws
Exception {
                if (oomHost != null && oomHost.equals(host)) {
                    //multiply speed towards oom
                    oomList.add(new byte[100 * 1024]);
* after some time task manager hangs
* according to logs task manager will be disconnected from zookeeper (ha mode was configured)
and job manager
* then big log entry:
2017-04-07 09:13:32,893 ERROR org.apache.flink.runtime.taskmanager.TaskManager           
======================      FATAL      =======================

A fatal error occurred, forcing the TaskManager to shut down: Task 'Flat Map -> Sink: Unnamed
(2/2)' did not react to cancelling signal in the last 30 seconds, but is stuck in method:
* TM still running.

Thread dump attached.

* shutdown task manager

This message was sent by Atlassian JIRA

View raw message