grouper-users - Re: [grouper-users] StaleObjectStateException thrown by loader jobs after patch
Subject: Grouper Users - Open Discussion List
List archive
Re: [grouper-users] StaleObjectStateException thrown by loader jobs after patch
Chronological Thread
- From: Scott Koranda <>
- To: "Hyzer, Chris" <>
- Cc: grouper-users <>
- Subject: Re: [grouper-users] StaleObjectStateException thrown by loader jobs after patch
- Date: Fri, 16 Feb 2018 12:16:33 -0600
- Ironport-phdr: 9a23:tMqwYhAMEkhBQLnLlM3MUyQJP3N1i/DPJgcQr6AfoPdwSPT7osbcNUDSrc9gkEXOFd2Cra4c0KyO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglUijexe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Xymp4aV2Rx/ykCoJOT43/n/KhMJzgqJUrw6uqAF9zIHae4yVKOZyc7nBcd8GX2dNQMBcXDFBDIOmaIsPCvIMM/tEoIn6u1sOsQa1CwyrBOP10DBIgGL50rcn2OkmCgHG3wsgH8gUv3TSsdr6LrwfUe+wzKbSzDXDa+la1iv66IjNax0sp+yHU7FoccfJ10UiFh/Jg1eVpIzrPD6azfgBvm2U4uZ8Se6jlmsqpB1trje0w8ohj5fFi4wax1zc6Cl0zoc4KcelREN6Y9OoCpVduiCAO4doXM8vQWdlszsgxLIco560Zi0KxYwnxxHBb/yHdJCF4hf5W+aQJTd0nXNleK6jixqr/kms1OPxW8au3FZFqSpFldbMtnQT2BDJ9seHTf598l+g2TaJyQ/T9vlJLV41mKbHKZMsx7Awm5kIvkjfGyL7l1n6gLOLekgh5uek9//ob7Djq5OCOYJ5hRnyMqE0lcy+BeQ4PBIOX2+e+emkz73j/kr5QK9Qgf0wj6bWqovXJcsepqGjAg9V1pwv5Aq4DzejyNgYh2UILEpZeBKbiIjkI17OIOr/Dfeim1Sjji1ry+nbPr36HJrNNGPDnazlfbZ88E5c1BEzwc5F65JVDLEBPOz8WlX3tNPGEh81LRa4zPj6B9VghcsiXjfFIr6LPbmW+XSI/OM0aaHYYYQVqSTwMdAk/PWokGc0n1lbcKW0i8g5cne9S89tJFmFKVnrmN4HHW5C6hE9S/bjjlGLeTFWbne2Gak742doW8qdEY7fS9X10/S61yChE8gOaw==
> How many groups are loaded? Millions?
This morning I see this:
SQL> SELECT COUNT(*) FROM GROUPER_GROUPS;
62221
SQL> SELECT COUNT(*) FROM GROUPER_CHANGE_LOG_ENTRY_TEMP;
26791591
SQL> SELECT COUNT(*) FROM GROUPER_CHANGE_LOG_ENTRY_TEMP WHERE STRING04 NOT
LIKE 'etc:attribute:loaderMetadata:%';
0
SQL> SELECT COUNT(*) FROM GROUPER_CHANGE_LOG_ENTRY;
6856091
There were no entries in either the change log or the change log temp
before patching.
I do not understand how so many entries were put into
GROUPER_CHANGE_LOG_ENTRY_TEMP by the new functionality.
I also drastically underestimated that amount of time it will take for
this deployment to process 27 million rows in the change log. It is
clear it will not be able to do it in a reasonable time (less than a few
weeks) so I am going to TRUNCATE the tables now instead.
> > Maybe I am not, however, understanding how those 27 million rows in
> > GROUPER_CHANGE_LOG_TEMP come about. Are they only created when the
> > "real" loader jobs run?
>
> Hmmmm. I deleted two of the new attributes, and change the incorrect value
> in a list of groups with two groups. I ran the loader. I got two change
> log entries per loaded group. One for
> etc:attribute:loaderMetadata:grouperLoaderMetadataLastSummary and one for
> etc:attribute:loaderMetadata:grouperLoaderMetadataLastFullMillisSince1970
> I believe you already have assignments on loaded groups for
> grouperLoaderMetadataLoaded and grouperLoaderMetadataGroupId.
>
> Not saying this is better, but before the patch, you could create those
> attributes, and run a GSH script to assign them to loaded groups, maybe a
> sleeping a second after a dozen assignments. Up to you.
I will consider it as an option. Thanks.
Another issue with these patches: every time a loader job runs it
generates thousands of log entries at the WARN level with a message like
2018-02-16 13:04:55,826: [DefaultQuartzScheduler_Worker-9] WARN
GrouperLoaderType.updateLoaderMetadataForGroupsNoLongerInLoader(2081) -
- Non-fatal error removing metadata on group:
my:group:name:here
This is filling up the Grouper logs.
Is this expected?
Thanks,
Scott K
- Re: [grouper-users] StaleObjectStateException thrown by loader jobs after patch, (continued)
- Re: [grouper-users] StaleObjectStateException thrown by loader jobs after patch, Scott Koranda, 02/05/2018
- Re: [grouper-users] StaleObjectStateException thrown by loader jobs after patch, Scott Koranda, 02/13/2018
- RE: [grouper-users] StaleObjectStateException thrown by loader jobs after patch, Hyzer, Chris, 02/14/2018
- Re: [grouper-users] StaleObjectStateException thrown by loader jobs after patch, Scott Koranda, 02/14/2018
- RE: [grouper-users] StaleObjectStateException thrown by loader jobs after patch, Hyzer, Chris, 02/14/2018
- Re: [grouper-users] StaleObjectStateException thrown by loader jobs after patch, Scott Koranda, 02/14/2018
- Re: [grouper-users] StaleObjectStateException thrown by loader jobs after patch, Scott Koranda, 02/15/2018
- RE: [grouper-users] StaleObjectStateException thrown by loader jobs after patch, Hyzer, Chris, 02/15/2018
- Re: [grouper-users] StaleObjectStateException thrown by loader jobs after patch, Scott Koranda, 02/15/2018
- RE: [grouper-users] StaleObjectStateException thrown by loader jobs after patch, Hyzer, Chris, 02/16/2018
- Re: [grouper-users] StaleObjectStateException thrown by loader jobs after patch, Scott Koranda, 02/16/2018
- Re: [grouper-users] StaleObjectStateException thrown by loader jobs after patch, Shilen Patel, 02/16/2018
- Re: [grouper-users] StaleObjectStateException thrown by loader jobs after patch, Scott Koranda, 02/16/2018
- RE: [grouper-users] StaleObjectStateException thrown by loader jobs after patch, Hyzer, Chris, 02/17/2018
- Re: [grouper-users] StaleObjectStateException thrown by loader jobs after patch, Scott Koranda, 02/17/2018
- RE: [grouper-users] StaleObjectStateException thrown by loader jobs after patch, Hyzer, Chris, 02/14/2018
- RE: [grouper-users] StaleObjectStateException thrown by loader jobs after patch, Hyzer, Chris, 02/16/2018
- Re: [grouper-users] StaleObjectStateException thrown by loader jobs after patch, Scott Koranda, 02/14/2018
- RE: [grouper-users] StaleObjectStateException thrown by loader jobs after patch, Hyzer, Chris, 02/14/2018
- RE: [grouper-users] StaleObjectStateException thrown by loader jobs after patch, Hyzer, Chris, 02/14/2018
- Re: [grouper-users] StaleObjectStateException thrown by loader jobs after patch, Scott Koranda, 02/14/2018
- RE: [grouper-users] StaleObjectStateException thrown by loader jobs after patch, Hyzer, Chris, 02/14/2018
- Re: [grouper-users] StaleObjectStateException thrown by loader jobs after patch, Scott Koranda, 02/15/2018
- Re: [grouper-users] StaleObjectStateException thrown by loader jobs after patch, Scott Koranda, 02/14/2018
Archive powered by MHonArc 2.6.19.