Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] RE: problems with PIT

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] RE: problems with PIT


Chronological Thread 
  • From: Shilen Patel <>
  • To: "Hyzer, Chris" <>
  • Cc: " Mailing List" <>
  • Subject: Re: [grouper-users] RE: problems with PIT
  • Date: Wed, 9 Aug 2017 17:21:13 +0000
  • Accept-language: en-US
  • Authentication-results: oit.duke.edu; spf=none
  • Ironport-phdr: 9a23:IVaRbxxoG99wNELXCy+O+j09IxM/srCxBDY+r6Qd0uoWLfad9pjvdHbS+e9qxAeQG96Ku7Qc06L/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q89pDXYAhEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfMQA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb7S60/Vza/4KdxUBLmiDkJOSMl8G/ZicJ/gqNbrw6uqBFk2YHYfJuYOeBicq7Hfd4XQ3dKUMZLVyxGB4Oxd5YBD+oAPeZcsYb9oUYFowGkCgmwGuzvziJDi3jt3a060uQhFR/J3Ao7Et0TrXTUr8v6OL0MXu+o0anF1DPOZO5Y1zf67YjHaBEhofeUUL1sccre008vFwzbgVmJt4DqJDeV1uMCs2SC8eZvTvigi2g6pA1ovDSg3d8sio7IhoIT1lDI7Dt1z500Jd2+UUJ3f8WrEIdRtyGfKYR6W90uTHpvuCYg17IJp4S7fCkMyJQo3hLTdeeIc4mT4hL4SeaePy90hH1/eLKnnhq+71WvxvD8W8S101tGtitFkt/Qtn8TzRzT7NaISudj8ku7xzmAyh3T5vlcIUAukqrbLJAhwqY3lpoSt0TDAjX6l1nxjK+Tbkkk++6o6/j5bbX8oJ+TKZN0hh/kPqg0hMOwHPk4Pw4TVGaY4eSxzKDv8E3nTLlQgPA6iLTVvZPeKMgBuKK0DAFY3p4+5xu/ETuqytoVkWMJIV9KYh6KgZDlN0/TLP35F/uyjUqgnC12y/3FIrHtGIjBI3rBnbrnYL1z8VRTyBApwtBa/59UCq8OIPb0WkLpsdzXFB45Mwitz+boBtRxz54SVGCVDq+eMaPSrUWE6f8yI+mPeoAZoijyJOU45/L2jH85n0ESfbWx0JcKaH20AO5qLkuDbXbxgdoMFX0GshQxQeHkkFGCVCRcZ3e2X6Iy/DE7D4emAJ/YRoCtgbyB2Dm0HptNa29bF1CMEmnne5+aVPgRdSKeOtVhnSAcVbi9V48h0gmjtADgy7pgM+rU4jMXtYj62Nho/O3ciwsy9SdvAsSZ0mGNVH10nngWSzMs3aB/p1B9xUmZ0ah+nfNYCcJf6+lXXQgnKJ6Ph9B9XprSSxDMZJPBY1a8Q87sSWU0RdIg0dIUS0dmEJO/lh3F2WynD6JDxJKRA5lhyaLd23X3b/5013vCnP06j1giT81nOXCli+hy+xWFVN2BqFmQi6v/LfdU5yXK7mrWlWc=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

A fix is available for this in API patch 74.

Thanks!

- Shilen

From: <Hyzer>, Chris <>
Date: Thursday, June 15, 2017 at 3:10 PM
To: " Mailing List" <>
Subject: [grouper-users] RE: problems with PIT

An update, Shilen helped me with this, turns out my WS servers did not have synchronized clocks.  Some were 20 seconds off.  Ugh.  Grouper relies on servers have sync’ed clocks.

 

There is a wiki that might help people if they have the same problem:

 

https://spaces.internet2.edu/display/Grouper/Change+log+and+point+in+time+ordering+issue

 

I didn’t discuss this with him about the feasibility of this, but here is a jira that might help:

 

https://bugs.internet2.edu/jira/browse/GRP-1568

 

Thanks

Chris

 

From: Hyzer, Chris
Sent: Thursday, June 15, 2017 10:27 AM
To: Mailing List <>
Subject: problems with PIT

 

Shilen,

 

Im getting this error:

 

'' : Error invoking compiled command: : Error in compiled command: java.lang.RuntimeException: java.lang.RuntimeException: Active PITMember with sourceId=c5c3a39cd7b84aada804b76c4641df5a not found,

 

I run this: select count(1) from grouper_members gm where not exists (select * from grouper_pit_members gpm where gm.id = gpm.source_id);

Get 102

 

I run sync PIT and get this:

 

gsh 0%  loaderRunOneJob("CHANGE_LOG_changeLogTempToChangeLog")

// Error: unable to evaluate command: Sourced file: inline evaluation of: `` loaderRunOneJob("CHANGE_LOG_changeLogTempToChangeLog");'' : Error invoking compiled command: : Error in compiled command: java.lang.RuntimeException: java.lang.RuntimeException: Active PITMember with sourceId=c5c3a39cd7b84aada804b76c4641df5a not found,

Problem in HibernateSession: HibernateSession (70e04b5f): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (658a2984)

gsh 1%  new edu.internet2.middleware.grouper.misc.SyncPITTables().syncAllPITTables()

Number of entries in grouper_change_log_entry_temp: 3585

For best results, run loaderRunOneJob("CHANGE_LOG_changeLogTempToChangeLog") first.

 

 

Searching for missing active point in time fields

Found 0 missing active point in time fields

 

 

Searching for missing active point in time members

Found 0 missing active point in time members

 

 

Searching for missing active point in time stems

Found 0 missing active point in time stems

 

 

Searching for missing active point in time groups

Found 0 missing active point in time groups

 

 

Searching for missing active point in time role sets

Found 0 missing active point in time role sets

 

 

Searching for missing active point in time attribute defs

Found 0 missing active point in time attribute defs

 

 

Searching for missing active point in time attribute def names

Found 0 missing active point in time attribute def names

 

 

Searching for missing active point in time attribute def name sets

Found 0 missing active point in time attribute def name sets

 

 

Searching for missing active point in time actions

Found 0 missing active point in time actions

 

 

Searching for missing active point in time action sets

Found 0 missing active point in time action sets

 

 

Searching for missing active point in time group sets

Found 0 missing active point in time group sets

 

 

Searching for missing active point in time memberships

Found 0 missing active point in time memberships

 

 

Searching for missing active point in time group sets (second pass)

Found 0 missing active point in time group sets

 

 

Searching for missing active point in time attribute assigns

Found 0 missing active point in time attribute assigns

 

 

Searching for missing active point in time attribute assign values

Found 0 missing active point in time attribute assign values

 

 

Searching for point in time attribute assign values that should be inactive

Found 0 active point in time attribute assign values that should be inactive

 

 

Searching for point in time attribute assigns that should be inactive

Found 401 active point in time attribute assigns that should be inactive

// Error: unable to evaluate command: Sourced file: inline evaluation of: `` new edu.internet2.middleware.grouper.misc.SyncPITTables().syncAllPITTables();'' : Method Invocation syncAllPITTables

// See error log for full stacktrace

// caused by: edu.internet2.middleware.grouper.exception.GrouperStaleObjectStateException:

// Problem in HibernateSession: HibernateSession (90497ef): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (3a3e5f05)

// caused by: org.hibernate.StaleObjectStateException:

// Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [edu.internet2.middleware.grouper.pit.PITAttributeAssign#7b0eb22ac8e546dbaf1187189d5c4f43],

Exception in save: edu.internet2.middleware.grouper.pit.PITAttributeAssign, : [edu.internet2.middleware.grouper.pit.PITAttributeAssign#7b0eb22ac8e546dbaf1187189d5c4f43]

gsh 2%



  • Re: [grouper-users] RE: problems with PIT, Shilen Patel, 08/09/2017

Archive powered by MHonArc 2.6.19.

Top of Page