Github user pasalkarsachin1 commented on the issue:

    https://github.com/apache/storm/pull/1942
  
    > The current FileReader implementation is expected to have constructor 
with a specific signature, which cannot be enforced at compile time. IMO, this 
should also be fixed along with this patch by introducing some init method in 
the FileReader interface.`
    
    I am thinking to work on this after this patch we can have init() api which 
verifies things before it proceeds. 
    
    > It enforces implementation to be Serializable, which HDFS classes (fields 
in FileReader implementations) are not. That seems why HdfsSpout instantiates 
FileReader in open method.`
    
    Once we provide init method we are providing user a way to initialize the 
non Serializable member.


---
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.
---

Reply via email to