You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (Commented) (JIRA)" <ji...@apache.org> on 2011/10/08 23:25:29 UTC

[jira] [Commented] (HBASE-4553) The update of .tableinfo is not atomic; we remove then rename

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

stack commented on HBASE-4553:
------------------------------

So, I see this in this failure up on jenkins in https://builds.apache.org/job/HBase-0.92/53/artifact/trunk/target/surefire-reports/org.apache.hadoop.hbase.avro.TestAvroServer-output.txt

I see that we updated .tableinfo and a check on the files modtime at about the same time fails with filenotfound.

Todd, should we spin here till file shows up?
                
> The update of .tableinfo is not atomic; we remove then rename
> -------------------------------------------------------------
>
>                 Key: HBASE-4553
>                 URL: https://issues.apache.org/jira/browse/HBASE-4553
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>
> This comes of HBASE-4547.  The rename in 0.20 hdfs fails if file exists already.  In 0.20+ its better but still 'some' issues if existing reader when file is renamed.  This issue is about fixing this (though we depend on fix first being in hdfs).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira