You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2020/06/18 20:01:18 UTC
[GitHub] [hadoop] goiri commented on a change in pull request #2079: HDFS-15416. The addStorageLocations() method in the DataStorage class…
goiri commented on a change in pull request #2079:
URL: https://github.com/apache/hadoop/pull/2079#discussion_r442471181
##########
File path: hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataStorage.java
##########
@@ -388,6 +388,11 @@ static int getParallelVolumeLoadThreadsNum(int dataDirs, Configuration conf) {
try {
final List<StorageLocation> successLocations = loadDataStorage(
datanode, nsInfo, dataDirs, startOpt, executor);
+
+ if (successLocations.isEmpty()) {
Review comment:
Can we adjust the JIRA title to say something like this?
We should also have a test.
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org