<?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: metron script prune_elasticsearch_indeces.sh in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/metron-script-prune-elasticsearch-indeces-sh/m-p/209170#M69173</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/499/jsirota.html" nodeid="499"&gt;@jsirota&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thank you for your reply and thank you for the information on the next release as well as available tool.&lt;/P&gt;&lt;P&gt;I found a workaround to delete in indexes through ElasticSearch plugin via json delete query.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 02 Nov 2017 02:11:47 GMT</pubDate>
    <dc:creator>nnat25191</dc:creator>
    <dc:date>2017-11-02T02:11:47Z</dc:date>
    <item>
      <title>metron script prune_elasticsearch_indeces.sh</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/metron-script-prune-elasticsearch-indeces-sh/m-p/209168#M69171</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have Metron cluster setup and it's been running. The data in ElasticSearch is starting to fill up pretty quickly and I wanted to use the functionality that came with Metron to prune ElasticSearch index. However, I could not find documentation regarding prune_elasticsearch_indeces.sh and i'm getting exception of ClassNotFound. If you have used this tool before or know how to run it properly or if I'm missing any installation for the missing library, please shed some lights. Thank you!&lt;/P&gt;&lt;PRE&gt;/usr/metron/0.4.0/bin/prune_elasticsearch_indices.sh -s 09/28/17 -n 2 -p bro_ -z master:2181,node-1:2181,node-2:2181&lt;/PRE&gt;&lt;PRE&gt;17/10/06 14:55:03 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=hadoop-master:2181,hadoop-slave-1:2181,hadoop-slave-2:2181 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@6a801d4b
17/10/06 14:55:03 INFO zookeeper.ClientCnxn: Opening socket connection to server hadoop-master/172.16.8.236:2181. Will not attempt to authenticate using SASL (unknown error)
17/10/06 14:55:03 INFO zookeeper.ClientCnxn: Socket connection established to hadoop-master/172.16.8.236:2181, initiating session
17/10/06 14:55:03 INFO zookeeper.ClientCnxn: Session establishment complete on server hadoop-master/172.16.8.236:2181, sessionid = 0x15ef200cb570461, negotiated timeout = 60000
17/10/06 14:55:03 INFO state.ConnectionStateManager: State change: CONNECTED
17/10/06 14:55:04 INFO elasticsearch.plugins: [Bloodstorm] modules [], plugins [], sites []
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.metron.guava.dataload.util.concurrent.MoreExecutors.directExecutor()Ljava/util/concurrent/Executor;
	at org.elasticsearch.threadpool.ThreadPool.&amp;lt;clinit&amp;gt;(ThreadPool.java:190)
	at org.elasticsearch.client.transport.TransportClient$Builder.build(TransportClient.java:131)
	at org.apache.metron.dataloads.bulk.ElasticsearchDataPrunerRunner.main(ElasticsearchDataPrunerRunner.java:103)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.hadoop.util.RunJar.run(RunJar.java:233)
	at org.apache.hadoop.util.RunJar.main(RunJar.java:148)

&lt;/PRE&gt;</description>
      <pubDate>Sat, 07 Oct 2017 02:01:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/metron-script-prune-elasticsearch-indeces-sh/m-p/209168#M69171</guid>
      <dc:creator>nnat25191</dc:creator>
      <dc:date>2017-10-07T02:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: metron script prune_elasticsearch_indeces.sh</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/metron-script-prune-elasticsearch-indeces-sh/m-p/209169#M69172</link>
      <description>&lt;P&gt;Pruner will be deprecated in the next version of Metron.  I would recommend using the Elastic Search curator to accomplish this.  &lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/elastic/curator" target="_blank"&gt;https://github.com/elastic/curator&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Oct 2017 02:24:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/metron-script-prune-elasticsearch-indeces-sh/m-p/209169#M69172</guid>
      <dc:creator>jsirota</dc:creator>
      <dc:date>2017-10-28T02:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: metron script prune_elasticsearch_indeces.sh</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/metron-script-prune-elasticsearch-indeces-sh/m-p/209170#M69173</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/499/jsirota.html" nodeid="499"&gt;@jsirota&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thank you for your reply and thank you for the information on the next release as well as available tool.&lt;/P&gt;&lt;P&gt;I found a workaround to delete in indexes through ElasticSearch plugin via json delete query.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 02:11:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/metron-script-prune-elasticsearch-indeces-sh/m-p/209170#M69173</guid>
      <dc:creator>nnat25191</dc:creator>
      <dc:date>2017-11-02T02:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: metron script prune_elasticsearch_indeces.sh</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/metron-script-prune-elasticsearch-indeces-sh/m-p/209171#M69174</link>
      <description>&lt;P&gt;No problem. Please reach out if there is anything else we can help you with &lt;/P&gt;</description>
      <pubDate>Sat, 04 Nov 2017 01:18:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/metron-script-prune-elasticsearch-indeces-sh/m-p/209171#M69174</guid>
      <dc:creator>jsirota</dc:creator>
      <dc:date>2017-11-04T01:18:34Z</dc:date>
    </item>
  </channel>
</rss>

