Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-4407

ISE in case command "lc" is used in oak:run console

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.2.15
    • None
    • run
    • None

    Description

      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:

      /> 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)
      

      I don't know how to explicitly configure the blobStore for lucene (this is IMHO not necessary).

      Attachments

        Issue Links

          Activity

            People

              catholicon Vikas Saurabh
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: