You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by nd...@apache.org on 2025/12/28 21:21:45 UTC
(tika) branch file-based-config-store updated: Enable peer class loading in Ignite client
This is an automated email from the ASF dual-hosted git repository.
ndipiazza pushed a commit to branch file-based-config-store
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/file-based-config-store by this push:
new 98d9999f7 Enable peer class loading in Ignite client
98d9999f7 is described below
commit 98d9999f7fddd4ffae50a11177d14b9961183aeb
Author: Nicholas DiPiazza <nd...@apache.org>
AuthorDate: Sun Dec 28 15:21:39 2025 -0600
Enable peer class loading in Ignite client
- Set setPeerClassLoadingEnabled(true) in IgniteConfigStore
- Must match server configuration
- Fixes: Remote node has peer class loading enabled flag different from local
- Both server and client now have peerClassLoading=true
---
.../src/main/java/org/apache/tika/pipes/ignite/IgniteConfigStore.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/java/org/apache/tika/pipes/ignite/IgniteConfigStore.java b/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/java/org/apache/tika/pipes/ignite/IgniteConfigStore.java
index ba0e37444..6bdce881b 100644
--- a/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/java/org/apache/tika/pipes/ignite/IgniteConfigStore.java
+++ b/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/java/org/apache/tika/pipes/ignite/IgniteConfigStore.java
@@ -99,6 +99,7 @@ public class IgniteConfigStore implements ConfigStore {
IgniteConfiguration cfg = new IgniteConfiguration();
cfg.setIgniteInstanceName(igniteInstanceName + "-Client");
cfg.setClientMode(true); // Client mode - connects to embedded server
+ cfg.setPeerClassLoadingEnabled(true); // Must match server setting
// Set work directory to /var/cache/tika to match Tika's cache location
cfg.setWorkDirectory(System.getProperty("ignite.work.dir", "/var/cache/tika/ignite-work"));