Github user abellina commented on a diff in the pull request:
https://github.com/apache/storm/pull/1593#discussion_r72246238
--- Diff: storm-core/src/clj/org/apache/storm/daemon/nimbus.clj ---
@@ -1793,16 +1793,16 @@
(.mark nimbus:num-downloadChunk-calls)
(check-authorization! nimbus nil nil "fileDownload")
(let [downloaders (:downloaders nimbus)
- ^BufferFileInputStream is (.get downloaders id)]
+ ^BufferInputStream is (.get downloaders id)]
--- End diff --
@HeartSaVioR, in beginFileDownload (just above the impl for downloadChunk)
the type used for the input stream and put into :downloaders is a
BufferInputStream, hence the change in downloadChunk.
---
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.
---