Re: [NOTICE] Flink master branch now uses Maven 3.8.6

2023-05-13 Thread Jing Ge
Great news! We can finally get rid of additional setup to use maven 3.8.
Thanks @Chesnay for your effort!

Best regards,
Jing

On Sat, May 13, 2023 at 5:12 AM David Anderson 
wrote:

> Chesnay, thank you for all your hard work on this!
>
> David
>
> On Fri, May 12, 2023 at 4:03 PM Chesnay Schepler 
> wrote:
> >
> >
> >   What happened?
> >
> > I have just merged the last commits to properly support Maven 3.3+ on
> > the Flink master branch.
> >
> > mvnw and CI have been updated to use Maven 3.8.6.
> >
> >
> >   What does this mean for me?
> >
> >   * You can now use Maven versions beyond 3.2.5 (duh).
> >   o Most versions should work, but 3.8.6 was the most tested and is
> > thus recommended.
> >   o 3.8.*5* is known to *NOT* work.
> >   * Starting from 1.18.0 you need to use Maven 3.8.6 for releases.
> >   o This may change to a later version until the release of 1.18.0.
> >   o There have been too many issues with recent Maven releases to
> > make a range acceptable.
> >   * *All dependencies that are bundled by a module must be marked as
> > optional.*
> >   o *This is verified on CI
> > <
> https://github.com/apache/flink/blob/master/tools/ci/flink-ci-tools/src/main/java/org/apache/flink/tools/ci/optional/ShadeOptionalChecker.java
> >.*
> >   o *Background info can be found in the wiki
> >  >.*
> >
> >
> >   Can I continue using Maven 3.2.5?
> >
> > For now, yes, but support will eventually be removed.
> >
> >
> >   Does this affect users?
> >
> > No.
> >
> >
> > Please ping me if you run into any issues.
>


Re: [VOTE] Apache Flink Kubernetes Operator Release 1.5.0, release candidate #2

2023-05-13 Thread Jim Busche
Hi Guyla,

I was able to deploy rc-2 with helm on a kind cluster and it was able to deploy 
the sample.  But I'm still struggling on OpenShift with rc-2.  There's some 
kind of RBAC permission issue that I haven't been able to solve when it deploys 
the flinkdep or flinksessionjobs.


oc get flinkdep

NAMEJOB STATUS   LIFECYCLE STATE

basic-exampleUPGRADING

basic-session-deployment-only-exampleUPGRADING



oc get flinksessionjobs

NAME JOB STATUS   LIFECYCLE STATE

basic-session-job-only-example


oc describe flinkdep basic-example
…

Status:

  Cluster Info:

  Error:  
{"type":"org.apache.flink.kubernetes.operator.exception.ReconciliationException","message":"org.apache.flink.client.deployment.ClusterDeploymentException:
 Could not create Kubernetes cluster 
\"basic-example\".","throwableList":[{"type":"org.apache.flink.client.deployment.ClusterDeploymentException","message":"Could
 not create Kubernetes cluster 
\"basic-example\"."},{"type":"org.apache.flink.kubernetes.shaded.io.fabric8.kubernetes.client.KubernetesClientException","message":"Failure
 executing: POST at: 
https://172.30.0.1/apis/apps/v1/namespaces/default/deployments. Message: 
Forbidden!Configured service account doesn't have access. Service account may 
have been revoked. deployments.apps \"basic-example\" is forbidden: cannot set 
blockOwnerDeletion if an ownerReference refers to a resource you can't set 
finalizers on: , ."}]}

  Job Manager Deployment Status:  MISSING

I haven't been able to spot why/what's different between 1.5 and 1.4 release 
(which still deploys fine.)
Hoping someone has an idea of what might be wrong.

Thanks, Jim