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

Duo Xu commented on HADOOP-15190:
---------------------------------

I think Yetus also supports Jacoco? Apache HBase is using Jacoco AFAIK.

My patch will also generate report/xml for each sub module, so this should not 
be a problem.

hadoop-coverage folder is only used for aggregated reports since Jacoco does 
not have a direct way to produce an aggregated multi-module report.

I am also open to use either tool. I initially proposed using Jacoco as it is 
more widely used in Java world. In other build systems like VSTS, it only 
supports [cobertura and 
Jacoco|[https://docs.microsoft.com/en-us/vsts/build-release/tasks/test/publish-code-coverage-results].]

We can compare and see which one is better for Hadoop :)

> Use Jacoco to generate Unit Test coverage reports
> -------------------------------------------------
>
>                 Key: HADOOP-15190
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15190
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>            Reporter: Duo Xu
>            Assignee: Duo Xu
>            Priority: Minor
>         Attachments: HADOOP-15190.01.patch, jacoco_report_2018_01_25.JPG
>
>
> Currently Hadoop is using maven-clover2-plugin for code coverage, which is 
> outdated. And Atlassian open-sourced clover last year so license cannot be 
> purchased although we can switch to use the license-free version called 
> "openclover".
> This Jira is to replace clover with Jacoco, which is actively maintained by 
> the community.
>   



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to