bilaharith commented on a change in pull request #2549:
URL: https://github.com/apache/hadoop/pull/2549#discussion_r548359550
##########
File path:
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystem.java
##########
@@ -363,6 +366,20 @@ public boolean delete(final Path f, final boolean
recursive) throws IOException
}
+ @Override
+ public ContentSummary getContentSummary(Path f) throws IOException {
+ org.apache.hadoop.fs.azurebfs.utils.ContentSummary contentSummary = null;
+ try {
+ contentSummary = (new
ContentSummaryProcessor(abfsStore)).getContentSummary(f);
+ } catch (InterruptedException e) {
+ e.printStackTrace();
Review comment:
Plase remove printstacktrace. Log the exception and rethrow as an
IOException.
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]