Hey Matt,

So we were able to delete GetSplunk 1.14.0 nar file and were able to launch 
Nifi 1.14.0 with GetSplunk 1.15.3 nar uploaded in the lib folder successfully. 
Even though this is not ideal way but it was working in nifi 1.14.0 as required.

However, when we did the same for the Nifi version 1.12.1, even though 
successfully launched after restart, GetSplunk 1.15.3 is throwing out an error 
and we are unable to retrieve anything. Below is the error,

GetSplunk[id=xxxx-xxxx-xxxx-xxxx] GetSplunk[id=xxxx-xxxx-xxxx-xxxx] failed to 
process session due to 
org.apache.nifi.processor.ProcessSession.getState(Lorg/apache/nifi/components/state/Scope;)Lorg/apache/nifi/components/state/StateMap;;
 Processor Administratively Yielded for 1 sec: java.lang.NoSuchMethodError: 
org.apache.nifi.processor.ProcessSession.getState(Lorg/apache/nifi/components/state/Scope;)Lorg/apache/nifi/components/state/StateMap;

Obviously, as you mentioned GetSplunk 1.15.3 is not compatible with Nifi 
version 1.12.1. What we need is an enhancement to GetSplunk 1.12.1 with the 
following properties:

1) Connection Timeout
2) Read Timeout

We are currently running our Nifi version 1.12.1 and facing hung threads 
issue<https://issues.apache.org/jira/browse/NIFI-9093?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel&focusedCommentId=17438829#comment-17438829>
 and we are not ready for 1.15.3 nifi upgrade. It would be great if we can get 
backporting of the patch on 1.12.1 GetSplunk processor.

Regards

[image005]
Deepak Reddy | Data Engineer
​IT Centers of Excellence
13736 Riverport Dr., Maryland Heights, MO 63043

From: Chirthani, Deepak Reddy
Sent: Monday, February 28, 2022 10:23 AM
To: 'dev@nifi.apache.org' <dev@nifi.apache.org>
Cc: Poddar, Kailash <c-kailash.pod...@charter.com>; Thomas, Rhianna M 
<rhianna.tho...@charter.com>; Middleton, Brian <brian.middle...@charter.com>; 
Madera, Enmanual <c-enmanual.mad...@charter.com>
Subject: Nifi 1.14.0 not launching after copying nifi-splunk-nar-1.15.3.nar

Hello,

We are currently using GetSplunk processor to pull data from Splunk Enterprise 
on a scheduled basis in our Nifi – 1.12.1 instance. We have observed that new 
properties added to the GetSplunk processor in the latest version of Nifi 
1.15.3 and we would like to bring that processor to our current instance of 
Nifi to meet our requirements.

For accomplishing this, we brought the nifi-splunk-nar-1.15.3.nar file and 
tested that by uploaded it to the lib folder of a separate Nifi-1.14.0(local 
instance) and restarted it. Nifi – 1.14.0 was unable to launch however it was 
able to launch if I removed that particular nar file.

Any suggestions why this is happening? In the past we were able to bring 
processors from lower versions of Nifi successfully but not higher versions.

Thanks

[image005]
Deepak Reddy | Data Engineer
​IT Centers of Excellence
13736 Riverport Dr., Maryland Heights, MO 63043

E-MAIL CONFIDENTIALITY NOTICE: 
The contents of this e-mail message and any attachments are intended solely for 
the addressee(s) and may contain confidential and/or legally privileged 
information. If you are not the intended recipient of this message or if this 
message has been addressed to you in error, please immediately alert the sender 
by reply e-mail and then delete this message and any attachments. If you are 
not the intended recipient, you are notified that any use, dissemination, 
distribution, copying, or storage of this message or any attachment is strictly 
prohibited.

Reply via email to