James Xu created STORM-102:
------------------------------

             Summary: 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 (Incubating)
          Issue Type: Improvement
            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.1.4#6159)

Reply via email to