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

Jim Kellerman updated HBASE-1155:
---------------------------------

    Attachment: patch.txt

Patch that uses new API's to recover file lease and read from last log file 
being written by region server.

It does work, but slowly. As noted in HADOOP-4379, it takes almost an hour to 
recover the file lease when the clusters are loaded.

{code}
2009-02-25 21:39:16,843 DEBUG org.apache.hadoop.hbase.regionserver.HLog: 
Splitting 3 of 3: 
hdfs:/x.y.com:8100/hbase/log_10.76.44.139_1235597506284_8020/hlog.dat.1235597820662
2009-02-25 21:39:16,847 DEBUG org.apache.hadoop.hbase.regionserver.HLog: 
Triggering lease recovery.
...
2009-02-25 22:37:12,755 INFO org.apache.hadoop.hbase.regionserver.HLog: log 
file splitting completed for 
hdfs://x.y.com:8100/hbase/log_10.76.44.139_1235597506284_8020
{code}


> Verify that FSDataoutputStream.sync() works
> -------------------------------------------
>
>                 Key: HBASE-1155
>                 URL: https://issues.apache.org/jira/browse/HBASE-1155
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: master, regionserver
>    Affects Versions: 0.19.0
>            Reporter: Jim Kellerman
>            Assignee: Jim Kellerman
>             Fix For: 0.19.1, 0.20.0
>
>         Attachments: patch.txt
>
>
> In order to guarantee that an HLog sync() flushes the data to the HDFS, we 
> will need to invoke FSDataOutputStream.sync() per HADOOP-4379.
> Currently, there is no access to the underlying FSDataOutputStream from 
> SequenceFile.Writer, as it is a package private member.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to