hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10319) HLog should roll periodically to allow DN decommission to eventually complete.
Date Tue, 04 Feb 2014 12:50:09 GMT

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

Hudson commented on HBASE-10319:
--------------------------------

SUCCESS: Integrated in HBase-TRUNK #4879 (See [https://builds.apache.org/job/HBase-TRUNK/4879/])
HBASE-10319 HLog should roll periodically to allow DN decommission to eventually complete
(mbertozzi: rev 1564237)
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/LogRoller.java
* /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestLogRollPeriod.java


> HLog should roll periodically to allow DN decommission to eventually complete.
> ------------------------------------------------------------------------------
>
>                 Key: HBASE-10319
>                 URL: https://issues.apache.org/jira/browse/HBASE-10319
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jonathan Hsieh
>            Assignee: Matteo Bertozzi
>             Fix For: 0.98.0, 0.96.2, 0.94.18
>
>         Attachments: HBASE-10319-v0.patch, HBASE-10319-v1.patch
>
>
> We encountered a situation where we had an esseitially read only table and attempted
to do a clean HDFS DN decommission.  DN's cannot decomission if there are open blocks being
written to currently on it.  Because the hbase Hlog file was open, had some data (hlog header),
the DN could not decommission itself.  Since no new data is ever written, the existing periodic
check is not activated.
> After discussing with [~atm], it seems that although an hdfs semantics change would be
ideal (e.g. hbase doesn't have to be aware of hdfs decommission and the client would roll
over) this would take much more effort than having hbase periodically force a log roll.  This
would enable the hdfs dn con complete.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message