From oak-issues-return-74125-archive-asf-public=cust-asf.ponee.io@jackrabbit.apache.org Wed Aug 14 10:53:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id ED94D1802C7 for ; Wed, 14 Aug 2019 12:53:01 +0200 (CEST) Received: (qmail 16352 invoked by uid 500); 14 Aug 2019 10:53:01 -0000 Mailing-List: contact oak-issues-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-issues@jackrabbit.apache.org Received: (qmail 16340 invoked by uid 99); 14 Aug 2019 10:53:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Aug 2019 10:53:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 928B7E02AA for ; Wed, 14 Aug 2019 10:53:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 483DD27778 for ; Wed, 14 Aug 2019 10:53:00 +0000 (UTC) Date: Wed, 14 Aug 2019 10:53:00 +0000 (UTC) From: "Andrei Dulceanu (JIRA)" To: oak-issues@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (OAK-8531) Reading Azure Journal File while it's modified fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)