Repository navigation
[BEAM-6268] Adjust Cassandra ports - #7317
Conversation
|
R: @mxm |
mxm
left a comment
There was a problem hiding this comment.
Thanks for the PR @aromanenko-dev! I think it looks good.
As a suggestion, I'd prefer if the ports were dynamically allocated (port 0). This would avoid any clashes with parallel tests which happen to use the same port.
| # TCP port, for commands and data | ||
| # For security reasons, you should not expose this port to the internet. Firewall it if needed. | ||
| storage_port: 7000 | ||
| storage_port: 17000 |
There was a problem hiding this comment.
Is there also an option to use port 0 to use a free port?
There was a problem hiding this comment.
Yes, I think it makes sense to set it to 0. I tried it locally and seems it works. Let's wait for Jenkins though.
9751266 to
4372490
Compare
|
Seems to be failing with Is this related to the 0 port change? |
|
No, I think it's a different one. I'm trying to find a way how to fix it. |
4372490 to
ba81725
Compare
|
This pull request has been marked as stale due to 60 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@beam.apache.org list. Thank you for your contributions. |
|
@aromanenko-dev What is the state here? |
|
@mxm I'm going to fix this |
2d74a71 to
1f48611
Compare
1f48611 to
0fd297e
Compare
|
Run Java PreCommit |
mxm
left a comment
There was a problem hiding this comment.
Looks good to me. Arguably, there is still some potential conflict possible for parallel test instances (e.g. from a different PR) but that is much less likely than previously, where two Cassandra tests could conflict with each other. The best solution would be to use dynamic ports, but looks good to me for now.
Embedded Cassandra ports of
hadoop-input-formatshould be adjusted to avoid conflicts withhadoop-formatCassandra testsFollow this checklist to help us incorporate your contribution quickly and easily:
[BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replaceBEAM-XXXwith the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.It will help us expedite review of your Pull Request if you tag someone (e.g.
@username) to look at it.Post-Commit Tests Status (on master branch)