CharlieYan24 commented on code in PR #4424: URL: https://github.com/apache/linkis/pull/4424#discussion_r1155669272
########## linkis-commons/linkis-common/src/main/java/org/apache/linkis/common/io/FsPath.java: ########## @@ -273,6 +271,10 @@ public String getSchemaPath() { if (WINDOWS && !"hdfs".equals(getFsType())) { return getFsType() + "://" + uri.getAuthority() + uri.getPath(); } + + if (uri.getPath().startsWith("/")) { + return getFsType() + "://" + uri.getPath().substring(1); Review Comment: Thank for your advice.I have fixed it, and have tested read/write operation on hdfs filesystem and OSS filesystem. Please have a further view thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@linkis.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@linkis.apache.org For additional commands, e-mail: notifications-h...@linkis.apache.org