Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

QueryDatabaseTable maximum value not increasing

avatar
New Contributor

I upgraded from nifi-2.0.0-M1 to nifi-2.0.0-M3 on a new Server.

On my old Server the QueryDatabaseTable Job works fine, maximum value would be increased on every Job-Runtime as expected.

On the new Server maximum value is just increasing by 1. If my initial.maxvalue.hist_num is set to 114887000 i can see in State hist_num-value: 114887001

And every job-runtime it starts from 114887001. I tried so much different settings in QueryDatabaseTable but cant get it done, to work.

Maybe someone has an idea, how i can fix this. Would be very nice. Eventually logs where i can see error messages or something like that?

Thanks

 

3 REPLIES 3

avatar
New Contributor

I have now initial.maxvalue.hist_num set to 114890501
And i get this in the Log-File, it stays on 114890502

2024-06-28 13:27:04,199 DEBUG [Timer-Driven Process Thread-10] o.a.n.p.standard.QueryDatabaseTable QueryDatabaseTable[id=018f1000-d3e0-1837-2cdf-047e53cd7489] Driver connection reset to original setAutoCommit(true)
2024-06-28 13:27:04,199 DEBUG [Timer-Driven Process Thread-10] o.a.n.p.standard.QueryDatabaseTable QueryDatabaseTable[id=018f1000-d3e0-1837-2cdf-047e53cd7489] Returning CLUSTER State: StandardStateMap[version=Optional[24903], values={hist_main_bse@!@hist_num=114890502.00}]
2024-06-28 13:27:04,205 DEBUG [Timer-Driven Process Thread-10] o.a.n.p.standard.QueryDatabaseTable QueryDatabaseTable[id=018f1000-d3e0-1837-2cdf-047e53cd7489] Returning CLUSTER State: StandardStateMap[version=Optional[24903], values={hist_main_bse@!@hist_num=114890502.00}]
2024-06-28 13:27:04,205 DEBUG [Timer-Driven Process Thread-10] o.a.n.p.standard.QueryDatabaseTable QueryDatabaseTable[id=018f1000-d3e0-1837-2cdf-047e53cd7489] Setting CLUSTER State to {hist_main_bse@!@hist_num=114890502.00}
2024-06-28 13:27:04,214 INFO [Flow Service Tasks Thread-2] o.a.nifi.controller.StandardFlowService Saved flow controller org.apache.nifi.controller.FlowController@778257c8 // Another save pending = false
2024-06-28 13:27:06,251 DEBUG [NiFi Web Server-225] o.a.n.p.standard.QueryDatabaseTable QueryDatabaseTable[id=018f1000-d3e0-1837-2cdf-047e53cd7489] Returning LOCAL State: StandardStateMap[version=Optional[24904], values={hist_main_bse@!@hist_num=114890502.00}]

avatar
Community Manager

@Romux Welcome to the Cloudera Community!

To help you get the best possible solution, I have tagged our NiFi experts @MattWho @mburgess  who may be able to assist you further.

Please keep us updated on your post, and we hope you find a satisfactory solution to your query.


Regards,

Diana Torres,
Senior Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
New Contributor

I tried so much, to fix that Problem.

I also copied the whole nifi-2.0.0-M1 Folder to a new Computer but i have always the same Problem. Maximum Value is not increasing, just counting up bei 1.