You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Georgi Chalakov (JIRA)" <ji...@apache.org> on 2017/09/25 18:27:00 UTC

[jira] [Comment Edited] (HADOOP-14906) ITestAzureConcurrentOutOfBandIo failing with checksum errors on write

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

Georgi Chalakov edited comment on HADOOP-14906 at 9/25/17 6:26 PM:
-------------------------------------------------------------------

I am not sure that this is related to the block compaction change. The debug message shows no directories in the list for block blobs with compaction. I posted the code where we check whether the file is in one of those directories and if it is not we skip BlockBlobAppendStream.

2017-09-25 14:47:17,484 DEBUG [JUnit-testReadOOBWrites]: azure.AzureNativeFileSystemStore (AzureNativeFileSystemStore.java:initialize(550)) - Block blobs with compaction directories:  

{code:title=Bar.java|borderStyle=solid}
      if (isBlockBlobWithCompactionKey(key)) {
        BlockBlobAppendStream blockBlobOutputStream = new BlockBlobAppendStream(
            (CloudBlockBlobWrapper) blob,
            keyEncoded,
            this.uploadBlockSizeBytes,
            true,
            getInstrumentedContext());
        outputStream = blockBlobOutputStream;
      } else {
        outputStream = openOutputStream(blob);
      }
{code}


was (Author: georgi):
I am not sure that this is related to the block compaction change. The debug message shows no directories in the list for block blobs with compaction. I posted the code where we check whether the file is in one of those directories and if it is not we skip BlockBlobAppendStream.

2017-09-25 14:47:17,484 DEBUG [JUnit-testReadOOBWrites]: azure.AzureNativeFileSystemStore (AzureNativeFileSystemStore.java:initialize(550)) - Block blobs with compaction directories:  

      if (isBlockBlobWithCompactionKey(key)) {
        BlockBlobAppendStream blockBlobOutputStream = new BlockBlobAppendStream(
            (CloudBlockBlobWrapper) blob,
            keyEncoded,
            this.uploadBlockSizeBytes,
            true,
            getInstrumentedContext());
        outputStream = blockBlobOutputStream;
      } else {
        outputStream = openOutputStream(blob);
      }

> ITestAzureConcurrentOutOfBandIo failing with checksum errors on write
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-14906
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14906
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/azure
>    Affects Versions: 2.9.0, 3.1.0
>         Environment: UK BT ASDL connection, 1.8.0_121-b13, azure storage ireland
>            Reporter: Steve Loughran
>
> {{ITestAzureConcurrentOutOfBandIo}} is consistently raising an IOE with the text "The MD5 value specified in the request did not match with the MD5 value calculated by the server"



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org