I'm working on native Custom Score scripts and trying to profile my code
--- but I do not know how to attach a profiler to my Elasticsearch
instance. I tried using the YourKit profiler, and followed its instructions
for enabling profiling both in a running JVM and in a new JVM with profiler
support --- both to no avail.
Is there a simple way of getting profiling information from Elasticsearch?
Should I try a different profiler? Bear in mind that this comes from a Java
beginner, so please be explicit!
maybe it helps, if you describe, what you tried already, so perhaps you are
just missing a tiny step and others can jump in to help. You could also try
jvisualvm (included in your JDK). Should work as easy as starting up
elasticsearch via commandline, then starting jvisualvm and selecting the
appropriate process - I also think, yourkit works the same, havent
installed it at the moment to verify though.
I'm working on native Custom Score scripts and trying to profile my code
--- but I do not know how to attach a profiler to my Elasticsearch
instance. I tried using the YourKit profiler, and followed its instructions
for enabling profiling both in a running JVM and in a new JVM with profiler
support --- both to no avail.
Is there a simple way of getting profiling information from Elasticsearch?
Should I try a different profiler? Bear in mind that this comes from a Java
beginner, so please be explicit!
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.