spring-attic / spring-cloud-dataflow-server-mesos

Spring Cloud Data Flow Implementation for Apache Mesos
http://cloud.spring.io/spring-cloud-dataflow-server-mesos/
Apache License 2.0
10 stars 25 forks source link

Using Maven apps DataFlowClientException: File must exist #94

Open balistof opened 8 years ago

balistof commented 8 years ago

When I try to deploy a Maven based stream I get following error in the shell:

dataflow:>stream create --definition "time | log" --name ticktock Created new stream 'ticktock' dataflow:>stream deploy ticktock Command failed org.springframework.cloud.dataflow.rest.client.DataFlowClientException: File must exist

Looking into the server logs I find: java.lang.IllegalArgumentException: File must exist at org.springframework.boot.loader.data.RandomAccessDataFile.<init>(RandomAccessDataFile.java:67) ~[spring-cloud-dataflow-server-mesos.jar!/:1.0.0.RELEASE] at org.springframework.boot.loader.data.RandomAccessDataFile.<init>(RandomAccessDataFile.java:51) ~[spring-cloud-dataflow-server-mesos.jar!/:1.0.0.RELEASE] at org.springframework.boot.loader.jar.JarFile.<init>(JarFile.java:95) ~[spring-cloud-dataflow-server-mesos.jar!/:1.0.0.RELEASE] at org.springframework.boot.loader.archive.JarFileArchive.<init>(JarFileArchive.java:65) ~[spring-cloud-dataflow-server-mesos.jar!/:1.0.0.RELEASE] at org.springframework.boot.loader.archive.JarFileArchive.<init>(JarFileArchive.java:61) ~[spring-cloud-dataflow-server-mesos.jar!/:1.0.0.RELEASE]

Docker works just fine.

shahbour commented 7 years ago

i am having the same issue trying to deploy the ticktock on YARN . did you figure out what was the problem ?

balistof commented 7 years ago

Maven is not supported.