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:12:00 UTC
(tika) branch file-based-config-store updated: Use /var/cache/tika/ignite-work for Ignite work directory
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 059019d52 Use /var/cache/tika/ignite-work for Ignite work directory
059019d52 is described below
commit 059019d52e931c2bca96d4097435b5d1d0e0a55e
Author: Nicholas DiPiazza <nd...@apache.org>
AuthorDate: Sun Dec 28 15:11:55 2025 -0600
Use /var/cache/tika/ignite-work for Ignite work directory
- Changed from /tmp/ignite-work to /var/cache/tika/ignite-work
- Aligns with Tika's standard cache location
- /var/cache/tika is already used for plugins and other Tika cache data
---
.../src/main/java/org/apache/tika/pipes/ignite/IgniteConfigStore.java | 4 ++--
.../java/org/apache/tika/pipes/ignite/server/IgniteStoreServer.java | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
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 420fe9dfc..ba0e37444 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
@@ -100,8 +100,8 @@ public class IgniteConfigStore implements ConfigStore {
cfg.setIgniteInstanceName(igniteInstanceName + "-Client");
cfg.setClientMode(true); // Client mode - connects to embedded server
- // Set work directory to /tmp to avoid permission issues
- cfg.setWorkDirectory(System.getProperty("ignite.work.dir", "/tmp/ignite-work"));
+ // 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"));
ignite = Ignition.start(cfg);
diff --git a/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/java/org/apache/tika/pipes/ignite/server/IgniteStoreServer.java b/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/java/org/apache/tika/pipes/ignite/server/IgniteStoreServer.java
index 3066173ab..10550173e 100644
--- a/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/java/org/apache/tika/pipes/ignite/server/IgniteStoreServer.java
+++ b/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/java/org/apache/tika/pipes/ignite/server/IgniteStoreServer.java
@@ -84,8 +84,8 @@ public class IgniteStoreServer implements AutoCloseable {
cfg.setClientMode(false); // Server mode
cfg.setPeerClassLoadingEnabled(true);
- // Set work directory to /tmp to avoid permission issues
- cfg.setWorkDirectory(System.getProperty("ignite.work.dir", "/tmp/ignite-work"));
+ // 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"));
ignite = Ignition.start(cfg);