[jira] [Commented] (HBASE-14848) some hbase-* module don't have test/resources/log4j and test logs are empty
[ https://issues.apache.org/jira/browse/HBASE-14848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16342673#comment-16342673 ] Chia-Ping Tsai commented on HBASE-14848: hbase-procedure's dependencies has hbase-client-tests so it can use the log4j.properties of hbase-common. {code:java} org.apache.hbase hbase-common ${project.version} tests {code} HBASE-14085 overwrite the folder of test resources for hbase-common so it won't copy the resources/log4j.properties to target/test-classes anymore. hbase-endpoint, by contrast, it need not have the log4j.properties as it reference the hbase-server-tests. {code:java} src/test/resources/META-INF/ META-INF/ NOTICE true {code} HBASE-19877 will fix the log4j.properties for hbase-common/hbase-zookeeper. However, It is worthwhile to reorganize our log property since most (all?) properties are same... > some hbase-* module don't have test/resources/log4j and test logs are empty > --- > > Key: HBASE-14848 > URL: https://issues.apache.org/jira/browse/HBASE-14848 > Project: HBase > Issue Type: Bug > Components: test >Affects Versions: 2.0.0, 1.2.0, 1.1.2, 1.3.0 >Reporter: Matteo Bertozzi >Priority: Major > Attachments: hbase-procedure-resources.patch > > > some of the hbase sub modules (e.g. hbase-procedure, hbase-prefix-tree, ...) > don't have the test/resources/log4j.properties file which result in unit > tests not printing any information. > adding the log4j seems to work, but in the past the debug output was visibile > even without the file. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-14848) some hbase-* module don't have test/resources/log4j and test logs are empty
[ https://issues.apache.org/jira/browse/HBASE-14848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15935375#comment-15935375 ] Sean Busbey commented on HBASE-14848: - maybe the HBASE-14085 change removed a log4j.properties file contained in some test jar? I don't remember it attempting to do that. > some hbase-* module don't have test/resources/log4j and test logs are empty > --- > > Key: HBASE-14848 > URL: https://issues.apache.org/jira/browse/HBASE-14848 > Project: HBase > Issue Type: Bug > Components: test >Affects Versions: 2.0.0, 1.2.0, 1.1.2, 1.3.0 >Reporter: Matteo Bertozzi > Attachments: hbase-procedure-resources.patch > > > some of the hbase sub modules (e.g. hbase-procedure, hbase-prefix-tree, ...) > don't have the test/resources/log4j.properties file which result in unit > tests not printing any information. > adding the log4j seems to work, but in the past the debug output was visibile > even without the file. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (HBASE-14848) some hbase-* module don't have test/resources/log4j and test logs are empty
[ https://issues.apache.org/jira/browse/HBASE-14848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15018932#comment-15018932 ] stack commented on HBASE-14848: --- This commit changed it so modules need their own resources where before they did not: {code} commit 1b0b67fb7c84f65aa35c4a840e8af3fd930916b8 Author: Sean Busbey Date: Wed Jul 15 05:12:36 2015 -0500 HBASE-14085 Update LICENSE and NOTICE files. * corrects license/notice for source distribution * adds inception year to correct copyright in generated NOTICE files for jars * updates project names in poms to use "Apache HBase" instead of "HBase" so jar NOTICE files will be correct * uses append-resources to include supplemental info on jars with 3rd party works in source * adds an hbase specific resource bundle for jars that include 3rd party works for binaries ** uses supplemental-model to fill in license gaps ** uses the above and a shade plugin transformation to build proper files for shaded jars. ** uses the above and the assembly plugin to build the proper files for bin assembly * adds a NOTICE item for things copied out of Hadoop (TODO legal-discuss) {code} > some hbase-* module don't have test/resources/log4j and test logs are empty > --- > > Key: HBASE-14848 > URL: https://issues.apache.org/jira/browse/HBASE-14848 > Project: HBase > Issue Type: Bug > Components: test >Affects Versions: 2.0.0, 1.2.0, 1.1.2, 1.3.0 >Reporter: Matteo Bertozzi > Attachments: hbase-procedure-resources.patch > > > some of the hbase sub modules (e.g. hbase-procedure, hbase-prefix-tree, ...) > don't have the test/resources/log4j.properties file which result in unit > tests not printing any information. > adding the log4j seems to work, but in the past the debug output was visibile > even without the file. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-14848) some hbase-* module don't have test/resources/log4j and test logs are empty
[ https://issues.apache.org/jira/browse/HBASE-14848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15018562#comment-15018562 ] stack commented on HBASE-14848: --- +1 Commit as a subtask of this issue? Leave this issue open for investigating why we now need to add resources dir to all modules? We broke something > some hbase-* module don't have test/resources/log4j and test logs are empty > --- > > Key: HBASE-14848 > URL: https://issues.apache.org/jira/browse/HBASE-14848 > Project: HBase > Issue Type: Bug > Components: test >Affects Versions: 2.0.0, 1.2.0, 1.1.2, 1.3.0 >Reporter: Matteo Bertozzi > Attachments: hbase-procedure-resources.patch > > > some of the hbase sub modules (e.g. hbase-procedure, hbase-prefix-tree, ...) > don't have the test/resources/log4j.properties file which result in unit > tests not printing any information. > adding the log4j seems to work, but in the past the debug output was visibile > even without the file. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-14848) some hbase-* module don't have test/resources/log4j and test logs are empty
[ https://issues.apache.org/jira/browse/HBASE-14848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15014365#comment-15014365 ] Andrew Purtell commented on HBASE-14848: +1 > some hbase-* module don't have test/resources/log4j and test logs are empty > --- > > Key: HBASE-14848 > URL: https://issues.apache.org/jira/browse/HBASE-14848 > Project: HBase > Issue Type: Bug > Components: test >Affects Versions: 2.0.0, 1.2.0, 1.1.2, 1.3.0 >Reporter: Matteo Bertozzi > Attachments: hbase-procedure-resources.patch > > > some of the hbase sub modules (e.g. hbase-procedure, hbase-prefix-tree, ...) > don't have the test/resources/log4j.properties file which result in unit > tests not printing any information. > adding the log4j seems to work, but in the past the debug output was visibile > even without the file. -- This message was sent by Atlassian JIRA (v6.3.4#6332)