[
https://issues.apache.org/jira/browse/HDDS-3181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-3181:
-----------------------------------
Fix Version/s: 1.0.0
> Intermittent failure in TestReconWithOzoneManager due to BindException
> ----------------------------------------------------------------------
>
> Key: HDDS-3181
> URL: https://issues.apache.org/jira/browse/HDDS-3181
> Project: Apache Ozone
> Issue Type: Bug
> Components: test
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> TestReconWithOzoneManager may fail with BindException:
> {code:title=https://github.com/apache/hadoop-ozone/pull/677/checks?check_run_id=507376007}
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 19.707 s <<<
> FAILURE! - in org.apache.hadoop.ozone.recon.TestReconWithOzoneManager
> org.apache.hadoop.ozone.recon.TestReconWithOzoneManager Time elapsed: 19.706
> s <<< ERROR!
> picocli.CommandLine$ExecutionException: Error while calling command
> (org.apache.hadoop.ozone.recon.ReconServer@23f74a49): java.net.BindException:
> Port in use: 0.0.0.0:36263
> ...
> at
> org.apache.hadoop.ozone.MiniOzoneClusterImpl$Builder.build(MiniOzoneClusterImpl.java:534)
> at
> org.apache.hadoop.ozone.recon.TestReconWithOzoneManager.init(TestReconWithOzoneManager.java:109)
> ...
> Caused by: java.net.BindException: Port in use: 0.0.0.0:36263
> at
> org.apache.hadoop.hdds.server.http.HttpServer2.constructBindException(HttpServer2.java:1200)
> at
> org.apache.hadoop.hdds.server.http.HttpServer2.bindForSinglePort(HttpServer2.java:1222)
> at
> org.apache.hadoop.hdds.server.http.HttpServer2.openListeners(HttpServer2.java:1281)
> at
> org.apache.hadoop.hdds.server.http.HttpServer2.start(HttpServer2.java:1136)
> at
> org.apache.hadoop.hdds.server.http.BaseHttpServer.start(BaseHttpServer.java:252)
> at org.apache.hadoop.ozone.recon.ReconServer.start(ReconServer.java:128)
> at org.apache.hadoop.ozone.recon.ReconServer.call(ReconServer.java:106)
> at org.apache.hadoop.ozone.recon.ReconServer.call(ReconServer.java:50)
> at picocli.CommandLine.execute(CommandLine.java:1173)
> ... 27 more
> {code}
> {code:title=test output}
> 2020-03-14 06:17:08,677 [main] INFO http.BaseHttpServer
> (BaseHttpServer.java:updateConnectorAddress(284)) - HTTP server of
> ozoneManager listening at http://0.0.0.0:36263
> ...
> 2020-03-14 06:17:11,589 [main] INFO http.BaseHttpServer
> (BaseHttpServer.java:newHttpServer2BuilderForOzone(170)) - Starting
> Web-server for recon at: http://0.0.0.0:36263
> ...
> 2020-03-14 06:17:12,756 [main] INFO recon.ReconServer
> (ReconServer.java:start(125)) - Starting Recon server
> 2020-03-14 06:17:12,757 [main] INFO http.HttpServer2
> (HttpServer2.java:start(1139)) - HttpServer.start() threw a non Bind
> IOException
> java.net.BindException: Port in use: 0.0.0.0:36263
> ...
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]