You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Yuhong Cheng (Jira)" <ji...@apache.org> on 2021/01/05 00:56:00 UTC

[jira] [Created] (SAMZA-2614) Fix KafkaCheckpoint start null error

Yuhong Cheng created SAMZA-2614:
-----------------------------------

             Summary: Fix KafkaCheckpoint start null error
                 Key: SAMZA-2614
                 URL: https://issues.apache.org/jira/browse/SAMZA-2614
             Project: Samza
          Issue Type: Bug
            Reporter: Yuhong Cheng


Standby containers don't really checkpoint or consume input so its possible that there is no checkpointing going on. So the kafkaCheckpointManager may not be registered when after creating kafkaCheckpointManager. Which causing
SamzaContainer [ERROR] Caught exception/error while initializing container.
 java.lang.NullPointerException: null at org.apache.samza.checkpoint.kafka.KafkaCheckpointManager.start(KafkaCheckpointManager.scala:113)
Need to initialize the kafka clients when creating the manager instead of creating the clients when registering the ssp.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)