You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemds.apache.org by ba...@apache.org on 2026/02/19 16:41:09 UTC

(systemds) branch main updated (3f30d08c3d -> 3f4868d167)

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

baunsgaard pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git


    from 3f30d08c3d [SYSTEMDS-3891] OOC Pipelining, New Primitives, New Operators
     new 82afd1e0a4 [MINOR] Add gitignore for metals
     new 3f4868d167 [MINOR] Reduce logging in MLContextTests

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .gitignore                                                  |  3 +++
 .../org/apache/sysds/test/applications/nn/BaseTest.java     |  6 ------
 .../sysds/test/functions/mlcontext/MLContextTestBase.java   | 13 -------------
 3 files changed, 3 insertions(+), 19 deletions(-)


(systemds) 01/02: [MINOR] Add gitignore for metals

Posted by ba...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

baunsgaard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git

commit 82afd1e0a4860ea545c01a109a199d6c52b02169
Author: Sebastian Baunsgaard <ba...@apache.org>
AuthorDate: Mon Feb 16 15:46:15 2026 +0000

    [MINOR] Add gitignore for metals
    
    For some Ids a metals directory is automatically created.
    It is scala specific, and therefore i added a gitignore for it.
---
 .gitignore | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitignore b/.gitignore
index 5de697a37e..acb9435ac6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -43,6 +43,9 @@ maven-eclipse.xml
 # vscode
 .vscode
 
+# Metals (Scala LSP)
+.metals/
+
 # checksum files
 *.crc
 


(systemds) 02/02: [MINOR] Reduce logging in MLContextTests

Posted by ba...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

baunsgaard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git

commit 3f4868d1679ce10baf929f16207758c84a19881e
Author: Sebastian Baunsgaard <ba...@apache.org>
AuthorDate: Mon Feb 16 15:47:24 2026 +0000

    [MINOR] Reduce logging in MLContextTests
    
    Closes #2432
---
 .../org/apache/sysds/test/applications/nn/BaseTest.java     |  6 ------
 .../sysds/test/functions/mlcontext/MLContextTestBase.java   | 13 -------------
 2 files changed, 19 deletions(-)

diff --git a/src/test/java/org/apache/sysds/test/applications/nn/BaseTest.java b/src/test/java/org/apache/sysds/test/applications/nn/BaseTest.java
index f8b33fdc3e..b5312612b6 100644
--- a/src/test/java/org/apache/sysds/test/applications/nn/BaseTest.java
+++ b/src/test/java/org/apache/sysds/test/applications/nn/BaseTest.java
@@ -32,12 +32,6 @@ public abstract class BaseTest extends MLContextTestBase {
 
 	private static final String ERROR_STRING = "ERROR:";
 
-	public BaseTest() {
-		//disable debug and trace logging in mlcontext super class since
-		//the nn tests execute a lot of mini-batch operations
-		_enableTracing = false;
-	}
-
 	protected void run(String name) {
 		run(name, false);
 	}
diff --git a/src/test/java/org/apache/sysds/test/functions/mlcontext/MLContextTestBase.java b/src/test/java/org/apache/sysds/test/functions/mlcontext/MLContextTestBase.java
index b21bcaf54c..0a54ac1aab 100644
--- a/src/test/java/org/apache/sysds/test/functions/mlcontext/MLContextTestBase.java
+++ b/src/test/java/org/apache/sysds/test/functions/mlcontext/MLContextTestBase.java
@@ -26,8 +26,6 @@ import java.io.PrintStream;
 
 import org.apache.commons.lang3.tuple.ImmutablePair;
 import org.apache.commons.lang3.tuple.Pair;
-import org.apache.log4j.Level;
-import org.apache.log4j.Logger;
 import org.apache.spark.api.java.JavaSparkContext;
 import org.apache.spark.sql.SparkSession;
 import org.apache.sysds.api.mlcontext.MLContext;
@@ -65,8 +63,6 @@ public abstract class MLContextTestBase extends AutomatedTestBase {
 
 	protected String testDir = null;
 	protected String testName = null;
-	protected Level _oldLevel = null;
-	protected boolean _enableTracing = true;
 	
 	@Override
 	public void setUp() {
@@ -76,13 +72,6 @@ public abstract class MLContextTestBase extends AutomatedTestBase {
 
 		addTestConfiguration(dir, name);
 		getAndLoadTestConfiguration(name);
-		
-		//run all mlcontext tests in loglevel trace to improve test coverage
-		//of all logging in various components
-		if( _enableTracing ) {
-			_oldLevel = Logger.getLogger("org.apache.sysds").getLevel();
-			Logger.getLogger("org.apache.sysds").setLevel( Level.TRACE );
-		}
 	}
 	
 	@BeforeClass
@@ -96,8 +85,6 @@ public abstract class MLContextTestBase extends AutomatedTestBase {
 	@Override
 	public void tearDown() {
 		super.tearDown();
-		if(_enableTracing)
-			Logger.getLogger("org.apache.sysds").setLevel( _oldLevel );
 	}
 
 	@AfterClass