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

Ted Yu commented on HBASE-11621:
--------------------------------

Looks like some reflection is needed if this change goes to 0.98
For hadoop-1, I got:
{code}
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile 
(default-testCompile) on project hbase-server: Compilation failure: Compilation 
failure:
[ERROR] 
/Users/tyu/98/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java:[102,45]
 error: cannot find symbol
[ERROR] symbol:   class EditLogFileOutputStream
[ERROR] location: package org.apache.hadoop.hdfs.server.namenode
[ERROR] 
/Users/tyu/98/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java:[510,4]
 error: cannot find symbol
{code}

> Make MiniDFSCluster run faster
> ------------------------------
>
>                 Key: HBASE-11621
>                 URL: https://issues.apache.org/jira/browse/HBASE-11621
>             Project: HBase
>          Issue Type: Task
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>             Fix For: 0.99.0, 0.98.5, 2.0.0
>
>         Attachments: 11621-v1.txt
>
>
> Daryn proposed the following change in HDFS-6773:
> {code}
> EditLogFileOutputStream.setShouldSkipFsyncForTesting(true);
> {code}
> With this change in HBaseTestingUtility#startMiniDFSCluster(), runtime for 
> TestAdmin went from 8:35 min to 7 min



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to