Skip to content

Forward-port "HBASE-24658 Update PolicyBasedChaosMonkey to handle uncaught exceptions" to master#2105

Merged
ndimiduk merged 1 commit intoapache:masterfrom
ndimiduk:24658-policybasechaosmonkey-uncaughtExceptionHandler
Jul 20, 2020
Merged

Forward-port "HBASE-24658 Update PolicyBasedChaosMonkey to handle uncaught exceptions" to master#2105
ndimiduk merged 1 commit intoapache:masterfrom
ndimiduk:24658-policybasechaosmonkey-uncaughtExceptionHandler

Conversation

@ndimiduk
Copy link
Member

Running ServerKillingChaosMonkey via RESTApiClusterManager for any
duration of time slowly leaks region servers. I see failures on the
RESTApi side go unreported on the ChaosMonkey side. It seems like
RuntimeExceptions are being thrown and lost.

PolicyBasedChaosMonkey uses a primitive means of thread management
anyway. Update to use a thread pool, thread groups, and an
uncaughtExceptionHandler.

Signed-off-by: Bharath Vissapragada bharathv@apache.org
Signed-off-by: Viraj Jasani vjasani@apache.org

Running `ServerKillingChaosMonkey` via `RESTApiClusterManager` for any
duration of time slowly leaks region servers. I see failures on the
RESTApi side go unreported on the ChaosMonkey side. It seems like
`RuntimeException`s are being thrown and lost.

`PolicyBasedChaosMonkey` uses a primitive means of thread management
anyway. Update to use a thread pool, thread groups, and an
uncaughtExceptionHandler.

Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
@ndimiduk ndimiduk merged commit 7ebc617 into apache:master Jul 20, 2020
@ndimiduk ndimiduk deleted the 24658-policybasechaosmonkey-uncaughtExceptionHandler branch July 20, 2020 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant