You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Matt Ryan (JIRA)" <ji...@apache.org> on 2018/02/13 00:10:00 UTC
[jira] [Created] (OAK-7260) oak-run throws IllegalStateException in
backup mode
Matt Ryan created OAK-7260:
------------------------------
Summary: oak-run throws IllegalStateException in backup mode
Key: OAK-7260
URL: https://issues.apache.org/jira/browse/OAK-7260
Project: Jackrabbit Oak
Issue Type: Bug
Components: oak-run
Reporter: Matt Ryan
I try to run {{oak-run}} to back up my repository according to the [online documentation|https://jackrabbit.apache.org/oak/docs/command_line.html], 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:
# Tool help gives correct options for correct usage
# Online documentation gives correct options for correct usage
# 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)