Reputation: 3
I am using GetHDFSEvents processor to know hdfs.inotify.event.path. I need to get notified of the path when an new file is created in hdfs. How can I pass the attribute hdfs.inotify.event.path to the next processor to execute a shell script based on the path
Upvotes: 0
Views: 241
Reputation: 170
Try using ListHDFS processor and use Fetchhdfs or ExecuteStream command processor. Use Expression language ${path}/${filename}
Upvotes: 0