<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Solr, Adding a Javaagent in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Solr-Adding-a-Javaagent/m-p/188205#M150303</link>
    <description>&lt;P&gt;In Ambari under Solr there is a box for environment stuff. I don't have Ambari in front of me right now but you should be able to add a line like so:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;SOLR_OPTS="$SOLR_OPTS -javaagent...."&lt;/PRE&gt;</description>
    <pubDate>Fri, 12 Jan 2018 02:30:39 GMT</pubDate>
    <dc:creator>risdenk</dc:creator>
    <dc:date>2018-01-12T02:30:39Z</dc:date>
    <item>
      <title>Solr, Adding a Javaagent</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Solr-Adding-a-Javaagent/m-p/188204#M150302</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Probably a simple question. I am attempting to run a javaagent in the form of the jmx metrics exporter to prometheus jar file. I can kick off the java agent manually on each server but it would be preferred if I could add the command to the Solr Env file so Ambari manages start/stop of it with Solr.&lt;/P&gt;&lt;P&gt;Here is the working syntax I use when starting Solr not managed by Ambari. I am not sure where to add this on Solr's Ambari configuration as I have not been successful in getting it to work yet.&lt;/P&gt;&lt;P&gt;-a
"-javaagent:/incubate/solr_jmx/solr-7.1.0/jmx/jmx_prometheus_javaagent-0.1.0.jar=7500:/incubate/solr_jmx/solr-7.1.0/jmx/config.yml"&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2018 01:11:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Solr-Adding-a-Javaagent/m-p/188204#M150302</guid>
      <dc:creator>zachary_atkinso</dc:creator>
      <dc:date>2018-01-12T01:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Solr, Adding a Javaagent</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Solr-Adding-a-Javaagent/m-p/188205#M150303</link>
      <description>&lt;P&gt;In Ambari under Solr there is a box for environment stuff. I don't have Ambari in front of me right now but you should be able to add a line like so:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;SOLR_OPTS="$SOLR_OPTS -javaagent...."&lt;/PRE&gt;</description>
      <pubDate>Fri, 12 Jan 2018 02:30:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Solr-Adding-a-Javaagent/m-p/188205#M150303</guid>
      <dc:creator>risdenk</dc:creator>
      <dc:date>2018-01-12T02:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Solr, Adding a Javaagent</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Solr-Adding-a-Javaagent/m-p/188206#M150304</link>
      <description>&lt;P&gt;Hey Kevin, I have tried this syntax. It allows SOLR to load but it does not kick off the agent. I added my line to the JAVA_MEM variable in ambari and that seems to work. This issue is solved for me. Thank you for taking the time to comment.&lt;BR /&gt;&lt;BR /&gt;# Increase Java Min/Max Heap as needed to support your indexing / query needs
&lt;BR /&gt;SOLR_JAVA_MEM="-Xms{{solr_min_mem}}m -Xmx{{solr_max_mem}}m \
&lt;BR /&gt;-javaagent:/data/solr_jmx_exporter/jmx_prometheus_javaagent-0.10.jar=7500:/data/solr_jmx_exporter/solr_jmx_exporter.yml \&lt;BR /&gt;"&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2018 02:40:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Solr-Adding-a-Javaagent/m-p/188206#M150304</guid>
      <dc:creator>zachary_atkinso</dc:creator>
      <dc:date>2018-01-12T02:40:54Z</dc:date>
    </item>
  </channel>
</rss>

