我在天蓝色的PCF上运行一个简单无用的玩具,尝试创建和运行流'时间|登录'
我成功启动了SCDF,并创建了流,但是当我尝试部署流时,SCDF会创建两个(cf)不会运行的应用程序 - 就cf-apps而言,它们存在
○ → cf apps
Getting apps in org tess / space tess as admin...
OK
name requested state instances memory disk urls
yascdf-server started 1/1 2G 2G yascdf-server.apps.cf.tess.info
yascdf-server-LE7xs4r-tess-log stopped 0/1 512M 2G yascdf-server-LE7xs4r-tess-log.apps.cf.tess.info
yascdf-server-LE7xs4r-tess-time stopped 0/1 512M 2G yascdf-server-LE7xs4r-tess-time.apps.cf.tess.info
如果我尝试查看其中任何一个的日志,则无法返回任何内容。但应用程序管理器中的日志如下所示:
2017-08-10T10:24:42.147-04:00 [API/0] [OUT] Created app with guid de8fee78-0902-4df7-a7ae-bba8a7710dca
2017-08-10T10:24:43.314-04:00 [API/0] [OUT] Updated app with guid de8fee78-0902-4df7-a7ae-bba8a7710dca ({"route"=>"97e1d26b-d950-479e-b9df-fe1f3b0c8a74", :verb=>"add", :relation=>"routes", :related_guid=>"97e1d26b-d950-479e-b9df-fe1f3b0c8a74"})
路线不起作用:
404 Not Found: Requested route ('yascdf-server-LE7xs4r-tess-log.apps.cf.tess.info') does not exist.
并尝试(重新)启动我获得的路线:
○ → cf start yascdf-server-LE7xs4r-tess-log
Starting app yascdf-server-LE7xs4r-tess-log in org tess / space tess as admin...
Staging app and tracing logs...
The app package is invalid: bits have not been uploaded
FAILED
这是我运行的SCDF shell的东西,如果这有帮助:
server-unknown:>dataflow config server http://yascdf-server.apps.cf.tess.info/
Successfully targeted http://yascdf-server.apps.cf.cfpush.info/
dataflow:>app import --uri http://.../1-0-4-GA-stream-applications-rabbit-maven
Successfully registered applications: [<chop>]
dataflow:>stream create tess --definition "time | log"
Created new stream 'tess'
dataflow:>stream deploy tess
Deployment request has been sent for stream 'tess'
dataflow:>
有谁知道这里发生了什么?我很感激轻推......
Spring Cloud数据流:服务器 1.2.3(使用内置的spring-cloud-dataflow-server-cloudfoundry-1.2.3.BUILD-SNAPSHOT.jar)
Spring Cloud数据流:Shell 1.2.3(使用下载的spring-cloud-dataflow-shell-1.2.3.RELEASE.jar)
部署环境 PCF v1.11.6(在Azure上) pcf dev v0.26.0(在mac上)
App Starters http://bit-dot-ly/1-0-4-GA-stream-applications-rabbit-maven
答案 0 :(得分:0)
已经确定OP使用java-buildpack 4.4(JBP4)并且针对此版本运行SCDF,在reactor-netty(由JBP4内部使用)中存在内存分配问题,这导致out-内存错误。反应堆团队正在即将发布的0.6.5版本中解决这个问题。 JBP4最终会适应它。
有了这一切,SCDF 仍然与JPB4兼容。建议降级到JPB 3.19或此版本行中的最新版本。