Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Error on job: CHANGE_LOG_consumer_psp

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Error on job: CHANGE_LOG_consumer_psp


Chronological Thread 
  • From: Scott Koranda <>
  • To: grouper-users <>
  • Subject: [grouper-users] Error on job: CHANGE_LOG_consumer_psp
  • Date: Thu, 12 Jan 2017 10:09:01 -0600
  • Ironport-phdr: 9a23:YVNNZBeXTz3Ycdpbai8NDRBIlGMj4u6mDksu8pMizoh2WeGdxcSyYR7h7PlgxGXEQZ/co6odzbGH7+a7ASdQut6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCzbL52Ixi6twvcutUZjYZhJKs61wfErGZPd+lK321jOEidnwz75se+/Z5j9zpftvc8/MNeUqv0Yro1Q6VAADspL2466svrtQLeTQSU/XsTTn8WkhtTDAfb6hzxQ4r8vTH7tup53ymaINH2QLUpUjms86tnVBnlgzoBOjUk8m/Yl9ZwgbpVrhyhuRJx3o3ab46JO/VjcKzQZs8aSXZbU8pNSyBMGJ2wYo0SBOQBJ+ZYqIz9qkMToxSiAgmsGP/vwSJNiH/xx601yeIhHhzc0wc9GN8Oq3fUrNLvNKgIV+C60bPHwC7Mb/NTwzj96YzIfgo9rvGLWLJ9aMzcwlQhGQPCi1Wfs43lPzWN2+QCqWib6PdgVfqxhG49sQ1+uCCvxt80honLgYIa0UrE9Th/wIYuJd23Vkp7Ydq+HJtKqiGaMY17Sd4hTWFwoCs21LwLtYK5cSUPxpQqxAXQZ+CCfoWH/h7vSPudLDJki355Y72yghO//Va+xuLiTsW50lZHojBGn9TNrHwByhPe5tadRvdg4EutxTCC3B3J5O5eO0A7j6/bJoYhwrEukpoTtlzOHirsl0X3iK+ab0Qk+vS05+j+bbTquIGQOJFuhgHxNaQuncO/AeAmPQQUQ2eb/uG82KXi/U3/XrpKkuU7nrfYvZzGJ8kWo6C5DgxO3Yo/7huyACuq3MgFkXQCMF1JZAmIgo3sNl3QPvz3E++zg1G2nzdqw/DGMKfhApLILnXbi7fhfrF961RGxwo10N9Q/YlZCr4EIP3pW0/xsMbUAQM+Mwyx2+rnEsly1psCWWKTBa+UKKzSsUWP5uIyO+mDepUVtC/gK/g++fHul2Q5lEQZfamoxpsXdGu4Eup8L0WYZ3rsnskOEX0MvgUgUOzmlkeOXiBOaHavDOoA4WQ0EoW7FYrZA522jaaalHO0BJpLfm1cT02XHG3zX4SCR/oWbi+OeIlsniFSBpa7TIp07hqpqBOy6L19J+zY82VMrpHkztFz6+T7mhQ79DgyBMOYhTLeB1pol38FEmdllJt0plZwnw+O

Hello,

We have a Grouper 2.2.2 running in production. The deployment
uses the PSP to provision grouper memberships to OpenLDAP,
including the 'isMemberOf' attribute on a person record.

The deployment includes this configuration in
grouper-loader.properties:

changeLog.changeLogTempToChangeLog.quartz.cron = 0/10 * * * * ?
changeLog.consumer.psp.class =
edu.internet2.middleware.psp.grouper.PspChangeLogConsumer
changeLog.consumer.psp.quartzCron = 5/10 * * * * ?
changeLog.consumer.psp.retryOnError = true
changeLog.psp.fullSync.class =
edu.internet2.middleware.psp.grouper.PspChangeLogConsumer
changeLog.psp.fullSync.quartzCron = 0 0 0 * * ?

So temporary change logs are moved every 10 seconds.
The PSP also fires every 10 seconds, with 5 seconds of offset
from the temporary change log job. This gives us on average an
upper limit on latency of 15 seconds.

Last night we saw these errors in grouper_error.log:

2017-01-12 01:01:15,059: [DefaultQuartzScheduler_Worker-7] ERROR
ChangeLogHelper.processRecords(281) - - Did not get all the way through the
batch! 88720 != 88721
2017-01-12 01:01:15,059: [DefaultQuartzScheduler_Worker-7] ERROR
GrouperLoaderJob.runJob(433) - - Error on job: CHANGE_LOG_consumer_psp
java.lang.RuntimeException: Error in loader job: null, check logs: Did not
get all the way through the batch! 88720 != 88721
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.runJob(GrouperLoaderJob.java:422)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.execute(GrouperLoaderJob.java:315)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
2017-01-12 01:01:15,081: [DefaultQuartzScheduler_Worker-7] ERROR
GrouperLoaderJob.execute(318) - - Error running up job
java.lang.RuntimeException: Error in loader job: null, check logs: Did not
get all the way through the batch! 88720 != 88721
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.runJob(GrouperLoaderJob.java:422)
at
edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.execute(GrouperLoaderJob.java:315)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
2017-01-12 01:01:20,014: [DefaultQuartzScheduler_Worker-10] INFO
EventLog.info(156) - -
[81bd39d7cdb946a8b44306cb0e5de3d3,'GrouperSystem','application'] session:
start (2ms)
2017-01-12 01:01:25,014: [DefaultQuartzScheduler_Worker-2] INFO
EventLog.info(156) - -
[58af231ef1ec47d98e1dbaa9f16c5e66,'GrouperSystem','application'] session:
start (3ms)

A restart of the Grouper loader process made these errors go
away and PSP provisioning proceeded as we expect.

What would have caused those errors?

Why did a restart of the Grouper loader clear those errors?

What can we do in the future to prevent similar errors?

Thanks,

Scott K



Archive powered by MHonArc 2.6.19.

Top of Page