Skip to content

[minicluster] Have mini collect/re-log logs generated by services it launches #1062

Description

@ctubbsii

MiniAccumuloCluster should start up a log4j socket appender service to receive logs. When it launches tserver, master, etc. services, it should do so with a log4j configuration that sends certain logs (warning and higher?) back through to the socket listening in the mini process that launched them. This would enable MiniAccumuloCluster to be able to make these important logs available to the process using mini, instead of only available in the mini log directory.

The most common use case I can think of is being able to see that an IT is failing because native maps aren't available, which caused the tserver to fail. Currently, the IT will probably time out waiting for Accumulo to come online, but it never will, and the only way to troubleshoot is to scour the logs in the target/mini-tests/ directory corresponding to the failing IT. I'm sure there are other use cases, too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions