You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Rick Kellogg (JIRA)" <ji...@apache.org> on 2015/10/09 02:37:29 UTC
[jira] [Updated] (STORM-102) Nimbus service throws unchecked
Runtime Exceptions for faulty file uploads and downloads.
[ 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)