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 "Chris Nauroth (JIRA)" <ji...@apache.org> on 2016/08/16 20:38:20 UTC

[jira] [Updated] (HADOOP-13501) Run contract tests guarded by "is-blobstore" flag against WASB.

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

Chris Nauroth updated HADOOP-13501:
-----------------------------------
    Attachment: HADOOP-13501.001.patch

I'm attaching a patch.

I noticed this after a conversation about visibility of a file immediately upon creation.  WASB does implement this behavior correctly by saving a zero-byte blob at the path during the {{create}} call before returning the stream.  That means that {{AbstractContractCreateTest#testCreatedFileIsImmediatelyVisible}} can pass against WASB.

I have done a full test run against my Azure Storage account.

> Run contract tests guarded by "is-blobstore" flag against WASB.
> ---------------------------------------------------------------
>
>                 Key: HADOOP-13501
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13501
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs/azure
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>            Priority: Minor
>         Attachments: HADOOP-13501.001.patch
>
>
> The {{fs.contract.is-blobstore}} flag guards against execution of several contract tests when the file system is backed by a blob store.  Even though Azure Storage is a blob store, WASB is still capable of passing these tests, because its implementation matches the semantics of HDFS in these areas.  This issue proposes setting the flag to {{false}} for improved regression testing of WASB.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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