hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans (JIRA)" <j...@apache.org>
Subject [jira] Created: (HBASE-3359) LogRoller not added as a WAL listener when replication is enabled
Date Wed, 15 Dec 2010 00:18:00 GMT
LogRoller not added as a WAL listener when replication is enabled
-----------------------------------------------------------------

                 Key: HBASE-3359
                 URL: https://issues.apache.org/jira/browse/HBASE-3359
             Project: HBase
          Issue Type: Bug
            Reporter: Jean-Daniel Cryans
            Assignee: Jean-Daniel Cryans
             Fix For: 0.90.0


Another thing I broke when porting to the new master, LogRoller is started but never added
to HLog meaning that only hourly rolls work. Easy fix in HRS:

{code}
     this.hlogRoller = new LogRoller(this, this);
     listeners.add(this.hlogRoller);
     if (this.replicationHandler != null) {
-      listeners = new ArrayList<WALObserver>();
       // Replication handler is an implementation of WALActionsListener.
       listeners.add(this.replicationHandler);
{code}

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


Mime
View raw message