apache / apache/accumulo

Create pluggble server-side UncaughtExceptionHandler

Open
#3,871 6 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
1.2k
Forks
487
Avg merge
4d 5h
Merged PRs (30d)
13

Description

**Is your feature request related to a problem? Please describe.**

Accumulo 2.1.x included a default non-configurable UncaughtExceptionHandler that terminates the VM on Error. There are some Error's that are not fatal, like a NoClassNotFoundError. With the use of ContextClassLoader's it's possible for an administrator to incorrectly configure the context, leading to a NoClassNotFoundError at scan time, which would cause the termination of one or more TabletServers. While this could be rare, the impact could be huge.

**Describe the solution you'd like**
A pluggable server-side UncaughtExceptionHandler

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing server-side UncaughtExceptionHandler and how TabletServers handle scan-time failures. Review the ContextClassLoader configuration path and determine the intended pluggable behavior before implementation. Done means the server-side handler can be configured and the relevant exception behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.