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

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


The following commit(s) were added to refs/heads/master by this push:
     new 2de7d46256 Fix FS props handling when using /ingestFromUri (#10480)
2de7d46256 is described below

commit 2de7d462560444a3d5cfd759fb7022dd8d894a49
Author: Saurabh Dubey <[email protected]>
AuthorDate: Tue Apr 4 10:11:43 2023 +0530

    Fix FS props handling when using /ingestFromUri (#10480)
    
    Co-authored-by: Saurabh Dubey <[email protected]>
---
 .../java/org/apache/pinot/controller/util/FileIngestionHelper.java     | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/pinot-controller/src/main/java/org/apache/pinot/controller/util/FileIngestionHelper.java
 
b/pinot-controller/src/main/java/org/apache/pinot/controller/util/FileIngestionHelper.java
index 5ef3bc43ce..3c3a335bd7 100644
--- 
a/pinot-controller/src/main/java/org/apache/pinot/controller/util/FileIngestionHelper.java
+++ 
b/pinot-controller/src/main/java/org/apache/pinot/controller/util/FileIngestionHelper.java
@@ -179,8 +179,7 @@ public class FileIngestionHelper {
     String sourceFileURIScheme = sourceFileURI.getScheme();
     if (!PinotFSFactory.isSchemeSupported(sourceFileURIScheme)) {
       PinotFSFactory.register(sourceFileURIScheme, 
batchConfigMap.get(BatchConfigProperties.INPUT_FS_CLASS),
-          
IngestionConfigUtils.getInputFsProps(IngestionConfigUtils.getConfigMapWithPrefix(
-              batchConfigMap, BatchConfigProperties.INPUT_FS_PROP_PREFIX)));
+          IngestionConfigUtils.getInputFsProps(batchConfigMap));
     }
     PinotFSFactory.create(sourceFileURIScheme).copyToLocalFile(sourceFileURI, 
destFile);
   }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to