zyh created FLINK-35343:
---------------------------

             Summary: NullPointerException in SourceReaderBase
                 Key: FLINK-35343
                 URL: https://issues.apache.org/jira/browse/FLINK-35343
             Project: Flink
          Issue Type: Bug
          Components: API / Core
    Affects Versions: 1.17.2
         Environment: flink(1.17.2), local mode and deploy on k8s

doris-flink-connector-1.17(1.6.0)

Doris(2.1)
h2.  
            Reporter: zyh
         Attachments: flinktask.png, servicelog.png

h2. operation

I used flink batch to read data from Doris and write to Doris. 

The flink job include two source task, one table join task and one sink task.

 
h2. exception stack
{code:java}
Caused by: java.lang.NullPointerException    at 
org.apache.flink.connector.base.source.reader.SourceReaderBase.finishCurrentFetch(SourceReaderBase.java:194)
    at 
org.apache.flink.connector.base.source.reader.SourceReaderBase.moveToNextSplit(SourceReaderBase.java:208)
    at 
org.apache.flink.connector.base.source.reader.SourceReaderBase.getNextFetch(SourceReaderBase.java:173)
    at 
org.apache.flink.connector.base.source.reader.SourceReaderBase.pollNext(SourceReaderBase.java:131)
    at 
org.apache.flink.streaming.api.operators.SourceOperator.emitNext(SourceOperator.java:419)
    at 
org.apache.flink.streaming.runtime.io.StreamTaskSourceInput.emitNext(StreamTaskSourceInput.java:68)
    at 
org.apache.flink.streaming.runtime.io.StreamOneInputProcessor.processInput(StreamOneInputProcessor.java:65)
    at 
org.apache.flink.streaming.runtime.tasks.StreamTask.processInput(StreamTask.java:550)
    at 
org.apache.flink.streaming.runtime.tasks.mailbox.MailboxProcessor.runMailboxLoop(MailboxProcessor.java:231)
    at 
org.apache.flink.streaming.runtime.tasks.StreamTask.runMailboxLoop(StreamTask.java:839)
    at 
org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:788) 
   at 
org.apache.flink.runtime.taskmanager.Task.runWithSystemExitMonitoring(Task.java:952)
    at 
org.apache.flink.runtime.taskmanager.Task.restoreAndInvoke(Task.java:931)    at 
org.apache.flink.runtime.taskmanager.Task.doRun(Task.java:745)    at 
org.apache.flink.runtime.taskmanager.Task.run(Task.java:562)    at 
java.lang.Thread.run(Thread.java:748) {code}
 
h2. other

The problem only occur in flink local mode and deploy on k8s.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to