Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[geomesa-users] number of threads constantly increasing


Hello,

I'm using Geomesa to store large amount of data, and I noticed that while the insertion is running, the number of threads run by the application is constantly increasing (especially those named "BatchWriterLatencyTimer", see picture attached). After looking into the JConsole, it seems that these threads are created in the file AccumuloBackedMetadata.scala (https://github.com/locationtech/geomesa/blob/master/geomesa-accumulo/geomesa-accumulo-datastore/src/main/scala/org/locationtech/geomesa/accumulo/data/AccumuloBackedMetadata.scala) which through the method "write", call an Accumulo method creating the threads (https://github.com/Sciumo/Accumulo/blob/master/src/core/src/main/java/org/apache/accumulo/core/client/impl/TabletServerBatchWriter.java).
On a big insertion (billions of points), the number of threads was so high it caused an OutOfMemoryError, as no more threads could be created.

Do you have any idea of what could prevent this behavior?

Thank you.

Rémi Grisot
Ce message et toutes les pièces jointes (ci-après le "message") sont établis à l’intention exclusive des destinataires désignés. Il contient des informations confidentielles et pouvant être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de détruire le message. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse de l’émetteur. L'internet ne garantissant pas l'intégrité de ce message lors de son acheminement, Atos (et ses filiales) décline(nt) toute responsabilité au titre de son contenu. Bien que ce message ait fait l’objet d’un traitement anti-virus lors de son envoi, l’émetteur ne peut garantir l’absence totale de logiciels malveillants dans son contenu et ne pourrait être tenu pour responsable des dommages engendrés par la transmission de l’un d’eux.

This message and any attachments (the "message") are intended solely for the addressee(s). It contains confidential information, that may be privileged. If you receive this message in error, please notify the sender immediately and delete the message. Any use of the message in violation of its purpose, any dissemination or disclosure, either wholly or partially is strictly prohibited, unless it has been explicitly authorized by the sender. As its integrity cannot be secured on the internet, Atos and its subsidiaries decline any liability for the content of this message. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.

Attachment: threads1.png
Description: threads1.png


Back to the top