-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HDFS-16458. [SPS]: Fix bug for unit test of reconfiguring SPS mode #3998
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. |
|
Hi @jojochuang @tasanuma @ferhui , PTAL. Thanks. |
ferhui
left a comment
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.
LGTM
|
@tomscut BTW, it is better to add the issue num within commit message next time.:) |
|
Hi @ferhui , could you please merge this? Thank you. |
|
@tomscut Sorry, forgot to modify the commit message. |
JIRA: HDFS-16458.
TestNameNodeReconfigure#verifySPSEnabled was compared with itself(
isSPSRunning) at assertEquals.In addition, after an
internal SPShas been removed,spsService daemonwill not start within StoragePolicySatisfyManager. I think the relevant code can be removed to simplify the code.IMO, after reconfig SPS mode, we just need to confirm whether the mode is correct and whether spsManager is NULL.