accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joshelser <...@git.apache.org>
Subject [GitHub] accumulo issue #243: ACCUMULO-4619 fix split hanging on Error
Date Wed, 05 Apr 2017 18:37:51 GMT
Github user joshelser commented on the issue:

    https://github.com/apache/accumulo/pull/243
  
    > Do you think I should check the type and rethrow an Error?
    
    The more I think about it, I still think there should be:
    
    ```java
    if (excep instanceof Error) {
      throw (Error) excep;
    }
    throw new RuntimeException(excep);
    ```
    
    But, I haven't found "official" guidance in the case of Futures/Executors.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message