Reamer commented on a change in pull request #3713: [ZEPPELIN-4718] Fix
Regression HDFS Notebook Storage
URL: https://github.com/apache/zeppelin/pull/3713#discussion_r402299141
##########
File path:
zeppelin-interpreter/src/main/java/org/apache/zeppelin/conf/ZeppelinConfiguration.java
##########
@@ -602,6 +602,10 @@ public boolean isWindowsPath(String path){
return path.matches("^[A-Za-z]:\\\\.*");
}
+ public boolean isHdfsPath(String path){
+ return path.matches("^hdfs://.*");
+ }
+
Review comment:
Why exclude something, for example http?
I think we should avoid a dependency to hadoop in this code part.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services