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.

Reply via email to