[
https://issues.apache.org/jira/browse/ACCUMULO-4329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15317118#comment-15317118
]
Dave Marion commented on ACCUMULO-4329:
---------------------------------------
No, the port search works when enabled. I get the following in the monitor log:
```
Unable to start TServer
org.apache.thrift.transport.TTransportException: Could not create
ServerSocket on address localhost/127.0.0.1:10002.
at
org.apache.thrift.transport.TNonblockingServerSocket.<init>(TNonblockingServerSocket.java:96)
at
org.apache.thrift.transport.TNonblockingServerSocket.<init>(TNonblockingServerSocket.java:79)
at
org.apache.thrift.transport.TNonblockingServerSocket.<init>(TNonblockingServerSocket.java:75)
at
org.apache.accumulo.server.rpc.TServerUtils.createNonBlockingServer(TServerUtils.java:182)
at
org.apache.accumulo.server.rpc.TServerUtils.startTServer(TServerUtils.java:514)
at
org.apache.accumulo.server.rpc.TServerUtils.startTServer(TServerUtils.java:478)
at
org.apache.accumulo.server.rpc.TServerUtils.startServer(TServerUtils.java:154)
at
org.apache.accumulo.tserver.TabletServer.startReplicationService(TabletServer.java:2284)
at
org.apache.accumulo.tserver.TabletServer.run(TabletServer.java:2437)
at
org.apache.accumulo.tserver.TabletServer.main(TabletServer.java:2923)
at
org.apache.accumulo.tserver.TServerExecutable.execute(TServerExecutable.java:33)
at org.apache.accumulo.start.Main$1.run(Main.java:93)
at java.lang.Thread.run(Thread.java:745)
```
followed by:
```
Uncaught exception in TabletServer.main, exiting
java.lang.RuntimeException: Failed to start replication service
at
org.apache.accumulo.tserver.TabletServer.run(TabletServer.java:2439)
at
org.apache.accumulo.tserver.TabletServer.main(TabletServer.java:2923)
at
org.apache.accumulo.tserver.TServerExecutable.execute(TServerExecutable.java:33)
at org.apache.accumulo.start.Main$1.run(Main.java:93)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.UnknownHostException: Unable to find a listen port
at
org.apache.accumulo.server.rpc.TServerUtils.startServer(TServerUtils.java:173)
at
org.apache.accumulo.tserver.TabletServer.startReplicationService(TabletServer.java:2284)
at
org.apache.accumulo.tserver.TabletServer.run(TabletServer.java:2437)
... 4 more
```
> TabletServer won't start if it cannot reserve replication port
> --------------------------------------------------------------
>
> Key: ACCUMULO-4329
> URL: https://issues.apache.org/jira/browse/ACCUMULO-4329
> Project: Accumulo
> Issue Type: Bug
> Components: tserver
> Affects Versions: 1.8.0
> Reporter: Dave Marion
>
> TabletServer will not start if it cannot reserve the configured replication
> port. The code passes `null` for enabling the port search feature, which
> resolves to `false`, and the TServer fails.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)