Skip to content

Commit 2af6c2b

Browse files
author
zengqiang.xu
committed
HDFS-16704. Modify patch based on comment
1 parent ba1eaeb commit 2af6c2b

File tree

1 file changed

+1
-1
lines changed
  • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode

1 file changed

+1
-1
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3630,7 +3630,7 @@ public String getBPServiceActorInfo() {
36303630
public String getVolumeInfo() {
36313631
if (data == null) {
36323632
LOG.debug("Storage not yet initialized.");
3633-
return JSON.toString(new HashMap<String, Object>());
3633+
return "";
36343634
}
36353635
return JSON.toString(data.getVolumeInfoMap());
36363636
}

0 commit comments

Comments
 (0)