...
- Extends Action Class
- Config Properties:
- sourcePath: Path of file/directory
- destPath: Path of desired destination
- fileRegex: wildcard used to identify types of files to run
- Run Method:
- Pull all files in given path and filter them if `fileRegex` is set using a `WildCardFileFilter`
- For each file, execute a `FileSystem.rename(src, dest)` call to move it to the desired location. Would require getting the hdfs fileSystem first.
To-do:
- Allow moving of files from FTP to HDFS.
- Proposal: parse source path config to see if it is in FTP or HDFS
File Action:
- Moves files between remote machines
...