Tag: 阿卡streamdcos

FTP从mesos docker容器不起作用

我有scala应用与akka蒸汽。 所以我的应用程序的stream程是这样的: 1. Check if file exists on FTP – I'm doing it with the org.apache.commons.net.ftp.FTPClient 2. If it exists stream it via alpakka library(and make some stream transformations) 我的应用程序在本地工作,可以连接到服务器。 问题是当它被部署到dcos / mesos时。 我得到一个问题: java.io.IOException: /path/file.txt: No such file or directory 我可以肯定地说那个文件在那里依然存在。 另外,当我尝试通过FTP本地连接从docker容器我有这样的事情: ftp> open some.ftp.address.com Connected to some.ftp.address.com. 220 Microsoft FTP Service Name (some.ftp.address.com:root): […]