我运行spring-xd-1.3.1.RELEASE运行时容器,当我尝试使用从ftp到hdfs的源模块文件时,我在shell命令中得到一个异常,如下所示。
xd:>module info --name source:ftphdfs
Command failed org.springframework.xd.rest.client.impl.SpringXDException: Could
not find module with name 'ftphdfs' and type 'source'
当我尝试使用source作为http端点时,我在shell命令中得到如下例外情况,如下所示。
xd:>module info --name source:http
Information about source module 'http':
Injects data from http endpoint.
Option Name Description
Default
Type
--------------------- -------------------------------------------------------
--------------------------------------------------------------------------------
--------- -------------------------------------------------------------------
---------------------------------
https true for https://
false
boolean
maxContentLength the maximum allowed content length
1048576
int
messageConverterClass the name of a custom MessageConverter class, to convert
HttpRequest to Message; must have a constructor with a 'MessageBuilderFactory'
parameter org.springframework.integration.x.http.NettyInboundMessageConverter
java.lang.String
port the port to listen to
9000
int
sslPropertiesLocation location (resource) of properties containing the locati
on of the pkcs12 keyStore and pass phrase
classpath:httpSSL.properties
java.lang.String
outputType how this module should emit messages it produces
<none>
org.springframework.util.MimeType
我目前正在使用的技术堆栈如下
1)Hadoop 2.7.2
2)Spring-XD-1.3.1.RELEASE
3)Redis 2.6(Windows版) - 我用它作为传输
4)Zoo-Keeper 3.8
任何帮助将不胜感激。
答案 0 :(得分:3)
它是job
而非流source
...
xd:>module info job:ftphdfs
Information about job module 'ftphdfs':
...
我没有看到上面source:http
的例外 - 只是对来源的描述。