prashantwason opened a new pull request #2070:
URL: https://github.com/apache/hudi/pull/2070
## What is the purpose of the pull request
When unit tests are run on shared machines (e.g. jenkins cluster), the unit
tests sometimes fail due to BindException in starting HDFS Cluster. This is
because the port chosen may have been bound by another process using the same
machine. The fix is to retry the port selection a few times.
## Brief change log
Added a loop when creating HDFS Cluster.
## Verify this pull request
This pull request is a trivial rework / code cleanup without any test
coverage.
## Committer checklist
- [ ] Has a corresponding JIRA in PR title & commit
- [ ] Commit message is descriptive of the change
- [ ] CI is green
- [ ] Necessary doc changes done or have another open PR
- [ ] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
----------------------------------------------------------------
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:
[email protected]