[ 
https://issues.apache.org/jira/browse/FLINK-31982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17721495#comment-17721495
 ] 

James Busche commented on FLINK-31982:
--------------------------------------

I'm not sure why it is that the 1.5.x build is failing with podman on my Red 
Hat 8.x servers, but 1.4.0 worked fine.

The podman version there is a bit older:

_podman --version_

_podman version 4.2.0_

I just tried it on a Red Hat 9.0 server and it built great.  podman there is:

_podman --version_

_podman version 4.4.1_

> Build image from source Dockerfile error in main
> ------------------------------------------------
>
>                 Key: FLINK-31982
>                 URL: https://issues.apache.org/jira/browse/FLINK-31982
>             Project: Flink
>          Issue Type: Bug
>          Components: Kubernetes Operator
>            Reporter: James Busche
>            Priority: Major
>
> I'm noticing a problem trying to build the Debian Flink Operator image from 
> the Dockerfile in the main branch.
>  
> podman build -f Dockerfile -t debian-release:1.5.0-rc1
> ....
> [INFO] Compiling 9 source files to 
> /app/flink-kubernetes-operator-autoscaler/target/test-classes
> ....
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] 
> /app/flink-kubernetes-operator-autoscaler/src/test/java/org/apache/flink/kubernetes/operator/autoscaler/ScalingMetricEvaluatorTest.java:[59,8]
>  error while writing 
> org.apache.flink.kubernetes.operator.autoscaler.ScalingMetricEvaluatorTest: 
> /app/flink-kubernetes-operator-autoscaler/target/test-classes/org/apache/flink/kubernetes/operator/autoscaler/ScalingMetricEvaluatorTest.class:
>  Too many open files
> [ERROR] 
> /app/flink-kubernetes-operator-autoscaler/src/test/java/org/apache/flink/kubernetes/operator/autoscaler/JobVertexScalerTest.java:[78,29]
>  cannot access org.apache.flink.kubernetes.operator.autoscaler.ScalingSummary
>   bad class file: 
> /app/flink-kubernetes-operator-autoscaler/target/classes/org/apache/flink/kubernetes/operator/autoscaler/ScalingSummary.class
>     unable to access file: java.nio.file.FileSystemException: 
> /app/flink-kubernetes-operator-autoscaler/target/classes/org/apache/flink/kubernetes/operator/autoscaler/ScalingSummary.class:
>  Too many open files
>     Please remove or make sure it appears in the correct subdirectory of the 
> classpath.
> [ERROR] 
> /app/flink-kubernetes-operator-autoscaler/src/test/java/org/apache/flink/kubernetes/operator/autoscaler/JobVertexScalerTest.java:[84,29]
>  incompatible types: inferred type does not conform to equality constraint(s)
>  
> I've tried increasing my nofiles to unlimited, but still see the error.
> I tried building the release 1.4.0 and it built fine, so not certain what's 
> recently changed in 1.5.0. Maybe it builds fine in Docker instead of podman?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to