wangyang0918 commented on pull request #32:
URL: 
https://github.com/apache/flink-kubernetes-operator/pull/32#issuecomment-1056132882


   The e2e tests failed because of `ClassNotFoundException`. So we may need to 
change the dependencies of `flink-kubernetes-webhook`.
   
   ```
   2022-03-02 03:30:52,160 WARN  
org.apache.flink.shaded.netty4.io.netty.channel.DefaultChannelPipeline [] - An 
exceptionCaught() event was fired, and it reached at the tail of the pipeline. 
It usually means the last handler in the pipeline did not handle the exception.
   java.lang.NoClassDefFoundError: 
org/apache/flink/runtime/jobmanager/HighAvailabilityMode
           at 
org.apache.flink.kubernetes.operator.validation.DefaultDeploymentValidator.validateJobSpec(DefaultDeploymentValidator.java:88)
 ~[flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.kubernetes.operator.validation.DefaultDeploymentValidator.validate(DefaultDeploymentValidator.java:46)
 ~[flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.kubernetes.operator.admission.FlinkValidator.validate(FlinkValidator.java:52)
 ~[flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.kubernetes.operator.admission.FlinkValidator.validate(FlinkValidator.java:34)
 ~[flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.kubernetes.operator.admission.admissioncontroller.validation.DefaultRequestValidator.handle(DefaultRequestValidator.java:46)
 ~[flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.kubernetes.operator.admission.admissioncontroller.AdmissionController.handle(AdmissionController.java:47)
 ~[flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.kubernetes.operator.admission.AdmissionHandler.channelRead0(AdmissionHandler.java:74)
 ~[flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.kubernetes.operator.admission.AdmissionHandler.channelRead0(AdmissionHandler.java:57)
 ~[flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.shaded.netty4.io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)
 ~[flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.shaded.netty4.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
 [flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.shaded.netty4.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
 [flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.shaded.netty4.io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
 [flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.shaded.netty4.io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
 [flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.shaded.netty4.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
 [flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.shaded.netty4.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
 [flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.shaded.netty4.io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
 [flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.shaded.netty4.io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436)
 [flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.shaded.netty4.io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324)
 [flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.shaded.netty4.io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296)
 [flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.shaded.netty4.io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251)
 [flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.shaded.netty4.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
 [flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.shaded.netty4.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
 [flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.shaded.netty4.io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
 [flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.shaded.netty4.io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1372)
 [flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.shaded.netty4.io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1235)
 [flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.shaded.netty4.io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1284)
 [flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.shaded.netty4.io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:507)
 [flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.shaded.netty4.io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:446)
 [flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
           at 
org.apache.flink.shaded.netty4.io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276)
 [flink-kubernetes-webhook-1.0-SNAPSHOT-shaded.jar:1.0-SNAPSHOT]
   ```


-- 
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