[
https://issues.apache.org/jira/browse/IOTDB-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jialin Qiao closed IOTDB-415.
-----------------------------
Fix Version/s: 0.10.0-SNAPSHOT
Resolution: Fixed
> MetricService may start failed and leak a socket resource
> ---------------------------------------------------------
>
> Key: IOTDB-415
> URL: https://issues.apache.org/jira/browse/IOTDB-415
> Project: Apache IoTDB
> Issue Type: Bug
> Affects Versions: 0.9.0, 0.9.1
> Reporter: Xiangdong Huang
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.10.0-SNAPSHOT
>
> Attachments: error.log
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Example: [https://travis-ci.org/apache/incubator-iotdb/jobs/635631638]
> Error log can be found in attachment.
> The reason analysis:
> The SocketServer starts successfully. But there is an exception in
> `server.join()`.
> Then `executorService.execute(new MetricsServiceThread(server));` throws a
> null pointer.
> Then IoTDB wants to quite but the socketserver is not closed.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)