steveloughran 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_r327565927
 
 

 ##########
 File path: 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/AbstractFileSystem.java
 ##########
 @@ -1371,4 +1373,16 @@ public boolean equals(Object other) {
         new CompletableFuture<>(), () -> open(path, bufferSize));
   }
 
+  public boolean hasPathCapability(final Path path,
+      final String capability)
 
 Review comment:
   > Was curious about examples where different paths in the same FS would have 
different capabilities.
   
   Files HDFS encryption zones behave differently; viewfs relays things, and 
any DFS whose mount points may have different semantics can do it. Oh, and WASB 
has an option for special path where leases need to be acquired before renames 
-HBase needs that

----------------------------------------------------------------
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]

Reply via email to