[ 
https://issues.apache.org/jira/browse/YARN-4961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15241807#comment-15241807
 ] 

Jason Lowe commented on YARN-4961:
----------------------------------

This would be akin to what LeveldbIterator does for the leveldb iterators.

> Wrapper for leveldb DB to aid in handling database exceptions
> -------------------------------------------------------------
>
>                 Key: YARN-4961
>                 URL: https://issues.apache.org/jira/browse/YARN-4961
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Jason Lowe
>
> It would be nice to have a utility wrapper around leveldb's DB to translate 
> the raw runtime DBExceptions into IOExceptions.  This would help make the 
> code using leveldb easier to read and less error-prone to allowing the 
> runtime DBExceptions to escape and potentially terminate the calling process.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to