<?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: Nifi error with fetchelasticsearch processor in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-error-with-fetchelasticsearch-processor/m-p/126474#M39149</link>
    <description>&lt;P&gt;I found the problem, the fetchelasticsearch gives error if you give the default port(9200) , it doesn't matter with the port on which the elasticsearch is running. I started my elasticsearch in default port and gave the port as 9300 in fetchelasticsearch processor, worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 31 Aug 2016 19:38:01 GMT</pubDate>
    <dc:creator>pravin_battula</dc:creator>
    <dc:date>2016-08-31T19:38:01Z</dc:date>
    <item>
      <title>Nifi error with fetchelasticsearch processor</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-error-with-fetchelasticsearch-processor/m-p/126471#M39146</link>
      <description>&lt;P&gt;I'm getting strange error while running the FetchElasticSearch processor, below is the error.&lt;/P&gt;&lt;P&gt;FetchElasticsearch[id=f2b2fee3-b940-4a73-8a28-0436e765c9a2] Failed to read into Elasticsearch due to None of the configured nodes are available: [{#transport#-1}{127.0.0.1}{localhost/127.0.0.1:9500}], this may indicate an error in configuration (hosts, username/password, etc.). Routing to retry: NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{127.0.0.1}{localhost/127.0.0.1:9500}]]
2016-08-30 11:58:17,930 ERROR [Timer-Driven Process Thread-3] o.a.n.p.elasticsearch.FetchElasticsearch 
org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available: [{#transport#-1}{127.0.0.1}{localhost/127.0.0.1:9500}]
at org.elasticsearch.client.transport.TransportClientNodesService.ensureNodesAreAvailable(TransportClientNodesService.java:290) ~[elasticsearch-2.1.0.jar:2.1.0]
at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:207) ~[elasticsearch-2.1.0.jar:2.1.0]
at org.elasticsearch.client.transport.support.TransportProxyClient.execute(TransportProxyClient.java:55) ~[elasticsearch-2.1.0.jar:2.1.0]
at org.elasticsearch.client.transport.TransportClient.doExecute(TransportClient.java:283) ~[elasticsearch-2.1.0.jar:2.1.0]
at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:347) ~[elasticsearch-2.1.0.jar:2.1.0]
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:85) ~[elasticsearch-2.1.0.jar:2.1.0]
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:59) ~[elasticsearch-2.1.0.jar:2.1.0]
at org.apache.nifi.processors.elasticsearch.FetchElasticsearch.onTrigger(FetchElasticsearch.java:164) ~[nifi-elasticsearch-processors-0.7.0.jar:0.7.0]
at org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27) [nifi-api-0.7.0.jar:0.7.0]
at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1054) [nifi-framework-core-0.7.0.jar:0.7.0]
at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:136) [nifi-framework-core-0.7.0.jar:0.7.0]
at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:47) [nifi-framework-core-0.7.0.jar:0.7.0]
at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:127) [nifi-framework-core-0.7.0.jar:0.7.0]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_91]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_91]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_91]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_91]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_91]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_91]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_91]&lt;/P&gt;&lt;P&gt;ElasticSearch configurations are :&lt;/P&gt;&lt;P&gt;Host : localhost&lt;/P&gt;&lt;P&gt;port : 9500&lt;/P&gt;&lt;P&gt;not sure about the root cause of the problem, do the needful.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2016 13:40:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-error-with-fetchelasticsearch-processor/m-p/126471#M39146</guid>
      <dc:creator>pravin_battula</dc:creator>
      <dc:date>2016-08-30T13:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi error with fetchelasticsearch processor</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-error-with-fetchelasticsearch-processor/m-p/126472#M39147</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/641/mburgess.html"&gt;@Matt Burgess&lt;/A&gt;, &lt;A href="https://community.hortonworks.com/users/5078/pvillard.html"&gt;@Pierre Villard&lt;/A&gt;&lt;/P&gt;&lt;P&gt; - could you please help me with this&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2016 13:53:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-error-with-fetchelasticsearch-processor/m-p/126472#M39147</guid>
      <dc:creator>pravin_battula</dc:creator>
      <dc:date>2016-08-30T13:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi error with fetchelasticsearch processor</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-error-with-fetchelasticsearch-processor/m-p/126473#M39148</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12778/pravinbattula.html" nodeid="12778"&gt;@Pravin Battle&lt;/A&gt; your cluster name, host name/IP, port or authentication credentials are probably not correct, or maybe you don't have Elasticsearch configured to listen on the right IP/port. I'd double check that cluster.name, network.host and transport.tcp.port in elasticsearch.yml are as expected.&lt;/P&gt;&lt;P&gt;If you run netstat or telnet/nc to port 9500 on localhost what do you get? Can you curl the REST API?&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2016 03:24:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-error-with-fetchelasticsearch-processor/m-p/126473#M39148</guid>
      <dc:creator>jfrazee</dc:creator>
      <dc:date>2016-08-31T03:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi error with fetchelasticsearch processor</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-error-with-fetchelasticsearch-processor/m-p/126474#M39149</link>
      <description>&lt;P&gt;I found the problem, the fetchelasticsearch gives error if you give the default port(9200) , it doesn't matter with the port on which the elasticsearch is running. I started my elasticsearch in default port and gave the port as 9300 in fetchelasticsearch processor, worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2016 19:38:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-error-with-fetchelasticsearch-processor/m-p/126474#M39149</guid>
      <dc:creator>pravin_battula</dc:creator>
      <dc:date>2016-08-31T19:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi error with fetchelasticsearch processor</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-error-with-fetchelasticsearch-processor/m-p/126475#M39150</link>
      <description>&lt;P&gt;The FetchElasticsearch processor uses the native transport, whose default port is 9300. In Nifi 0.7.0 (and in the upcoming HDF 2.0), there is a FetchElasticsearchHttp (and PutElasticsearchHttp) which uses the REST API (whose default port is 9200).&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2016 19:42:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-error-with-fetchelasticsearch-processor/m-p/126475#M39150</guid>
      <dc:creator>mburgess</dc:creator>
      <dc:date>2016-08-31T19:42:27Z</dc:date>
    </item>
  </channel>
</rss>

