[ https://issues.apache.org/jira/browse/OAK-4407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15303917#comment-15303917 ]
Konrad Windszus edited comment on OAK-4407 at 5/27/16 10:49 AM: ---------------------------------------------------------------- Since the Lucene command was added with https://issues.apache.org/jira/browse/OAK-1993 (available from 1.1.0 on) but due to this issue is IMHO unusable I think backporting OAK-4297 makes a lot of sense. I am really wondering why no one noticed before, because I don't think that "lc" ever worked (without explicitly configuring the datastore). I didn't test with trunk though (only with 1.2.15). was (Author: kwin): Since the Lucene command was added with https://issues.apache.org/jira/browse/OAK-1993 (available from 1.1.0 on) but due to this issue is IMHO unusable I think backporting OAK-4297 makes a lot of sense. I am really wondering why no one noticed before, because I don't think that "lc" ever worked (without explicitly configuring the datastore). > ISE in case command "lc" is used in oak:run console > --------------------------------------------------- > > Key: OAK-4407 > URL: https://issues.apache.org/jira/browse/OAK-4407 > Project: Jackrabbit Oak > Issue Type: Bug > Components: run > Affects Versions: 1.2.15 > Reporter: Konrad Windszus > > In case I enter the console from oak-run via {{java -jar oak-run-1.2.15.jar > console <path to segment store>}} > and then enter the command {{lc}}, the following exception is emitted: > {code} > /> lc > ERROR java.lang.IllegalStateException: > Attempt to read external blob with blobId > [3ab990f0d15cc7b621f3440128337b0adfc2f8eb#26191] without specifying BlobStore > at org.apache.jackrabbit.oak.plugins.segment.file.FileStore.readBlob > (FileStore.java:911) > at org.apache.jackrabbit.oak.plugins.segment.SegmentBlob.getBlob > (SegmentBlob.java:261) > at org.apache.jackrabbit.oak.plugins.segment.SegmentBlob.getLength > (SegmentBlob.java:269) > at org.apache.jackrabbit.oak.plugins.segment.SegmentBlob.length > (SegmentBlob.java:109) > at > org.apache.jackrabbit.oak.plugins.index.lucene.OakDirectory$OakIndexFile.<init> > (OakDirectory.java:246) > at > org.apache.jackrabbit.oak.plugins.index.lucene.OakDirectory$OakIndexInput.<init> > (OakDirectory.java:398) > at > org.apache.jackrabbit.oak.plugins.index.lucene.OakDirectory.fileLength > (OakDirectory.java:108) > at > org.apache.jackrabbit.oak.console.commands.LuceneCommand$_dirSize_closure4.doCall > (LuceneCommand.groovy:134) > at org.apache.jackrabbit.oak.console.commands.LuceneCommand.dirSize > (LuceneCommand.groovy:134) > at > org.apache.jackrabbit.oak.console.commands.LuceneCommand$_closure1.doCall > (LuceneCommand.groovy:62) > at java_lang_Runnable$run.call (Unknown Source) > at org.apache.jackrabbit.oak.console.GroovyConsole$OakSh.run > (GroovyConsole.groovy:259) > at org.apache.jackrabbit.oak.console.GroovyConsole.run > (GroovyConsole.groovy:68) > at org.apache.jackrabbit.oak.console.Console.main (Console.java:119) > at org.apache.jackrabbit.oak.run.Main.main (Main.java:174) > {code} > I don't know how to explicitly configure the blobStore for lucene (this is > IMHO not necessary). -- This message was sent by Atlassian JIRA (v6.3.4#6332)