adamantal commented on a change in pull request #568: HADOOP-15691 Add
PathCapabilities to FS and FC to complement StreamCapabilities
URL: https://github.com/apache/hadoop/pull/568#discussion_r295742919
##########
File path:
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
##########
@@ -2017,6 +2027,36 @@ public void setTestProvider(KeyProvider kp) {
testProvider = kp;
}
+ /**
+ * This filesystem's capabilities must be in sync with that of HDFS.
Review comment:
Couldn't we enforce that two function must be in sync? I consider this a bit
dangerous.
I'm thinking of moving the switch part (which is basically a static
function) to a helper class?
----------------------------------------------------------------
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]