kokonguyen191 commented on code in PR #8144:
URL: https://github.com/apache/hadoop/pull/8144#discussion_r3025652193
##########
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/Storage.java:
##########
@@ -403,14 +403,20 @@ public StorageDirType getStorageDirType() {
/**
* Get storage directory size.
*/
- public long getDirecorySize() {
- try {
- if (!isShared() && root != null && root.exists()) {
- return FileUtils.sizeOfDirectory(root);
+ public long getDirectorySize() {
Review Comment:
Reverted the change, kept the typo fix
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]