GitHub user liancheng opened a pull request:

    https://github.com/apache/spark/pull/6493

    [SQL] [TEST] [Minor] Uses a temporary log4j.properties in 
HiveThriftServer2Test to ensure expected logging behavior

    The `HiveThriftServer2Test` relies on properly 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 Thrift server process to ensure proper logging 
behavior.
    
    cc @andrewor14 @yhuai 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/liancheng/spark override-log4j

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/6493.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #6493
    
----
commit b46ef0d913b26742d3836e72c7bcf889e2468043
Author: Cheng Lian <[email protected]>
Date:   2015-05-29T09:27:57Z

    Uses a temporary log4j.properties in HiveThriftServer2Test to ensure 
expected logging behavior

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to