You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Pradeep Ambati (JIRA)" <ji...@apache.org> on 2018/09/07 19:00:00 UTC

[jira] [Commented] (YARN-4961) Wrapper for leveldb DB to aid in handling database exceptions

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

Pradeep Ambati commented on YARN-4961:
--------------------------------------

[~jlowe], I want to work on this JIRA. From what I understood, there should be a utility wrapper around DB which throws IOExceptions (translated from DBExceptions) instead of DBExceptions, am I right?

> 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
>            Priority: Major
>
> 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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org