-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HDFS-15416. DataStorage#addStorageLocations() should add more reasonable information verification. #2079
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
@@ -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()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we adjust the JIRA title to say something like this?
We should also have a test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you very much.
I have modified the source code and resubmitted it.
The title has been modified.
…ble information verification.
💔 -1 overall
This message was automatically generated. |
… is not perfect.
NOTICE
Please create an issue in ASF JIRA before opening a pull request,
and you need to set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. HADOOP-XXXXX. Fix a typo in YYY.)
For more details, please see https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute