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

jackie 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 c5e8ddf  Fix misleading error msg for missing URI (#7367)
c5e8ddf is described below

commit c5e8ddfd21c8fe5ed8195cc31334fde066e91ee1
Author: Ken Krugler <k...@transpac.com>
AuthorDate: Wed Aug 25 16:44:07 2021 -0700

    Fix misleading error msg for missing URI (#7367)
---
 .../src/main/java/org/apache/pinot/plugin/filesystem/HadoopPinotFS.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/pinot-plugins/pinot-file-system/pinot-hdfs/src/main/java/org/apache/pinot/plugin/filesystem/HadoopPinotFS.java
 
b/pinot-plugins/pinot-file-system/pinot-hdfs/src/main/java/org/apache/pinot/plugin/filesystem/HadoopPinotFS.java
index 4942f82..bb96296 100644
--- 
a/pinot-plugins/pinot-file-system/pinot-hdfs/src/main/java/org/apache/pinot/plugin/filesystem/HadoopPinotFS.java
+++ 
b/pinot-plugins/pinot-file-system/pinot-hdfs/src/main/java/org/apache/pinot/plugin/filesystem/HadoopPinotFS.java
@@ -150,7 +150,7 @@ public class HadoopPinotFS extends PinotFS {
         filePathStrings.add(file.getPath().toString());
       }
     } else {
-      throw new IllegalArgumentException("segmentUri is not valid");
+      throw new IllegalArgumentException("fileUri does not exist: " + fileUri);
     }
     String[] retArray = new String[filePathStrings.size()];
     filePathStrings.toArray(retArray);

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to