You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by ro...@apache.org on 2025/11/19 18:18:46 UTC
(druid) branch master updated: Bind LocalTmpStorageConfig for HadoopIndexTask (#18758)
This is an automated email from the ASF dual-hosted git repository.
rohangarg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new 90d04596558 Bind LocalTmpStorageConfig for HadoopIndexTask (#18758)
90d04596558 is described below
commit 90d045965583c641ad62a9c67b1088b8fa94911e
Author: Rohan Garg <77...@users.noreply.github.com>
AuthorDate: Wed Nov 19 13:18:38 2025 -0500
Bind LocalTmpStorageConfig for HadoopIndexTask (#18758)
---
.../main/java/org/apache/druid/indexer/HadoopDruidIndexerConfig.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/indexing-hadoop/src/main/java/org/apache/druid/indexer/HadoopDruidIndexerConfig.java b/indexing-hadoop/src/main/java/org/apache/druid/indexer/HadoopDruidIndexerConfig.java
index 664b7e5695f..dda44c6d6cd 100644
--- a/indexing-hadoop/src/main/java/org/apache/druid/indexer/HadoopDruidIndexerConfig.java
+++ b/indexing-hadoop/src/main/java/org/apache/druid/indexer/HadoopDruidIndexerConfig.java
@@ -37,6 +37,7 @@ import com.google.inject.Module;
import org.apache.druid.data.input.InputRow;
import org.apache.druid.data.input.impl.InputRowParser;
import org.apache.druid.guice.JsonConfigProvider;
+import org.apache.druid.guice.LazySingleton;
import org.apache.druid.guice.StartupInjectorBuilder;
import org.apache.druid.guice.annotations.Self;
import org.apache.druid.indexer.granularity.GranularitySpec;
@@ -55,6 +56,7 @@ import org.apache.druid.segment.IndexMergerV9;
import org.apache.druid.segment.IndexSpec;
import org.apache.druid.segment.loading.DataSegmentPusher;
import org.apache.druid.server.DruidNode;
+import org.apache.druid.storage.local.LocalTmpStorageConfig;
import org.apache.druid.timeline.DataSegment;
import org.apache.druid.timeline.partition.ShardSpec;
import org.apache.druid.timeline.partition.ShardSpecLookup;
@@ -118,6 +120,9 @@ public class HadoopDruidIndexerConfig
new DruidNode("hadoop-indexer", null, false, null, null, true, false)
);
JsonConfigProvider.bind(binder, "druid.hadoop.security.kerberos", HadoopKerberosConfig.class);
+ binder.bind(LocalTmpStorageConfig.class)
+ .toProvider(new LocalTmpStorageConfig.DefaultLocalTmpStorageConfigProvider("hadoop-indexer"))
+ .in(LazySingleton.class);
},
new IndexingHadoopModule()
)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org