hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10203) Separate testLogRollOnPipelineRestart out of TestLogRolling
Date Wed, 18 Dec 2013 22:17:07 GMT

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

Sergey Shelukhin commented on HBASE-10203:
------------------------------------------

{code}
+ {
+   ((Log4JLogger)DataNode.LOG).getLogger().setLevel(Level.ALL);
+   ((Log4JLogger)LeaseManager.LOG).getLogger().setLevel(Level.ALL);
+   ((Log4JLogger)LogFactory.getLog("org.apache.hadoop.hdfs.server.namenode.FSNamesystem"))
+     .getLogger().setLevel(Level.ALL);
+   ((Log4JLogger)DFSClient.LOG).getLogger().setLevel(Level.ALL);
+   ((Log4JLogger)HRegionServer.LOG).getLogger().setLevel(Level.ALL);
+   ((Log4JLogger)HRegion.LOG).getLogger().setLevel(Level.ALL);
+   ((Log4JLogger)HLog.LOG).getLogger().setLevel(Level.ALL);
+ }
{code} what is this code?

Also is it possible to name the test better?


> Separate testLogRollOnPipelineRestart out of TestLogRolling
> -----------------------------------------------------------
>
>                 Key: HBASE-10203
>                 URL: https://issues.apache.org/jira/browse/HBASE-10203
>             Project: HBase
>          Issue Type: Test
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>             Fix For: 0.99.0
>
>         Attachments: 10203-v1.txt
>
>
> From https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/16/testReport/org.apache.hadoop.hbase.regionserver.wal/TestLogRolling/
:
> {code}
> testCompactionRecordDoesntBlockRolling	30 sec	Passed
> testLogRollOnDatanodeDeath	3 min 19 sec	Passed
> testLogRollOnPipelineRestart	6 min 16 sec	Passed
> testLogRolling	4 min 27 sec	Passed
> {code}
> We can see that testLogRollOnPipelineRestart took almost as long as the other tests combined.
> This JIRA separates testLogRollOnPipelineRestart out of TestLogRolling



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message