jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei Dulceanu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-8531) Reading Azure Journal File while it's modified fails
Date Wed, 14 Aug 2019 10:53:00 GMT

    [ https://issues.apache.org/jira/browse/OAK-8531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16907161#comment-16907161
] 

Andrei Dulceanu commented on OAK-8531:
--------------------------------------

[~tomek.rekawek], I was able to consistently reproduce the behaviour with a slightly changed
version of your IT,  [^AzureJournalFileCouncurrencyITv2.java]. The only thing remaining now
is that this test fails, although it shouldn't, when the {{AZURE_CONNECTION}} environment
variable is not set:

{noformat}
[INFO] Running org.apache.jackrabbit.oak.segment.azure.AzureJournalFileConcurrencyIT
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.09 s <<<
FAILURE! - in org.apache.jackrabbit.oak.segment.azure.AzureJournalFileConcurrencyIT
[ERROR] org.apache.jackrabbit.oak.segment.azure.AzureJournalFileConcurrencyIT  Time elapsed:
0.089 s  <<< ERROR!
org.junit.AssumptionViolatedException: got: <[null]>, expected: every item is not null
	at org.apache.jackrabbit.oak.segment.azure.AzureJournalFileConcurrencyIT.connectToAzure(AzureJournalFileConcurrencyIT.java:54)

[ERROR] org.apache.jackrabbit.oak.segment.azure.AzureJournalFileConcurrencyIT  Time elapsed:
0.09 s  <<< ERROR!
java.lang.NullPointerException
	at org.apache.jackrabbit.oak.segment.azure.AzureJournalFileConcurrencyIT.cleanupContainer(AzureJournalFileConcurrencyIT.java:70)
{noformat}

I'm running this with Java 8:

{noformat}
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
{noformat}

> Reading Azure Journal File while it's modified fails
> ----------------------------------------------------
>
>                 Key: OAK-8531
>                 URL: https://issues.apache.org/jira/browse/OAK-8531
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segment-azure
>    Affects Versions: 1.16.0
>            Reporter: Andrei Dulceanu
>            Assignee: Andrei Dulceanu
>            Priority: Major
>         Attachments: AzureJournalFileConcurrencyIT.java, AzureJournalFileCouncurrencyITv2.java,
OAK-8531.patch
>
>
> Trying to read the Azure Journal File while it's modified triggers the following exception:
> {noformat}
> java.io.IOException: com.microsoft.azure.storage.StorageException: The condition specified
using HTTP conditional header(s) is not met.
> ! at org.apache.jackrabbit.oak.segment.azure.ReverseFileReader.readBlock(ReverseFileReader.java:70)
> ! at org.apache.jackrabbit.oak.segment.azure.ReverseFileReader.readLine(ReverseFileReader.java:96)
> ! at org.apache.jackrabbit.oak.segment.azure.AzureJournalFile$AzureJournalReader.readLine(AzureJournalFile.java:126)
> ! at org.apache.jackrabbit.oak.segment.azure.AzureJournalFile$CombinedReader.readLine(AzureJournalFile.java:240)
> ! at org.apache.jackrabbit.oak.segment.azure.tool.SegmentStoreMigrator.migrateJournal(SegmentStoreMigrator.java:99)
> ! at org.apache.jackrabbit.oak.segment.azure.tool.SegmentStoreMigrator.migrate(SegmentStoreMigrator.java:84)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message