Storm中 spout读取HDFS文件失败
Storm中 spout读取HDFS文件失败 [main] INFO backtype.storm.StormSubmitter - Finished submitting topology: ggh9hdfs:/192.168.0.203:9000/test/localhost_access_log.2016-09-26.txt (没有那个文件或目录)
at (Native Method)
at (FileInputStream.java:146)
at (FileInputStream.java:101)
at com.zap.stormhdfs.testStormHdfs.ExclamationTopology.main(ExclamationTopology.java:47)
但是将文件放在hadoop环境下运行 是没问题的,