Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SQL] [TEST] [MINOR] Uses a temporary log4j.properties in HiveThriftS…
…erver2Test 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 <[email protected]> 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 4782e13) Signed-off-by: Andrew Or <[email protected]>
- Loading branch information