hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "HBase Review Board (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-3179) Once a minute, master logs being filled with ReplicationLogsCleaner messages even if no replication in use
Date Tue, 02 Nov 2010 00:06:25 GMT

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

HBase Review Board commented on HBASE-3179:
-------------------------------------------

Message from: "Jean-Daniel Cryans" <jdcryans@apache.org>

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://review.cloudera.org/r/1145/
-----------------------------------------------------------

Review request for hbase.


Summary
-------

Patch that disables ReplicationLogCleaner when it's not enabled, and that reenables+forward
ports TestLogsCleaner (just figured it was disabled when I wanted to run the unit test).


This addresses bug HBASE-3179.
    http://issues.apache.org/jira/browse/HBASE-3179


Diffs
-----

  /trunk/src/main/java/org/apache/hadoop/hbase/replication/master/ReplicationLogCleaner.java
1029893 
  /trunk/src/test/java/org/apache/hadoop/hbase/master/TestLogsCleaner.java 1029893 

Diff: http://review.cloudera.org/r/1145/diff


Testing
-------

Unit testing and local instance.


Thanks,

Jean-Daniel




> Once a minute, master logs being filled with ReplicationLogsCleaner messages even if
no replication in use
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-3179
>                 URL: https://issues.apache.org/jira/browse/HBASE-3179
>             Project: HBase
>          Issue Type: Improvement
>          Components: master, replication
>    Affects Versions: 0.90.0
>            Reporter: Jonathan Gray
>            Assignee: Jean-Daniel Cryans
>            Priority: Critical
>             Fix For: 0.90.0
>
>
> I'm seeing logs like this on a trunk master:
> {noformat}
> 2010-10-31 11:21:13,793 DEBUG org.apache.hadoop.hbase.replication.master.ReplicationLogCleaner:
Didn't find this log in ZK, deleting: 1.1.1.1%3A60020.1288545516340
> 2010-10-31 11:21:13,793 WARN org.apache.hadoop.hdfs.DFSClient: File /HBASE/.oldlogs/1.1.1.1%3A60020.1288545516340
is beng deleted only through Trash org.apache.hadoop.fs.FsShell.delete because all deletes
must go through Trash.
> 2010-10-31 11:21:13,798 DEBUG org.apache.hadoop.hbase.replication.master.ReplicationLogCleaner:
Didn't find this log in ZK, deleting: 1.1.1.1%3A60020.1288545899208
> 2010-10-31 11:21:13,798 WARN org.apache.hadoop.hdfs.DFSClient: File /HBASE/.oldlogs/1.1.1.1%3A60020.1288545899208
is beng deleted only through Trash org.apache.hadoop.fs.FsShell.delete because all deletes
must go through Trash.
> {noformat}
> There are like 50 of these showing up once a minute.  I'm unsure if this is more valuable
when replication is turned on, but should this be running when replication is not on in this
cluster?  At the least there should be less logging, like one line per run.

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