-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HDFS-16522. Set Http and Ipc ports for Datanodes in MiniDFSCluster #4108
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. |
|
hadoop-dynamometer-infra failure is not relevant because the mvn test doesn't seem to be running after compiling hadoop-hdfs module from this patch. Running the same in local: |
|
🎊 +1 overall
This message was automatically generated. |
| Configuration[] dnConfOverlays, | ||
| int[] dnHttpPorts, | ||
| int[] dnIpcPorts) throws IOException { |
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.
I think it is a safe change. This class is @InterfaceAudience.LimitedPrivate({"HBase", "HDFS", "Hive", "MapReduce", "Pig"}). I checked the source code of Hive, HBase, and Pig. The method signature is not used anywhere.
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestMiniDFSCluster.java
Outdated
Show resolved
Hide resolved
|
Thank you @virajjasani for your patch. The test maybe flaky when there are multiple tests running in parallel because some test can bind the port that is collected by |
Done, thanks. |
|
💔 -1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
@aajisaka I have addressed the comments in the latest revision. Could you please take a look when you get the bandwidth? |
aajisaka
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.
+1. Thank you @virajjasani
|
Thank you @aajisaka for the review. |
|
Is this good for merging? Thanks |
|
Merged. Thank you @virajjasani for your contribution! |
…4108) Signed-off-by: Akira Ajisaka <[email protected]> (cherry picked from commit 7c20602)
…pache#4108) Signed-off-by: Akira Ajisaka <[email protected]>
Description of PR
Provide options to set Http and Ipc ports for Datanodes in MiniDFSCluster.
How was this patch tested?
UT
For code changes: