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] [Created] (HDFS-5172) Handle race condition for writes
Date Mon, 09 Sep 2013 04:43:52 GMT
Brandon Li created HDFS-5172:

             Summary: Handle race condition for writes
                 Key: HDFS-5172
                 URL: https://issues.apache.org/jira/browse/HDFS-5172
             Project: Hadoop HDFS
          Issue Type: Sub-task
            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

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message