You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by "Xiangdong Huang (Jira)" <ji...@apache.org> on 2020/01/11 16:29:00 UTC

[jira] [Created] (IOTDB-415) MetricService may start failed and leak a socket resource

Xiangdong Huang created IOTDB-415:
-------------------------------------

             Summary: 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.1, 0.9.0
            Reporter: Xiangdong Huang
         Attachments: error.log

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)