You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Sergey Dudoladov (JIRA)" <ji...@apache.org> on 2015/10/22 12:09:27 UTC

[jira] [Created] (REEF-864) Fix trivial issues in exception handling

Sergey Dudoladov created REEF-864:
-------------------------------------

             Summary: Fix trivial issues in exception handling
                 Key: REEF-864
                 URL: https://issues.apache.org/jira/browse/REEF-864
             Project: REEF
          Issue Type: Improvement
          Components: Build infrastructure
            Reporter: Sergey Dudoladov
            Priority: Minor


The recent [OSDI paper | https://www.usenix.org/conference/osdi14/technical-sessions/presentation/yuan] suggest that many failures in distributed systems arise from 3 trivial mistake in exception handling:
1) the handler is empty
2) the handler silently aborts
3) the handler contains phrases like “TODO” and “FIXME”, i.e. is knowingly incomplete

The authors propose [their own checker|https://github.com/diy1/aspirator] for these cases, but we can try to enforce any of these rules via checkstyle, for example.



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