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.

How to dynamically disable and then enable the connection in Nifi

Solved Go to solution
Highlighted

How to dynamically disable and then enable the connection in Nifi

New Contributor

I am fetching data from pastel(pervasive) database.

But every other day, i used to get error--->LNA session timeout

Then i have to go the connection setting and when i disable the connection and then enable it, everything works fine.

Is there any way that i can automate the process of disable then enable the connection.


1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to dynamically disable and then enable the connection in Nifi

New Contributor

Hi @James Singh ,

As you may know, LNA is an Internal Protocol used by the pervasive SRDE.Engine and there are a couple of reasons for `session timeout`. A few queries for you question.

Can you please share what is the value of Timeout Enquires After in the Administrative tool?

How often are you fetching data from the db?

Can you share the log for this particular error?

2 REPLIES 2

Re: How to dynamically disable and then enable the connection in Nifi

New Contributor

Hi @James Singh ,

As you may know, LNA is an Internal Protocol used by the pervasive SRDE.Engine and there are a couple of reasons for `session timeout`. A few queries for you question.

Can you please share what is the value of Timeout Enquires After in the Administrative tool?

How often are you fetching data from the db?

Can you share the log for this particular error?

Re: How to dynamically disable and then enable the connection in Nifi

New Contributor

Hi @Sumit Das,

Value of Timeout Enquires After was not proper in the Administrative tool.

That's why we were facing the issue.

Thanks