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

Jim Kellerman commented on HBASE-728:
-------------------------------------

HBASE-956 Master and region server threads should extend Chore

Chore: Note that chores are repetitive tasks that do not wake up when there is 
work to be done.

Leases: are not Chores, because they wait on a DelayQueue rather than doing the 
same thing.

HMaster: is not a Chore because the run loop waits for an entry on the 
toDoQueue or delayedToDoQueue

CompactSplitThred: is not a Chore because it waits for compaction requests

HLog: neither a Thread nor a Chore. It is now just an object which manages the 
HLog

LogRoller is a Thread and not a Chore because it waits for log roll requests.

HBASE-955 Stop HLog thread before starting a new one

No longer applies as HLog is neither a Thread nor a Chore. HLog has new method 
HLog.optionalSync.

HRegionServer:
- starts new Chore which is LogFlusher. Thread is named consistantly with other 
threads, region server tells the LogFlusher whenever the HLog object changes.
- renamed Flusher to MemcacheFlusher so it would not be confused with LogFlusher

Rename Flusher to MemcacheFlusher

New Chore LogFlusher. Allows client (HRegionServer) to change the HLog instance 
being used, calls HLog.optionalSync() every threadWakeInterval.


> Supporting for HLog appends
> ---------------------------
>
>                 Key: HBASE-728
>                 URL: https://issues.apache.org/jira/browse/HBASE-728
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: regionserver
>            Reporter: Billy Pearson
>            Assignee: Jim Kellerman
>            Priority: Blocker
>             Fix For: 0.19.0
>
>
> I thank we should open a ticket to track what needs changed to support 
> appends when the coding is done on HADOOP-1700.

-- 
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