GitHub user divya-nsurely added a comment to the discussion: Golang | Pulsar 
Functions Runtime Death Exception

Thanks for your response.

The Create API returns a successful response. However, the function stops 
running due to this Death Exception error.

When I try to restart the function, I receive a 204 response. In spite of this, 
when I try to get the status of the function, it gives me the below error.

standalone_1  | 2022-12-03T11:50:35,902+0000 
[BookKeeperClientWorker-OrderedExecutor-0-0] INFO  
org.apache.bookkeeper.client.PendingReadOp - Error: Bookie operation timeout 
while reading L765 E3 from bookie: 127.0.0.1:3181
standalone_1  | 2022-12-03T11:50:35,902+0000 
[BookKeeperClientWorker-OrderedExecutor-0-0] ERROR 
org.apache.bookkeeper.client.PendingReadOp - Read of ledger entry failed: L765 
E3-E3, Sent to [127.0.0.1:3181], Heard from [] : bitset = {}, Error = 'Bookie 
operation timeout'. First unread entry is (-1, rc = null)
standalone_1  | 2022-12-03T11:50:36,057+0000 [main] ERROR 
org.apache.pulsar.functions.worker.FunctionActioner - t09/n09/FOURTHFUNC Error 
starting function
standalone_1  | org.apache.distributedlog.exceptions.BKTransmitException: 
Encountered issue on reading entry 0 @ log segment [LogSegmentId:765, 
firstTxId:1024, lastTxId:9223372036854775807, version:VERSION_V5_SEQUENCE_ID, 
completionTime:1670066952044, recordCount:42692, regionId:0, status:0, 
logSegmentSequenceNumber:1, lastEntryId:171, lastSlotId:0, inprogress:false, 
minActiveDLSN:DLSN{logSegmentSequenceNo=1, entryId=0, slotId=0}, 
startSequenceId:0] : -23
standalone_1  |         at 
org.apache.distributedlog.impl.logsegment.BKLogSegmentEntryReader.readEntriesFromReadAheadCache(BKLogSegmentEntryReader.java:814)
 ~[org.apache.distributedlog-distributedlog-core-4.14.5.jar:4.14.5]
standalone_1  |         at 
org.apache.distributedlog.impl.logsegment.BKLogSegmentEntryReader.safeRun(BKLogSegmentEntryReader.java:733)
 ~[org.apache.distributedlog-distributedlog-core-4.14.5.jar:4.14.5]
standalone_1  |         at 
org.apache.bookkeeper.common.util.SafeRunnable.run(SafeRunnable.java:36) 
~[org.apache.bookkeeper-bookkeeper-common-4.14.5.jar:4.14.5]
standalone_1  |         at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
standalone_1  |         at 
java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
standalone_1  |         at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
 ~[?:?]
standalone_1  |         at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 
~[?:?]
standalone_1  |         at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 
~[?:?]
standalone_1  |         at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
 ~[io.netty-netty-common-4.1.77.Final.jar:4.1.77.Final]
standalone_1  |         at java.lang.Thread.run(Thread.java:829) ~[?:?]


It would be great if you can take a look at this.

GitHub link: 
https://github.com/apache/pulsar/discussions/18649#discussioncomment-4323482

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@pulsar.apache.org

Reply via email to