This is an automated email from the ASF dual-hosted git repository.

mgreber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git


The following commit(s) were added to refs/heads/master by this push:
     new c139cafbc [java] Fix test result xml generation
c139cafbc is described below

commit c139cafbcc69be151d6c43f8fc592f4aa5cfa108
Author: zchovan <[email protected]>
AuthorDate: Fri Nov 21 10:12:44 2025 +0100

    [java] Fix test result xml generation
    
    Recently the kudu-backup Java module, has started generating result xml
    files with ~1Gb in size. This has resulted in unusable logs archiving in
    dist-test (the __ARCHIVE_TOO_BIG__ when trying to access the test logs).
    Additionally this would make any sort of test result parsing in Jenkins
    difficult, as the memory usage would be huge.
    
    This fix adds a new configuration file, to configure the Parquet
    libraries log level to INFO, as the DEBUG level logging is excessivley
    verbose. The worst offender test (testBackupWithSplitSizeBytes) has
    previously generated ~300Mb of output, after this patch this went down
    to ~0.5Mb.
    
    Change-Id: Ib1f3353598ed24d296043e11a966e5ac7ca60e7e
    Reviewed-on: http://gerrit.cloudera.org:8080/23701
    Tested-by: Kudu Jenkins
    Reviewed-by: Marton Greber <[email protected]>
    Reviewed-by: Gabriella Lotz <[email protected]>
---
 .../src/test/resources/logback-test.xml            | 34 ++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/java/kudu-backup/src/test/resources/logback-test.xml 
b/java/kudu-backup/src/test/resources/logback-test.xml
new file mode 100644
index 000000000..0840fd96b
--- /dev/null
+++ b/java/kudu-backup/src/test/resources/logback-test.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+//
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+-->
+
+<configuration>
+    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+        <encoder>
+            <pattern>%d{HH:mm:ss.SSS} [%level - %thread] %logger{36} - 
%msg%n</pattern>
+        </encoder>
+    </appender>
+
+    <logger name="org.apache.parquet" level="INFO" />
+
+    <root level="INFO">
+        <appender-ref ref="STDOUT" />
+    </root>
+</configuration>
\ No newline at end of file

Reply via email to