0
我試圖讓Spring-XD與Hortonworks Sandbox VM一起工作。 一切都很順利,直到第一,測試流:Spring XD流只創建空的.tmp文件
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管理控制檯中,我可以看到錯誤:
could only be replicated to 0 nodes instead of 1
什麼可能是錯誤的?
是的,網絡通常是問題,看起來像你可以訪問namenode而不是datanode。真高興你做到了。我已經在我們的wiki上放置了一個頁面,用於在這裏針對不同的虛擬機運行XD - https://github.com/spring-projects/spring-xd/wiki/Using-Hadoop-VMs-with-Spring-XD –