Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Issues with ScrollElasticSearchHttp processor in NiFi

Issues with ScrollElasticSearchHttp processor in NiFi

Rising Star

Hello,

I am trying to pull an entire elastic search index using the ScrollElasticSearchHttp processor in NiFi and I configured the processor in the following way:

15923-elasticsearchimage.jpg

However when I run the processor I get the following error:

18:22:47 EST
ERROR
31393db7-e718-1a79-ffff-ffffbf6ed7cd

ScrollElasticsearchHttp[id=31393db7-e718-1a79-ffff-ffffbf6ed7cd] ScrollElasticsearchHttp[id=31393db7-e718-1a79-ffff-ffffbf6ed7cd] failed to process session due to org.apache.nifi.processor.exception.FlowFileHandlingException: StandardFlowFileRecord[uuid=9c712215-1871-46de-a0ca-3f14fc759a7a,claim=,offset=0,name=10963994969599232,size=0] is not the most recent version of this FlowFile within this session (StandardProcessSession[id=100101083029]): org.apache.nifi.processor.exception.FlowFileHandlingException: StandardFlowFileRecord[uuid=9c712215-1871-46de-a0ca-3f14fc759a7a,claim=,offset=0,name=10963994969599232,size=0] is not the most recent version of this FlowFile within this session (StandardProcessSession[id=100101083029])

18:22:47 EST
WARNING
31393db7-e718-1a79-ffff-ffffbf6ed7cd

ScrollElasticsearchHttp[id=31393db7-e718-1a79-ffff-ffffbf6ed7cd] Processor Administratively Yielded for 1 sec due to processing failure







Auto-refresh






Can anyone help me understand what is causing the error? Do I need to up the connection time or change something in the configurations? Any help would be greatly appreciated!

4 REPLIES 4

Re: Issues with ScrollElasticSearchHttp processor in NiFi

New Contributor

Hi Hortonworks and all dear friends, please anyone answer this question please, the answer to this question does not exist in the whole internet :)

Re: Issues with ScrollElasticSearchHttp processor in NiFi

New Contributor
@Adda Fuentes

Could you please specify the ElasticSearch URL.

Re: Issues with ScrollElasticSearchHttp processor in NiFi

New Contributor

@Bryan Bende @Greg Keys

Do you guys have solution for this issue please.

I just want to retrieve all the documents in the index using ScrollElasticsearchHttp

my Elastic url: http://111.222.000.333:9200/twitter_data/_search

query: _type:tweet

I am not getting any error and not i am not getting any data also

Re: Issues with ScrollElasticSearchHttp processor in NiFi

New Contributor

@Naveen Kumar M A

Try using:

Elastic URL: http://111.222.000.333:9200

index: twitter_data

,

@Naveen Kumar M A

Try using:

Elastic URL: http://111.222.000.333:9200

index: twitter_data

Don't have an account?
Coming from Hortonworks? Activate your account here