public final class LogDivertAppenderForTest extends Object
Modifier and Type | Field and Description |
---|---|
static String |
TEST_QUERY_ROUTING_APPENDER
Name of the test query routine appender.
|
Modifier and Type | Method and Description |
---|---|
static void |
registerRoutingAppenderIfInTest(org.apache.hadoop.conf.Configuration conf)
If the HIVE_IN_TEST is set, then programmatically register a routing appender to Log4J
configuration, which automatically writes the test log of each query to an individual file.
|
public static final String TEST_QUERY_ROUTING_APPENDER
public static void registerRoutingAppenderIfInTest(org.apache.hadoop.conf.Configuration conf)
conf
- the configuration for HiveServer2 instanceCopyright © 2022 The Apache Software Foundation. All rights reserved.