<?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 - Elasticseach service unavailable (message in Kibana) in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Elasticseach-service-unavailable-message-in-Kibana/m-p/185335#M64828</link>
    <description>&lt;P&gt;I have the same problem &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; is there any one resolve this problem&lt;/P&gt;,&lt;P&gt;i have same problem  &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;  is there any one resolve this problem &lt;/P&gt;</description>
    <pubDate>Wed, 01 Aug 2018 11:12:27 GMT</pubDate>
    <dc:creator>pengiridis</dc:creator>
    <dc:date>2018-08-01T11:12:27Z</dc:date>
    <item>
      <title>Metron - Elasticseach service unavailable (message in Kibana)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Elasticseach-service-unavailable-message-in-Kibana/m-p/185330#M64823</link>
      <description>&lt;P&gt;I would to ask you support for an installation of HCP that we are testing.&lt;/P&gt;&lt;P&gt;
We follow the installation guide of HCP (Metron) on the doc of Hortonworks website. When we try to access the kibana web interface I got the message “plugin elasticsearch: service unavailable”.&lt;/P&gt;&lt;P&gt;On the ambari side everthing is fine.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="19431-kibana-issue-copy.jpg" style="width: 1264px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18895iC51E792AB396C4CF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="19431-kibana-issue-copy.jpg" alt="19431-kibana-issue-copy.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The strange thing is that if I do a curl cmd to the elasticsearch master I got this reply, so I assume that the elasticsearch works correctly.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="19432-curl-elasticsearch-copy.jpg" style="width: 1084px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18896i570FA5A2F067AF9A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="19432-curl-elasticsearch-copy.jpg" alt="19432-curl-elasticsearch-copy.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea how to handle this issue? Where should we have a look? (log, config, etc..)&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Michel&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 08:23:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Elasticseach-service-unavailable-message-in-Kibana/m-p/185330#M64823</guid>
      <dc:creator>msumbul1</dc:creator>
      <dc:date>2019-08-18T08:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Metron - Elasticseach service unavailable (message in Kibana)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Elasticseach-service-unavailable-message-in-Kibana/m-p/185331#M64824</link>
      <description>&lt;P&gt;The problem has been solve by changing the parameters in ambari=&amp;gt; elasticsearch :


- &lt;STRONG&gt;expected_data_nodes&lt;/STRONG&gt; with the good number of datanodes &lt;/P&gt;&lt;P&gt;- &lt;STRONG&gt;gateway_recover_after_data_nodes &lt;/STRONG&gt;. with the good number&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 19:52:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Elasticseach-service-unavailable-message-in-Kibana/m-p/185331#M64824</guid>
      <dc:creator>msumbul1</dc:creator>
      <dc:date>2017-07-13T19:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Metron - Elasticseach service unavailable (message in Kibana)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Elasticseach-service-unavailable-message-in-Kibana/m-p/185332#M64825</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/19449/msumbul.html" nodeid="19449"&gt;@msumbul&lt;/A&gt; What is the good number for&lt;STRONG&gt; expected_data_nodes? i have the same issue running on single node&lt;/STRONG&gt;
&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 05:18:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Elasticseach-service-unavailable-message-in-Kibana/m-p/185332#M64825</guid>
      <dc:creator>ankur_vyavahark</dc:creator>
      <dc:date>2017-07-14T05:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Metron - Elasticseach service unavailable (message in Kibana)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Elasticseach-service-unavailable-message-in-Kibana/m-p/185333#M64826</link>
      <description>&lt;P&gt;I have tried this but its not working properly. Please tell me how should I resolve this problem&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/19533-screen-shot-2017-07-22-at-113957-am.png"&gt;screen-shot-2017-07-22-at-113957-am.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jul 2017 13:22:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Elasticseach-service-unavailable-message-in-Kibana/m-p/185333#M64826</guid>
      <dc:creator>rajanigandha_pr</dc:creator>
      <dc:date>2017-07-22T13:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Metron - Elasticseach service unavailable (message in Kibana)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Elasticseach-service-unavailable-message-in-Kibana/m-p/185334#M64827</link>
      <description>&lt;P&gt;is there any update for this.i have same problem&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 16:47:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Elasticseach-service-unavailable-message-in-Kibana/m-p/185334#M64827</guid>
      <dc:creator>muslum_beylik</dc:creator>
      <dc:date>2018-01-03T16:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Metron - Elasticseach service unavailable (message in Kibana)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Elasticseach-service-unavailable-message-in-Kibana/m-p/185335#M64828</link>
      <description>&lt;P&gt;I have the same problem &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; is there any one resolve this problem&lt;/P&gt;,&lt;P&gt;i have same problem  &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;  is there any one resolve this problem &lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 11:12:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Elasticseach-service-unavailable-message-in-Kibana/m-p/185335#M64828</guid>
      <dc:creator>pengiridis</dc:creator>
      <dc:date>2018-08-01T11:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Metron - Elasticseach service unavailable (message in Kibana)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Elasticseach-service-unavailable-message-in-Kibana/m-p/185336#M64829</link>
      <description>&lt;P&gt;I have 1 master node, and 2 data nodes my settings are: &lt;BR /&gt;&lt;BR /&gt;expected_data_nodes: 0&lt;/P&gt;&lt;P&gt;gateway_recover_after_data_nodes: 1&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 18:19:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Elasticseach-service-unavailable-message-in-Kibana/m-p/185336#M64829</guid>
      <dc:creator>stevenmatison</dc:creator>
      <dc:date>2018-08-01T18:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Metron - Elasticseach service unavailable (message in Kibana)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Elasticseach-service-unavailable-message-in-Kibana/m-p/185337#M64830</link>
      <description>&lt;P&gt;see my Answer below.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 18:22:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Elasticseach-service-unavailable-message-in-Kibana/m-p/185337#M64830</guid>
      <dc:creator>stevenmatison</dc:creator>
      <dc:date>2018-08-01T18:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Metron - Elasticseach service unavailable (message in Kibana)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Elasticseach-service-unavailable-message-in-Kibana/m-p/185338#M64831</link>
      <description>&lt;P&gt;To properly troubleshoot elasticsearch you first need to make sure that elasticsearch is actually running correctly.   Go to QuickLinks and open Elasticsearch Health.  Status must be green.   Tail your elasticsearch master node log file while restarting to see if there are any issues:&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;tail -f /var/log/elasticsearch/elasticsearch.log&lt;/P&gt;&lt;P&gt;Additionally you can edit /etc/elasticsearch/log4j2.properties and set logger.action.level to debug for more verbose logging.&lt;/P&gt;&lt;P&gt;Based on the log output, you will likely need to adjust config settings in Advanced elastic-site from Ambari.&lt;/P&gt;&lt;P&gt;Here are my settings for a Master Node + 2 Data Nodes:&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;bootstrap_memory_lock&lt;/STRONG&gt;
true &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;cluster_name&lt;/STRONG&gt;
elasticsearch &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;cluster_routing_allocation_disk_threshold_enabled&lt;/STRONG&gt;
true &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;cluster_routing_allocation_disk_watermark_high&lt;/STRONG&gt;
0.99 &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;cluster_routing_allocation_disk_watermark_low&lt;/STRONG&gt;
.97 &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;cluster_routing_allocation_node_concurrent_recoveries&lt;/STRONG&gt;
4 &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;discovery_zen_fd_ping_interval&lt;/STRONG&gt;
15s &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;discovery_zen_fd_ping_retries&lt;/STRONG&gt;
5 &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;discovery_zen_fd_ping_timeout&lt;/STRONG&gt;
60s &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;discovery_zen_ping_timeout&lt;/STRONG&gt;
3s &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;expected_data_nodes&lt;/STRONG&gt;
0 &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;gateway_recover_after_data_nodes&lt;/STRONG&gt;
1 &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;http_cors_enabled&lt;/STRONG&gt;
"true" &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;http_port&lt;/STRONG&gt;
9200 &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;index_merge_scheduler_max_thread_count&lt;/STRONG&gt;
5&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
&lt;STRONG&gt;index_number_of_replicas&lt;/STRONG&gt;
2 &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;index_number_of_shards&lt;/STRONG&gt;
4&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
&lt;STRONG&gt;index_refresh_interval&lt;/STRONG&gt;
1s &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;index_translog_flush_threshold_size&lt;/STRONG&gt;
5g &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;indices_cluster_send_refresh_mapping&lt;/STRONG&gt;
false &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;indices_fielddata_cache_size&lt;/STRONG&gt;
25% &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;indices_memory_index_buffer_size&lt;/STRONG&gt;
10% &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;indices_memory_index_store_throttle_type&lt;/STRONG&gt;
none &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;masters_also_are_datanodes&lt;/STRONG&gt;
"true" &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;network_host&lt;/STRONG&gt;
[ 0.0.0.0 ]&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
&lt;STRONG&gt;network_publish_host&lt;/STRONG&gt;
[] &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;path_data&lt;/STRONG&gt;
"/hadoop/elasticsearch/es_data" &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;recover_after_time&lt;/STRONG&gt;
15m &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;threadpool_bulk_queue_size&lt;/STRONG&gt;
3000 &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;threadpool_index_queue_size&lt;/STRONG&gt;
1000 &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;transport_tcp_port&lt;/STRONG&gt;
9300&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
&lt;STRONG&gt;zen_discovery_ping_unicast_hosts&lt;/STRONG&gt;
[ "fqdn.hostname1.com", "fqdn.hostname2.com", "fqdn.hostname3.com" ]&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 18:31:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Elasticseach-service-unavailable-message-in-Kibana/m-p/185338#M64831</guid>
      <dc:creator>stevenmatison</dc:creator>
      <dc:date>2018-08-01T18:31:24Z</dc:date>
    </item>
  </channel>
</rss>

