[
https://issues.apache.org/jira/browse/HBASE-19877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16342674#comment-16342674
]
Chia-Ping Tsai commented on HBASE-19877:
----------------------------------------
hbase-zookeepr had added the test/resources to the surefire but the path is
treated as an absolute file system path. Hence, current config is not working
if we don't cd to the hbase-zookeeper.
{code:java}
<additionalClasspathElements>
<additionalClasspathElement>src/test/resources</additionalClasspathElement>
</additionalClasspathElements>{code}
Most modules use the {{testResources}} to define the resources for testing. For
consistency, the patch uses the same way to add the log4j.properties to the
test path.
> hbase-common and hbase-zookeeper don't add the log4j.properties to the
> resource path for single testing
> -------------------------------------------------------------------------------------------------------
>
> Key: HBASE-19877
> URL: https://issues.apache.org/jira/browse/HBASE-19877
> Project: HBase
> Issue Type: Bug
> Components: test
> Reporter: Chia-Ping Tsai
> Assignee: Chia-Ping Tsai
> Priority: Critical
> Fix For: 1.3.2, 1.5.0, 1.2.7, 2.0.0-beta-2, 1.4.2
>
>
> The lack of log4j.properties will disable log4j appenders. I can't imagine
> how to live without the log.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)