This repository was archived by the owner on May 14, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 593
This repository was archived by the owner on May 14, 2025. It is now read-only.
SCDF running locally fails to deploy apps #5232
Copy link
Copy link
Closed
Milestone
Description
Running into an issue when running 2.10.1 locally SCDF+Skipper+H2. Repro steps are below. We may have an issue w/ the OOTB 2.10.1 running locally like this.
Summary
Attempt to resolve the 3.2.1 apps is failing on the default repo.spring.io/snapshot maven setting (it used to work because everything was available from there)
Summary on maven repos
https://repo.spring.io/snapshot does not work
https://repo.spring.io/libs-snapshot works (for me)
https://repo.spring.io/release works
Steps repro
- wget https://repo.maven.apache.org/maven2/org/springframework/cloud/spring-cloud-dataflow-server/2.10.1/spring-cloud-dataflow-server-2.10.1.jar
- wget https://repo.maven.apache.org/maven2/org/springframework/cloud/spring-cloud-skipper-server/2.9.1/spring-cloud-skipper-server-2.9.1.jar
- delete the org/springframework/cloud/stream/apps from your .m2 repo
- java -jar spring-cloud-dataflow-server-2.10.1.jar
- java -jar spring-cloud-skipper-server-2.9.1.jar
Steps In UI
- Navigate to localhost:9393/dashboard
- Add apps -> kafka maven
- Navigate to apps -> click aggregator
- ----> 💣 - no properties for app in UI and log complains about not able to get resource from /snapshot
Ok lets try to fix w/…
- Create democonfig.yml:
maven: remoteRepositories: springRepo: url: https://repo.spring.io/release - Restart SCDF w/ above file:
java -jar spring-cloud-dataflow-server-2.10.1.jar -Dspring.config.additonal-location="/Users/cbono/scdf-run-local/democonfig.yml" - Go through “Steps in UI” above - app props will show up.
- Now do these steps as well:
Steps in UI
- Create stream “time | log”
- Deploy stream
- -----> 💣 - skipper should fail on the snapshot repo as SCDF initially did.
Restart it w/ the same yml from above:
java -jar spring-cloud-skipper-server-2.9.1.jar -Dspring.config.additonal-location="/Users/cbono/scdf-run-local/democonfig.yml"
Redo above steps - should deploy fine.
Metadata
Metadata
Assignees
Labels
No labels