flume org.apache.flume.source.SpoolDirectorySource所在源码位置

现在需要对org.apache.flume.source.SpoolDirectorySource进行修改,但是没有找到
org.apache.flume.source.SpoolDirectorySource源码位置
flume-ng-sources下没有对应的,我应该编那个呢?
源码目录结构入下
[hadoop@hadoop1-1 flume-ng-1.5.0-cdh5.4.5]$ ls
bin        conf           flume-ng-channels       flume-ng-core  flume-ng-embedded-agent  flume-ng-sdk      flume-ng-tests  NOTICE   RELEASE-NOTES
CHANGELOG  DEVNOTES       flume-ng-clients        flume-ng-dist  flume-ng-legacy-sources  flume-ng-sinks    flume-tools     pom.xml
cloudera   flume-ng-auth  flume-ng-configuration  flume-ng-doc   flume-ng-node            flume-ng-sources  LICENSE         README
 
[hadoop@hadoop1-1 flume-ng-1.5.0-cdh5.4.5]$ cd flume-ng-sources
[hadoop@hadoop1-1 flume-ng-sources]$ ls
flume-jms-source  flume-kafka-source  flume-scribe-source  flume-twitter-source  pom.xml  target
 
flume-ng-core/src/main/java/org/apache/flume/source/SpoolDirectorySource.java

fish - Hadooper

赞同来自: 天热不下雨

flume-ng-core/src/main/java/org/apache/flume/source中。   源码项目可以执行mvn eclipse:eclipse,生成项目之后在eclipse中打开项目,方便代码查找和研究。

wangxiaolei

赞同来自:

在flume-ng-1.5.0-cdh5.4.5目录下,输入命令 find . -name SpoolDirectorySource.java ./flume-ng-core/src/main/java/org/apache/flume/source/SpoolDirectorySource.java

天热不下雨

赞同来自:

谢谢!

要回复问题请先登录注册