<p dir="auto">To reproduce:</p>
<ul dir="auto">
<li>Create multiple indexes</li>
<li>Search on all indexes, with a search size of 2_000_000_000</li>
<li>Run test with a normal, low -Xmx</li>
</ul>
<p dir="auto">I expect to be able to set a high search size to return all total values, even if all the indexes are small.</p>
<p dir="auto">Happens in v. 1.1.2. I haven't tested other versions yet.<br>
I can create a Java Unit test sometime later if you need me to.</p>
<p dir="auto">Hi Folks,</p>
<p dir="auto">We're currently using the official elasticsearch/elasticsearch-repository-hdfs/2.0.2-light plugin to support HDFS snapshots. In our environment we use Cloudera Distribution Hadoop, so we need to supply these jars on startup into the Elasticsearch Java classpath.<br>
<a href="https://github.com/elasticsearch/elasticsearch-hadoop/tree/master/repository-hdfs">https://github.com/elasticsearch/elasticsearch-hadoop/tree/master/repository-hdfs</a></p>
<p dir="auto">As another point of reference, we're also using the official Puppet module in our environment so this problem would apply to both the supplied RPM files here as well as the Puppet file templates.<br>
<a href="https://github.com/elasticsearch/puppet-elasticsearch/blob/master/templates/etc/init.d/elasticsearch.RedHat.erb">https://github.com/elasticsearch/puppet-elasticsearch/blob/master/templates/etc/init.d/elasticsearch.RedHat.erb</a></p>
<p dir="auto">Currently, I provide <code class="notranslate">ES_CLASSPATH="$ES_CLASSPATH:/path/to/hadoop/jars"</code> in our /etc/sysconfig/elasticsearch and add an additional line in /etc/init.d/elasticsearch <code class="notranslate">export ES_CLASSPATH</code> (since the official Puppet module doesn't support <code class="notranslate">export ES_CLASSPATH="..."</code> directly).</p>
<p dir="auto">Should the SysV init script include <code class="notranslate">export ES_CLASSPATH</code> like the other <code class="notranslate">export ES_JAVA_OPTS</code>, <code class="notranslate">export ES_HEAP_SIZE</code>, etc. environments variables in there for consistency? I wouldn't mind submitting a pull request to add this if it makes sense.</p>
<p dir="auto">Thanks!<br>
Brian</p>