You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/07/15 18:20:41 UTC

[GitHub] [flink-kubernetes-operator] gyfora commented on pull request #278: [WIP] Add standalone mode support

gyfora commented on PR #278:
URL: https://github.com/apache/flink-kubernetes-operator/pull/278#issuecomment-1185789710

   I hit a few issues during my initial local testing:
   
   1. Had a maven test failure:
   `StandaloneKubernetesJobManagerFactoryTest.testFlinkConfConfigMap:269 expected: <1> but was: <2>`
   
   2. Noticed that after running the tests some resources were deployed to my local minikube and kind of messed up the operator state there : `flink-operator-test/test-session-cluster`
   
   3. The docker build seems to fail in a fresh minikube env:
   
   ```
   > [build 4/5] RUN --mount=type=cache,target=/root/.m2 mvn -ntp clean install -pl !flink-kubernetes-docs -DskipTests=true:
   #14 0.960 [INFO] Scanning for projects...
   #14 76.22 [ERROR] [ERROR] Some problems were encountered while processing the POMs:
   #14 76.22 [FATAL] Non-resolvable parent POM for org.apache.flink:flink-kubernetes-operator-parent:1.1-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:23 from/to central (https://repo.maven.apache.org/maven2): transfer failed for https://repo.maven.apache.org/maven2/org/apache/apache/23/apache-23.pom and 'parent.relativePath' points at wrong local POM @ line 22, column 13
   #14 76.22  @
   #14 76.22 [ERROR] The build could not read 1 project -> [Help 1]
   #14 76.22 [ERROR]
   #14 76.22 [ERROR]   The project org.apache.flink:flink-kubernetes-operator-parent:1.1-SNAPSHOT (/app/pom.xml) has 1 error
   #14 76.22 [ERROR]     Non-resolvable parent POM for org.apache.flink:flink-kubernetes-operator-parent:1.1-SNAPSHOT: Could not transfer artifact org.apache:apache:pom:23 from/to central (https://repo.maven.apache.org/maven2): transfer failed for https://repo.maven.apache.org/maven2/org/apache/apache/23/apache-23.pom and 'parent.relativePath' points at wrong local POM @ line 22, column 13: Connect to repo.maven.apache.org:443 [repo.maven.apache.org/199.232.80.215] failed: Connection refused (Connection refused) -> [Help 2]
   #14 76.22 [ERROR]
   #14 76.22 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
   #14 76.23 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   #14 76.23 [ERROR]
   #14 76.23 [ERROR] For more information about the errors and possible solutions, please read the following articles:
   #14 76.23 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
   #14 76.23 [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
   ------
   executor failed running [/bin/sh -c mvn -ntp clean install -pl !flink-kubernetes-docs -DskipTests=$SKIP_TESTS]: exit code: 1
   ```
   
   I think you missed copying the new module dirs in the Dockerfile for the build 


-- 
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: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org