virajith commented on a change in pull request #452: HADOOP-16005: Add XAttr 
support to WASB and ABFS
URL: https://github.com/apache/hadoop/pull/452#discussion_r354065398
 
 

 ##########
 File path: 
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azure/NativeAzureFileSystem.java
 ##########
 @@ -3549,6 +3550,90 @@ public void setOwner(Path p, String username, String 
groupname)
     }
   }
 
+  /**
+   * Set the value of an attribute for a path.
+   *
+   * @param path The path on which to set the attribute
+   * @param xAttrName The attribute to set
+   * @param value The byte value of the attribute to set (encoded in utf-8)
+   * @param flag The mode in which to set the attribute
+   * @throws IOException If there was an issue setting the attribute on Azure
+   */
+  @Override
+  public void setXAttr(Path path, String xAttrName, byte[] value, 
EnumSet<XAttrSetFlag> flag) throws IOException {
 
 Review comment:
   Sorry about nit-picking but it would be good to just follow the formatting 
in other methods in this file. For example, you don't need new lines in the 
catch block and also remove 3588.

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