Log of the #fcrepo channel on chat.freenode.net

Using timezone: Eastern Standard Time
* thomz joins02:45
* coblej joins08:12
* thomz leaves08:58
* acoburn joins09:02
* thomz joins09:15
* thomz leaves09:25
* peichman joins09:39
* ajs6f joins09:41
* bseeger joins09:49
* osmandin joins10:05
* coblej leaves10:15
* coblej joins10:32
<peichman>I've been trying out the custom CND file to add prefixes, and I am getting the following error when I try to restart Tomcat after adding/changing some resources in the repo10:40
"Caused by: org.fcrepo.kernel.api.exception.RepositoryRuntimeException: org.modeshape.jcr.value.ValueFormatException: E
rror converting "prov:InstantenousEvent" from String to a Name"
has anyone else run into anything like this when using custom CND prefix definitions?
<acoburn>peichman: does your Fedora instance already have a prefix defined for prov? e.g. ns00410:46
<peichman>acoburn: no, starting with a fresh repo it doesn't have any ns00X prefixes, just the ones defined in my custom namespaces.cnd file (including "prov:"), and creating a new resource does not change the list of defined prefixes10:50
<acoburn>peichman: in that case, I don't know — I've not seen that error before.10:51
<peichman>acoburn: I think I determined the issue10:57
acoburn: I was using the list of namespaces from this PR https://github.com/Islandora-CLAW/CLAW/pull/383
acoburn: and the "prov:" URI there points to the W3C spec, and *not* the actual namespace10:58
acoburn: I think it only came to light here because I am using a combo of the namespaces.cnd *and* the internal audit module
acoburn: I changed the namespace CND and now it is starting up fine for me10:59
<acoburn>peichman: oh good. Also, the code in CLAW master uses the correct namespace: https://github.com/Islandora-CLAW/CLAW/blob/master/install/configs/claw.cnd#L2511:01
<peichman>acoburn: good, glad to see it got fixed upstream :-)
<acoburn>peichman: looks like I had noticed it :-) https://github.com/Islandora-CLAW/CLAW/pull/391
<peichman>acoburn: go team! :-)11:02
* peichman goes to check the rest of the namespaces.cnd file11:03
* osmandin leaves11:05
* osmandin joins11:06
<peichman>acoburn++11:07
* bseeger leaves11:11
* osmandin leaves11:43
* kefo joins11:47
* osmandin joins
* osmandin leaves11:59
* coblej leaves12:03
* bseeger joins12:07
* dwilcox joins12:46
* ajs6f leaves
* ajs6f joins12:47
* bseeger leaves12:49
* mikeAtUVa joins12:50
* bseeger joins12:51
* coblej joins12:55
* mikeAtUVa leaves13:09
* mikeAtUVa joins13:21
* peichman leaves13:25
* bseeger leaves13:44
* dwilcox leaves
* osmandin joins14:04
* osmandin leaves
* bseeger joins14:12
<kefo>awoods: Righty./14:53
<awoods>kefo: ??
<kefo>awoods: I don't have a lot to go on here, but I ran a PUT script twice and both times encountered problems with the inserts.
awoods: The test was run against the Jetty standalone on a mac.14:54
awoods: I used this script: https://github.com/aic-collections/fcrepo-backup-restore-tests/blob/master/load-resources
awoods: Loading 100 resources per pairtree. This should load a total of 25,600 resources. No binaries.14:55
awoods: Single-threaded.
<awoods>kefo: does the same script run successfully on 4.7.0?14:57
<kefo>awoods: I've not gotten there yet. But I'll give that a shot now.14:58
awoods: I can share the error from fcrepo.log if that helps.
<awoods>kefo: please14:59
<kefo>awoods: https://gist.github.com/kefo/d26e124c9a68af456e9a6e2e0c53ca94
<awoods>kefo: It looks like leveldb/ispn errors... did you wipe out your fcrepo4-data directory first?15:01
<kefo>awoods: Yep.15:03
<awoods>kefo: I suspect/hope it is not an issue in 4.7.0... no leveldb, no ispn.
* dbernstein leaves15:06
<kefo>awoods: It's running against 4.7.0 presently.
<awoods>anticipation
<kefo>awoods: 25600 PUTs to Jetty 4.7.0 went fine.15:26
<awoods>kefo: that is good news.
<kefo>awoods: Technically, it was an entire backup/restore run, and it went without error.15:27
awoods: I'm going to run it again just to make myself feel better.
* dbernstein joins
<awoods>kefo: in the 4.6.1 test, you ran multi-thread?
<kefo>awoods: I saw the issues when running a single-threaded script.15:29
<awoods>kefo: we know there are issues with leveldb/ispn... hence 4.7.0. I think we should note the error you saw, but leave it at that... especially since the backup/restore worked.15:30
* dbernstein leaves15:36
* dbernstein_ joins
* dbernstein joins15:38
* dbernstein_ leaves
* dbernstein_ joins15:40
* dbernstein leaves
* dbernstein_ joins15:42
* dbernstein leaves
<kefo>awoods: The repeat 4.7.0 run is not complete, but the 25,600 PUTs were all 201s.15:43
<awoods>kefo: nice
<kefo>awoods: WIth respect to 4.6.1, that sounds fine. I take it everyone will be told to get to 4.7.1 as soon as possible after it is released? Especially if anyone is using leveldb.15:44
<awoods>kefo: exactly
* dbernstein_ joins15:47
* dbernstein leaves
* dbernstein leaves15:52
* dbernstein joins15:53
* dbernstein leaves15:57
* bseeger leaves
* dbernstein joins
* dbernstein leaves16:00
* dbernstein joins16:01
<ruebot>acoburn, peichman: ...that reminds me. awoods, shall I get that cnd in for the fcrepo camp vagrant?16:02
awoods: are we sorted on which branch we're going to base it off of yet?
<awoods>ruebot: Is a custom cnd needed?
ruebot: we will be using the 4.7.0 vagrant16:03
<ruebot>awoods: it would be ideal for the pcdm work
<awoods>ruebot: you want to ensure that the pcdm namespace prefix has been bound?
<ruebot>awoods: really just this https://github.com/Islandora-CLAW/CLAW/blob/master/install/scripts/fcrepo.sh#L31-L33 & https://github.com/Islandora-CLAW/CLAW/blob/master/install/configs/claw.cnd16:04
awoods: that's the basic gist of it, yeah.
<awoods>ruebot: hmm16:05
ruebot: I would prefer to use the "out of the box" vagrant...
* odin_ joins
<awoods>ruebot: ...and, this is not exactly the recommended approach for integrating a custom cnd: https://github.com/Islandora-CLAW/CLAW/blob/master/install/scripts/fcrepo.sh#L31-L3316:06
<ruebot>awoods: if i'm remembering things right, we talked about it a bit at the penn state sprint with awead. but, it should be a blocker. we could get a way without it.
* Guest10928 leaves
<ruebot>awoods: oh? what's the right way?
* osmandin joins16:07
<awoods>ruebot: two things:
ruebot: pointing to your own custom repository.json with the system property: -Dfcrepo.modeshape.configuration=file:/etc/fcrepo/repository.json16:08
<acoburn>I'd note that I just wrote the "recommended way to do this" last night16:09
<ruebot>acoburn++16:10
<awoods>ruebot: and in your custom repository.json, including a list of custom CNDs: "node-types" : ["fedora-node-types.cnd", "file:/etc/fcrepo/namespaces.cnd"]
<acoburn>https://wiki.duraspace.org/display/FEDORA4x/Best+Practices+-+RDF+Namespaces
<ruebot>awoods++
<awoods>ruebot: It would be a good topic for day three16:11
* ruebot creates a CLAW ticket
* bseeger joins16:17
* dbernstein leaves
* dbernstein joins
* dbernstein leaves16:19
* ajs6f leaves16:25
* peichman joins16:36
* osmandin leaves16:38
* coblej leaves16:50
* acoburn leaves17:02
* bseeger leaves17:03
* peichman leaves17:54
* dwilcox joins18:06
* kefo leaves18:58
* f4jenkins joins23:13