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 "Andrei Dulceanu (JIRA)" <ji...@apache.org> on 2018/11/05 09:35:00 UTC

[jira] [Updated] (OAK-7882) Inconsistent handling of cloud-prefix causes segment-copy to fail

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

Andrei Dulceanu updated OAK-7882:
---------------------------------
    Attachment: OAK-7882.patch

> Inconsistent handling of cloud-prefix causes segment-copy to fail
> -----------------------------------------------------------------
>
>                 Key: OAK-7882
>                 URL: https://issues.apache.org/jira/browse/OAK-7882
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: oak-run, segment-azure
>    Affects Versions: 1.9.10
>            Reporter: Andrei Dulceanu
>            Assignee: Andrei Dulceanu
>            Priority: Major
>         Attachments: OAK-7882.patch
>
>
> Due to changes in OAK-7812, {{oak-run segment-copy}} now fails because of incorrect parsing of incomplete custom URI:
> {noformat}
> A problem occured while copying archives from repository/segmentstore/ to az:https://storageaccount.blob.core.windows.net/container/directory
> java.lang.NullPointerException
> 	at org.apache.jackrabbit.oak.segment.azure.util.AzureConfigurationParserUtils.parseAzureConfigurationFromUri(AzureConfigurationParserUtils.java:140)
> 	at org.apache.jackrabbit.oak.segment.azure.tool.ToolUtils.createCloudBlobDirectory(ToolUtils.java:122)
> 	at org.apache.jackrabbit.oak.segment.azure.tool.ToolUtils.newSegmentNodeStorePersistence(ToolUtils.java:98)
> 	at org.apache.jackrabbit.oak.segment.azure.tool.SegmentCopy.run(SegmentCopy.java:230)
> 	at org.apache.jackrabbit.oak.run.SegmentCopyCommand.execute(SegmentCopyCommand.java:55)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)