c-w 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_r352265096
##########
File path:
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystem.java
##########
@@ -632,6 +634,85 @@ public void setOwner(final Path path, final String owner,
final String group)
}
}
+ /**
+ * Set the value of an attribute for a path.
+ *
+ * @param path The path on which to set the attribute
+ * @param name The attribute to set
+ * @param value The byte value of the attribute to set (encoded in latin-1)
+ * @param flag The mode in which to set the attribute
+ * @throws IOException If there was an issue setting the attribute on Azure
+ * @throws IllegalArgumentException If name is null or empty or if value is
null
+ */
+ @Override
+ public void setXAttr(Path path, String name, byte[] value,
EnumSet<XAttrSetFlag> flag)
Review comment:
Done in cf38833.
----------------------------------------------------------------
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]