[ 
https://issues.apache.org/jira/browse/OAK-1921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Mueller updated OAK-1921:
--------------------------------

    Description: 
I tried to backup a segmentstore (with an external BlobStore) using

{noformat}
java -mx8g -jar oak-run-1.0.2-SNAPSHOT.jar backup segmentstore s2
{noformat}

and got:

{noformat}
Attempt to read external blob with blobId
[c184d2a3f1dbc709004a45ae6c5df7624c2ae653#32768] without specifying BlobStore
  at 
org.apache.jackrabbit.oak.plugins.segment.SegmentBlob.getReference(SegmentBlob.java:118)
  at 
org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeBlob(SegmentWriter.java:706)
  at 
org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeProperty(SegmentWriter.java:808)
  at 
org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeProperty(SegmentWriter.java:796)
{noformat}

There are two options:

1) Adjust the backup code to work like compaction does, i.e. leave
external blobs as-is and perhaps output a message that informs the
user about the need to use a different mechanism to back up the
BlobStore contents

2) Add command line options for configuring the BlobStore to be used
for accessing external blobs.

  was:
I tried to backup a segmentstore (with an external BlobStore) using

{noformat}
java -mx8g -jar oak-run-1.0.2-SNAPSHOT.jar backup segmentstore s2
{noformat}

and got:

{noformat}
Attempt to read external blob with blobId
[c184d2a3f1dbc709004a45ae6c5df7624c2ae653#32768] without specifying
BlobStore
  at
org.apache.jackrabbit.oak.plugins.segment.SegmentBlob.getReference(SegmentB
lob.java:118)
  at
org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeBlob(SegmentWr
iter.java:706)
  at
org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeProperty(Segme
ntWriter.java:808)
  at
org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeProperty(Segme
ntWriter.java:796)
{noformat}

There are two options:

1) Adjust the backup code to work like compaction does, i.e. leave
external blobs as-is and perhaps output a message that informs the
user about the need to use a different mechanism to back up the
BlobStore contents

2) Add command line options for configuring the BlobStore to be used
for accessing external blobs.


> Backup: "Attempt to read external blob" error
> ---------------------------------------------
>
>                 Key: OAK-1921
>                 URL: https://issues.apache.org/jira/browse/OAK-1921
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segmentmk
>    Affects Versions: 1.0, 1.0.1, 1.0.2
>            Reporter: Thomas Mueller
>
> I tried to backup a segmentstore (with an external BlobStore) using
> {noformat}
> java -mx8g -jar oak-run-1.0.2-SNAPSHOT.jar backup segmentstore s2
> {noformat}
> and got:
> {noformat}
> Attempt to read external blob with blobId
> [c184d2a3f1dbc709004a45ae6c5df7624c2ae653#32768] without specifying BlobStore
>   at 
> org.apache.jackrabbit.oak.plugins.segment.SegmentBlob.getReference(SegmentBlob.java:118)
>   at 
> org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeBlob(SegmentWriter.java:706)
>   at 
> org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeProperty(SegmentWriter.java:808)
>   at 
> org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeProperty(SegmentWriter.java:796)
> {noformat}
> There are two options:
> 1) Adjust the backup code to work like compaction does, i.e. leave
> external blobs as-is and perhaps output a message that informs the
> user about the need to use a different mechanism to back up the
> BlobStore contents
> 2) Add command line options for configuring the BlobStore to be used
> for accessing external blobs.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to