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

Heng Chen commented on HBASE-14684:
-----------------------------------

{code}
org.apache.hadoop.hbase.client.TestReplicaWithCluster.xml : XML document 
structures must start and end within the same entity. Nested exception: XML 
document structures must start and end within the same entity.
        at org.dom4j.io.SAXReader.read(SAXReader.java:482)
        at org.dom4j.io.SAXReader.read(SAXReader.java:264)
        at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:123)
        at hudson.tasks.junit.TestResult.parse(TestResult.java:282)
        at hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:228)
        at hudson.tasks.junit.TestResult.parse(TestResult.java:163)
        at hudson.tasks.junit.TestResult.parse(TestResult.java:146)
        at hudson.tasks.junit.TestResult.<init>(TestResult.java:122)
        at 
hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:119)
        at 
hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:93)
        at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2688)
        at hudson.remoting.UserRequest.perform(UserRequest.java:121)
        at hudson.remoting.UserRequest.perform(UserRequest.java:49)
        at hudson.remoting.Request$2.run(Request.java:326)
        at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
{code}

I found tests failed frequently when parse xml.  Why?  
Is this xml file written by other process when i read it?

> Try to remove all MiniMapReduceCluster in unit tests
> ----------------------------------------------------
>
>                 Key: HBASE-14684
>                 URL: https://issues.apache.org/jira/browse/HBASE-14684
>             Project: HBase
>          Issue Type: Improvement
>          Components: test
>            Reporter: Heng Chen
>            Assignee: Heng Chen
>            Priority: Critical
>             Fix For: 2.0.0
>
>         Attachments: HBASE-14684.patch, HBASE-14684_v1.patch
>
>
> As discussion in dev list,  we will try to do MR job without 
> MiniMapReduceCluster.
> Testcases will run faster and more reliable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to