Skip to content

Commit

Permalink
[hotfix][yarn][tests] Whitelist non-critical debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
zentol committed Mar 1, 2021
1 parent b995633 commit d5811f8
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,17 @@ public abstract class YarnTestBase extends TestLogger {

/** These strings are white-listed, overriding the prohibited strings. */
protected static final Pattern[] WHITELISTED_STRINGS = {
// happens if yarn does not support external resources
Pattern.compile(
"ClassNotFoundException: org.apache.hadoop.yarn.api.records.ResourceInformation"),
// occurs if a TM disconnects from a JM because it is no longer hosting any slots
Pattern.compile("has no more allocated slots for job"),
// can happen if another process hasn't fully started yet
Pattern.compile("akka.actor.ActorNotFound: Actor not found for"),
// can happen if another process hasn't fully started yet
Pattern.compile("RpcConnectionException: Could not connect to rpc endpoint under address"),
// rest handler whose registration is logged on DEBUG level
Pattern.compile("JobExceptionsHandler"),
Pattern.compile("akka\\.remote\\.RemoteTransportExceptionNoStackTrace"),
// workaround for annoying InterruptedException logging:
// https://issues.apache.org/jira/browse/YARN-1022
Expand Down

0 comments on commit d5811f8

Please sign in to comment.