ccczhouxin opened a new issue, #7145:
URL: https://github.com/apache/seatunnel/issues/7145

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   kafka to hive,i stop the task with savepoint, then start with savepoint has 
NullPointerException  
   
   ### SeaTunnel Version
   
   2.3.5
   
   ### SeaTunnel Config
   
   ```conf
   env  { 
     job.mode = "STREAMING" 
     parallelism = "4" 
     job.retry.times = "0" 
   } 
   source  { 
     Kafka { 
       topic = "topic_time" 
       bootstrap.servers = "localhost:9092" 
       pattern = "false" 
       consumer.group = "12321321321" 
       commit_on_checkpoint = "false" 
       kafka.config  { 
         enable.auto.commit = "false" 
         security.protocol = "SASL_PLAINTEXT" 
         sasl.kerberos.service.name = "kafka" 
         sasl.mechanism = "GSSAPI" 
         java.security.krb5.conf = "/kafka/krb5.conf" 
         sasl.jaas.config = """    com.sun.security.auth.module.Krb5LoginModule 
required   serviceName="kafka"   useKeyTab=true   storeKey=true   
useTicketCache=false   keyTab="/kafka/kafka.service.keytab"   
principal="kafka/[email protected]"; """ 
       } 
       schema = { 
         fields = { 
           id = "bigint" 
           c2 = "date" 
           c3 = "timestamp" 
         } 
       } 
       format = "json" 
       result_table_name = "t_migr_time_json" 
       semantics = "EXACTLY_ONCE" 
       start_mode = "latest" 
       json_field  { 
         fields = { 
           id = "$.t_migr_auth_time[*].id" 
           c2 = "$.t_migr_auth_time[*].c2" 
           c3 = "$.t_migr_auth_time[*].c3" 
         } 
       } 
     } 
   } 
   sink  { 
     JDBC { 
       database = "d2" 
       table = "u2.t_migr_time" 
       url = "jdbc:postgresql://localhost:15400/d2" 
       user = "u2" 
       password = "123456" 
       driver = "org.postgresql.Driver" 
       generate_sink_sql = "true" 
       schema_save_mode = "ERROR_WHEN_SCHEMA_NOT_EXIST" 
       data_save_mode = "APPEND_DATA" 
       enable_upsert = "false" 
     } 
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ./bin/seatunnel.sh --config /DATA1/zx/kafkaScript/test --restore 
862961756702507009
   ```
   
   
   ### Error Exception
   
   ```log
   Exception in thread "main" 
org.apache.seatunnel.core.starter.exception.CommandExecuteException: SeaTunnel 
job executed failed
        at 
org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:209)
        at org.apache.seatunnel.core.starter.SeaTunnel.run(SeaTunnel.java:40)
        at 
org.apache.seatunnel.core.starter.seatunnel.SeaTunnelClient.main(SeaTunnelClient.java:34)
   Caused by: 
org.apache.seatunnel.engine.common.exception.SeaTunnelEngineException: 
org.apache.seatunnel.engine.server.checkpoint.CheckpointException: 
CheckpointCoordinator inside have error.
        at 
org.apache.seatunnel.engine.server.checkpoint.CheckpointCoordinator.handleCoordinatorError(CheckpointCoordinator.java:279)
        at 
org.apache.seatunnel.engine.server.checkpoint.CheckpointCoordinator.handleCoordinatorError(CheckpointCoordinator.java:275)
        at 
org.apache.seatunnel.engine.server.checkpoint.CheckpointCoordinator.reportCheckpointErrorFromTask(CheckpointCoordinator.java:385)
        at 
org.apache.seatunnel.engine.server.checkpoint.CheckpointManager.reportCheckpointErrorFromTask(CheckpointManager.java:184)
        at 
org.apache.seatunnel.engine.server.checkpoint.operation.CheckpointErrorReportOperation.run(CheckpointErrorReportOperation.java:48)
        at 
com.hazelcast.spi.impl.operationservice.Operation.call(Operation.java:189)
        at 
com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.call(OperationRunnerImpl.java:273)
        at 
com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:248)
        at 
com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:213)
        at 
com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.process(OperationThread.java:175)
        at 
com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.process(OperationThread.java:139)
        at 
com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.executeRun(OperationThread.java:123)
        at 
com.hazelcast.internal.util.executor.HazelcastManagedThread.run(HazelcastManagedThread.java:102)
   Caused by: org.apache.seatunnel.common.utils.SeaTunnelException: 
java.lang.NullPointerException
   
        ... 11 more
   
        at 
org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:201)
        ... 2 more
   2024-07-09 15:48:04,044 INFO  [s.c.s.s.c.ClientExecuteCommand] 
[ForkJoinPool.commonPool-worker-2] - run shutdown hook because get close signal
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   1.8
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to