Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Real-time loader issue

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Real-time loader issue


Chronological Thread 
  • From: Shilen Patel <>
  • To: "Gettes, Michael" <>
  • Cc: "" <>
  • Subject: Re: [grouper-users] Real-time loader issue
  • Date: Fri, 13 Jul 2018 15:11:23 +0000
  • Accept-language: en-US
  • Authentication-results: oit.duke.edu; spf=none
  • Ironport-phdr: 9a23:MMKEvxEBnF0UYSZVzInQ751GYnF86YWxBRYc798ds5kLTJ76p86+bnLW6fgltlLVR4KTs6sC17KI9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCa8bL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjm58axlVAHnhzsGNz4h8WHYlMpwjL5AoBm8oxBz2pPYbJ2JOPZ7eK7WYNEUSndbXstJVyJPHJ6yb5cBAeQCM+lYrpXyqFQVoBSkGQWsAfnixiNSi3L026AxzuQvERvB3AwlB98ArXTUrNTxNKgMV+C+0bPGwi/fb/xI3Tf29Y/FcgshofGNWbJ/b8zRxFIyGAPYjVWft5bpMC2I2eQQqmWW6fdrW+yoi24isQ5xoz6vy98jionTgYIV10jE+jtjwIovP9K4UFZ7bcalEJtWqyGVKZF2QsU8TGF0pio20KMJtoOmfCQS1JQnxwTfZOKdfIeV+B7jTvuRITFgiHJ9YrK/gBGy8Ua4yu37V8m01kpKojBZndnLs3ABzxPT6tKASvtg5keuxyyP2BzJ5eFAJUA7j7HUK5o/zbIqipUcq0DDHivulEX4ka+Walgk+vK25OT7eLrmvZycO5VuigHjNKQjnNG0D+cgMgUWQmSW+fqw2Kft8EHjXblHjfk7nrPHvJ3UJ8kXvrO1DxJa34o59RqyDyuq3M4FkXUaIl9JYgyLg5TxN1HAPv/1DuuzjlGpnTpqw/3LMbPhD5DRIXXBk7ruY7Nw5k1cxQcw0d9S4o5bBa0fLP/yXEL6qcbWAQUjMwOuxubqENV92Z0aWWKIGqKZNbndsV6M5u42LOmNapYZtCvgJ/Q/4P7ujGM5lUUAcqm03psYdmq0Eep7LEWEeXbsg9EBHnkWvgcmUeDniEOOXSRdanqoQq4x5TU2BJi4AYrNRI2hmLmB0z26Hp1SaGBGEFeMEXLweoWfW/cMaSaSLdFnkjEfSLehVowh2g+0uADk1rVnM/LY+jcEupL7yNh1++rTmAk99TxuCMSdznmNQH9unm8RWj82x75woVZmylqY1ah4gudYFcBI5/9XSAs6NJjcz/BkBNDoXALOYMuJREi8Ttq4HD4xU4F5/9hbKWlwB8mvlVSL+iuhA7YYk/bDUJM57r7RxFDsKcI7xnrbgvoPlV4jF/BPNGmrgOZH/hTeA8adiEWYk6usXagB3yOL+Wuemznd9HpEWRJ9BP2WFUsUYVHb+JGgvhuYFe2nFKgnPw1dyMWLNqpNbJjzgE5bQOv4ZYiMZGOt3WutBhvOy7+RP++IGn4F0nDbD04J2xsW4W7AMAE/Aim7pGeLFzxvEV/pS0/x8uQ4pX+mQw==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

>> The example SQL is broken where source_id should be subject_source_id.  

 

Are you referring to the incremental table?  E.g. myincrementaltable in the example?

 

There, I think, it should be source_id.  Does that give you an error or something unexpected?

 

Thanks!

 

- Shilen

 

From: <> on behalf of "Gettes, Michael" <>
Date: Friday, July 13, 2018 at 8:23 AM
To: "" <>
Subject: [grouper-users] Real-time loader issue

 

I am trying to make use of the Real-time loader (looks really neat).

 

I am using the example for mySQL as documented at https://spaces.internet2.edu/display/Grouper/Grouper+loader+real+time+updates

 

The example SQL is broken where source_id should be subject_source_id.  I am setting subject_source_id but it doesn’t appear it is being respected as the following stack trace shows.  Yes, I understand the rules of uniqueness but this is what I have for now and if RTL could respect subject source this would be so cool.  If I am not doing something stupid, happy to submit as Jira bug.

 

Thanks!

 

/mrg

 

daemon_1    | 2018-07-13T12:15:30.835152680Z grouper-api;grouper_error.log;dev;build-2;2018-07-13 08:15:30,818: [DefaultQuartzScheduler_Worker-8] WARN  GrouperFuture.waitForJob(155) -  - Non fatal problem with callable.  Will try again not in thread
daemon_1    | 2018-07-13T12:15:30.835205366Z java.lang.RuntimeException: edu.internet2.middleware.subject.SubjectNotUniqueException: found multiple matching subjects: 2, '',
daemon_1    | 2018-07-13T12:15:30.835215461Z Problem in job: processOneRow
daemon_1    | 2018-07-13T12:15:30.835222117Z 

at edu.internet2.middleware.grouper.app.loader.GrouperLoaderIncrementalJob.processOneRow(GrouperLoaderIncrementalJob.java:720)
daemon_1    | 2018-07-13T12:15:30.835229332Z 

at edu.internet2.middleware.grouper.app.loader.GrouperLoaderIncrementalJob.access$000(GrouperLoaderIncrementalJob.java:73)
daemon_1    | 2018-07-13T12:15:30.835235791Z 

at edu.internet2.middleware.grouper.app.loader.GrouperLoaderIncrementalJob$1.callLogic(GrouperLoaderIncrementalJob.java:286)
daemon_1    | 2018-07-13T12:15:30.835242340Z 

at edu.internet2.middleware.grouper.app.loader.GrouperLoaderIncrementalJob$1.callLogic(GrouperLoaderIncrementalJob.java:281)
daemon_1    | 2018-07-13T12:15:30.835248836Z 

at edu.internet2.middleware.grouper.util.GrouperCallable$1.callback(GrouperCallable.java:191)
daemon_1    | 2018-07-13T12:15:30.835255124Z 

at edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:974)
daemon_1    | 2018-07-13T12:15:30.835261295Z 

at edu.internet2.middleware.grouper.util.GrouperCallable.callLogicWithSessionIfExists(GrouperCallable.java:188)
daemon_1    | 2018-07-13T12:15:30.835267627Z 

at edu.internet2.middleware.grouper.util.GrouperCallable.call(GrouperCallable.java:154)
daemon_1    | 2018-07-13T12:15:30.835294130Z 

at java.util.concurrent.FutureTask.run(FutureTask.java:266)
daemon_1    | 2018-07-13T12:15:30.835301560Z 

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
daemon_1    | 2018-07-13T12:15:30.835307679Z 

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
daemon_1    | 2018-07-13T12:15:30.835314161Z 

at java.lang.Thread.run(Thread.java:748)
daemon_1    | 2018-07-13T12:15:30.835320307Z Caused by: edu.internet2.middleware.subject.SubjectNotUniqueException: found multiple matching subjects: 2, ''
daemon_1    | 2018-07-13T12:15:30.835326661Z 

at edu.internet2.middleware.grouper.subj.SourcesXmlResolver.thereCanOnlyBeOne(SourcesXmlResolver.java:492)
daemon_1    | 2018-07-13T12:15:30.835332933Z 

at edu.internet2.middleware.grouper.subj.SourcesXmlResolver.find(SourcesXmlResolver.java:133)
daemon_1    | 2018-07-13T12:15:30.835339153Z 

at edu.internet2.middleware.grouper.subj.CachingResolver.find(CachingResolver.java:125)
daemon_1    | 2018-07-13T12:15:30.835346665Z 

at edu.internet2.middleware.grouper.subj.ValidatingResolver.find(ValidatingResolver.java:91)
daemon_1    | 2018-07-13T12:15:30.835352997Z 

at edu.internet2.middleware.grouper.SubjectFinder.findById(SubjectFinder.java:470)
daemon_1    | 2018-07-13T12:15:30.835359154Z 

at edu.internet2.middleware.grouper.app.loader.GrouperLoaderIncrementalJob.processOneRow(GrouperLoaderIncrementalJob.java:471)
daemon_1    | 2018-07-13T12:15:30.835365729Z 

... 11 more




Archive powered by MHonArc 2.6.19.

Top of Page