hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Li (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-5172) Handle race condition for writes
Date Fri, 08 Nov 2013 19:36:18 GMT

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

Brandon Li resolved HDFS-5172.
------------------------------

    Resolution: Fixed

This issue is fixed along with the fix to HDFS-5364. Solve it as a dup.

> Handle race condition for writes
> --------------------------------
>
>                 Key: HDFS-5172
>                 URL: https://issues.apache.org/jira/browse/HDFS-5172
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: nfs
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>
> When an unstable write arrives, the following happens: 
> 1. retrieves the OpenFileCtx
> 2. create asyn task to write it to hdfs
> The race is that, the OpenFileCtx could be closed by the StreamMonitor. Then step 2 will
simply return an error to the client.
> This is OK before streaming is supported. To support data streaming, the file needs to
be reopened.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message