Spring XD流只创建空的.tmp文件

时间:2014-04-03 21:16:14

标签: hadoop hortonworks-data-platform spring-xd

我试图让Spring-XD与Hortonworks Sandbox VM一起工作。 一切顺利,直到测试流:

xd:>stream create --name ticktockhdfs --definition "Time | HDFS"
xd:>stream destroy --name ticktockhdfs
xd:>hadoop fs ls /xd/ticktockhdfs
-rw-r--r--   3 user hdfs          0 2014-04-03 22:05 /xd/ticktockhdfs/ticktockhdfs-0.txt.tmp
-rw-r--r--   3 user hdfs          0 2014-04-03 22:07 /xd/ticktockhdfs/ticktockhdfs-1.txt.tmp
-rw-r--r--   3 user hdfs          0 2014-04-03 22:38 /xd/ticktockhdfs/ticktockhdfs-2.txt.tmp
-rw-r--r--   3 user hdfs          0 2014-04-03 22:49 /xd/ticktockhdfs/ticktockhdfs-3.txt.tmp

文件的扩展名为.tmp且为空。

在XD管理控制台上,我可以看到错误:

  

只能复制到0个节点而不是1个

可能出现什么问题?

1 个答案:

答案 0 :(得分:0)

VirtualBox网络配置存在问题。我只从NAT切换到主机,它开始工作。 该视频可能会有所帮助:https://www.youtube.com/watch?v=xG3nQAfkEyM&feature=youtu.be

相关问题