Github user arunmahadevan commented on a diff in the pull request:
https://github.com/apache/storm/pull/1942#discussion_r101696530
--- Diff:
external/storm-hdfs/src/main/java/org/apache/storm/hdfs/spout/HDFSSpout.java ---
@@ -409,9 +409,14 @@ public void open(Map conf, TopologyContext context,
SpoutOutputCollector collect
// Reader type config
if ( readerType==null && conf.containsKey(Configs.READER_TYPE) ) {
- readerType = conf.get(Configs.READER_TYPE).toString();
+ String className = (String) conf.get(Configs.READER_TYPE);
--- End diff --
What is the need for this when the spout accepts the readerType via
`setReaderType ` ?
---
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.
---