Github user HeartSaVioR commented on the issue:
https://github.com/apache/storm/pull/1942
@arunmahadevan
> I am not sure why cant we directly pass the FileReader implementation
instead of the class (like setReader(FileReader reader)) and I believe flux
will be able to handle this.
It enforces implementation to be `Serializable`, which HDFS classes (fields
in FileReader implementations) are not. That seems why HdfsSpout instantiates
FileReader in `open` method.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---