[
https://issues.apache.org/jira/browse/STORM-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rick Kellogg updated STORM-102:
-------------------------------
Component/s: storm-core
> Nimbus service throws unchecked Runtime Exceptions for faulty file uploads
> and downloads.
> -----------------------------------------------------------------------------------------
>
> Key: STORM-102
> URL: https://issues.apache.org/jira/browse/STORM-102
> Project: Apache Storm
> Issue Type: Improvement
> Components: storm-core
> Reporter: James Xu
> Priority: Minor
>
> https://github.com/nathanmarz/storm/issues/482
> Nimbus' File IO methods defined in the Thrift file:
> beginFileUpload
> uploadChunk
> finishedUpload
> beginFileDownload
> downloadChunk
> Instead of throwing a RuntimeException for faulty requests, throw instead a
> checked Exception like:
> IOException,
> FileNotFoundException,
> WrongIDException,
> etc.
> These would need to be defined in the Thrift file also. It would also be nice
> to have a fileExists(1:string file) method as well. This will allow the use
> of Nimbus as a central location for resources in dynamically created
> Topologies without the need for a separate proprietary daemon.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)