-
Notifications
You must be signed in to change notification settings - Fork 9k
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
HDFS-17761. [ARR] RouterNetworkTopologyServlet adapts to async router rpc. #7533
base: trunk
Are you sure you want to change the base?
Conversation
e538f20
to
af2df38
Compare
@KeeProMise Could you please help review this pr when have free time? |
🎊 +1 overall
This message was automatically generated. |
The checkstyle problem was caused by #7535 , which has been reverted. ![]() |
🎊 +1 overall
This message was automatically generated. |
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.
Hi @hfutatzhanghb Thanks for your contribution. Leave some comments.
.../main/java/org/apache/hadoop/hdfs/server/federation/router/RouterNetworkTopologyServlet.java
Outdated
Show resolved
Hide resolved
...t/java/org/apache/hadoop/hdfs/server/federation/router/TestRouterNetworkTopologyServlet.java
Outdated
Show resolved
Hide resolved
🎊 +1 overall
This message was automatically generated. |
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! hi @slfan1989 If you have time, please help review the unit test.
@KeeProMise Thank you for inviting me to review this PR! I will check the related unit tests as soon as possible. We are in the process of upgrading the HDFS Router to JUnit5, and one PR has already been merged, while another PR (#7531) has been approved. Once #7531 is merged, I plan to monitor it for 1-2 days to ensure everything is working correctly, and then we will merge this PR. Therefore, the merge of this PR may be delayed until this weekend or early next week. cc: @hfutatzhanghb |
No problems! Thanks @slfan1989 @KeeProMise . |
820b870
to
85f28de
Compare
🎊 +1 overall
This message was automatically generated. |
Description of PR
RouterNetworkTopologyServlet adapts to async router rpc.
Currently, we will get NPE when request RouterNetworkTopologyServlet using async router rpc. Logs as below:
How was this patch tested?
Add an unit test.