[
https://issues.apache.org/jira/browse/FLINK-23901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17402156#comment-17402156
]
Parag Somani commented on FLINK-23901:
--------------------------------------
>at
>com..ade.his.HealthAndImpactServiceApplication.main(HealthAndImpactServiceApplication.java:19)
This is just a springboot app which call line as below:
{code:java}
SpringApplication.run(HealthAndImpactServiceApplication.class, args);
{code}
If you check the logs, its failing while restoring:
{code:java}
Caused by: java.lang.NullPointerException: null
at
org.apache.flink.runtime.deployment.TaskDeploymentDescriptorFactory$PartitionLocationConstraint.fromJobType(TaskDeploymentDescriptorFactory.java:282)
at
org.apache.flink.runtime.scheduler.SchedulerBase.createAndRestoreExecutionGraph(SchedulerBase.java:347)
{code}
This is the code when it is trying to restore
> Fink with HA, upgrade from 1.12.1 to 1.13.2 causes NPE
> ------------------------------------------------------
>
> Key: FLINK-23901
> URL: https://issues.apache.org/jira/browse/FLINK-23901
> Project: Flink
> Issue Type: Bug
> Affects Versions: 1.13.2
> Reporter: Parag Somani
> Priority: Critical
> Attachments: flink-job-manager-NPE.log
>
>
> Hello,
> I am using Flink 1.12.1 in production with zk as HA in k8s env. Recently due
> to some restart strategy related issue, I have upgraded to 1.13.2.
> We are using HA along with checkpoint enabled. when i tried to deploy with
> latest version, it threw Null pointer exception while restoring from a
> checkpoint.
> env details:
> {code:java}
> 1. deployed on k8s
> 2. ZK for HA with AWS
> 3. Flink version 1.13.2 (upgraded from 1.12.1)
> {code}
> PSB logs : flink-job-manager-NPE.log
>
> Raising as critical because it is blocking upgrade from 1.12.1 while
> restoring from checkpoint
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)