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

morningman pushed a commit to branch dev-1.0.1
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git

commit f6326f459802dc7cceff25b772ad50391d04d382
Author: dataalive <[email protected]>
AuthorDate: Tue Mar 29 18:21:41 2022 +0800

    [Improvement] broker load with hdfs support wildcard (#8718)
    
     broker load with hdfs support wildcard
---
 fe/fe-core/src/main/java/org/apache/doris/common/util/BrokerUtil.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/common/util/BrokerUtil.java 
b/fe/fe-core/src/main/java/org/apache/doris/common/util/BrokerUtil.java
index d823a21..9e170e4 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/common/util/BrokerUtil.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/common/util/BrokerUtil.java
@@ -187,7 +187,7 @@ public class BrokerUtil {
             }
             try {
                 FileSystem fs = FileSystem.get(new URI(hdfsFsName), conf, 
user);
-                FileStatus[] statusList = fs.listStatus(new Path(path));
+                FileStatus[] statusList = fs.globStatus(new Path(path));
                 for (FileStatus status : statusList) {
                     if (status.isFile()) {
                         fileStatuses.add(new 
TBrokerFileStatus(status.getPath().toUri().getPath(),

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

Reply via email to