spark-instrumented-optimizer/sql/hive-thriftserver
Cheng Lian 645e611644 [SQL] [TEST] [MINOR] Uses a temporary log4j.properties in HiveThriftServer2Test to ensure expected logging behavior
The `HiveThriftServer2Test` relies on proper logging behavior to assert whether the Thrift server daemon process is started successfully. However, some other jar files listed in the classpath may potentially contain an unexpected Log4J configuration file which overrides the logging behavior.

This PR writes a temporary `log4j.properties` and prepend it to driver classpath before starting the testing Thrift server process to ensure proper logging behavior.

cc andrewor14 yhuai

Author: Cheng Lian <lian@databricks.com>

Closes #6493 from liancheng/override-log4j and squashes the following commits:

c489e0e [Cheng Lian] Fixes minor Scala styling issue
b46ef0d [Cheng Lian] Uses a temporary log4j.properties in HiveThriftServer2Test to ensure expected logging behavior

(cherry picked from commit 4782e13040)
Signed-off-by: Andrew Or <andrew@databricks.com>
2015-05-29 11:11:47 -07:00
..
src [SQL] [TEST] [MINOR] Uses a temporary log4j.properties in HiveThriftServer2Test to ensure expected logging behavior 2015-05-29 11:11:47 -07:00
v0.13.1/src/main/scala/org/apache/spark/sql/hive/thriftserver [SPARK-5100] [SQL] add webui for thriftserver 2015-05-04 16:59:34 +08:00
pom.xml Preparing development version 1.4.0-SNAPSHOT 2015-05-28 23:40:27 -07:00