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

oak-run throws IllegalStateException in backup mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • doc, run, segment-tar
    • None

    Description

      I try to run oak-run to back up my repository according to the online documentation, like this:

      java -mx4g -jar oak-run-1.10-SNAPSHOT.jar backup repository/segmentstore ./repo.bak

      When I do this I get an IllegalStateException:

      java.lang.IllegalStateException: Attempt to read external blob with blobId 
      [ 3e15c88da9b46267141b60826c0734007c3e5a5f804c953edb0280eda680a9be#174188 ]
      without specifying BlobStore

       

      It is unclear how to proceed, based on the documentation.  It doesn't tell me how to specify a blob store path.  Expected behavior should be:

      1. Tool help gives correct options for correct usage
      2. Online documentation gives correct options for correct usage
      3. Tool handles exception gracefully instead of throwing stack trace

       

      Configuration:  Default Oak setup with SegmentNodeStore and FileDataStore, no custom configuration.  I tested with oak-run built from sources as well as multiple downloaded versions, all gave the same behavior.  Path to repository is correct and I verified the blob actually does exist in the blob store.

      Attachments

        1. OAK-7260-stacktrace.txt
          11 kB
          Matt Ryan

        Activity

          People

            Unassigned Unassigned
            mattvryan Matt Ryan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: