hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gaurav Kanade (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12540) TestAzureFileSystemInstrumentation#testClientErrorMetrics fails intermittently due to assumption that a lease error will be thrown.
Date Tue, 03 Nov 2015 19:09:27 GMT

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

Gaurav Kanade commented on HADOOP-12540:
----------------------------------------

The patch provides a new way to induce client error thus ensuring test functions as expected.
Instead of relying on the delete mechanism we simulate the error now by creating a file, then
acquiring a short lease on it and then trying to write on it without the lease


> TestAzureFileSystemInstrumentation#testClientErrorMetrics fails intermittently due to
assumption that a lease error will be thrown.
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-12540
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12540
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: azure, test
>            Reporter: Chris Nauroth
>            Assignee: Gaurav Kanade
>         Attachments: HADOOP-12540.01.patch
>
>
> HADOOP-12508 changed the behavior of an Azure Storage lease violation during deletes.
 It appears that {{TestAzureFileSystemInstrumentation#testClientErrorMetrics}} is partly dependent
on the old behavior for simulating an error to be tracked by the metrics system.  I am seeing
intermittent failures in this test.



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

Mime
View raw message