hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15190) Use Jacoco to generate Unit Test coverage reports
Date Fri, 26 Jan 2018 20:23:00 GMT

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

Allen Wittenauer commented on HADOOP-15190:

bq. Yetus also supports Jacoco? Apache HBase is using Jacoco AFAIK.

Nope.  Yetus currently doesn't (directly) support any code coverage tools.  HBase might have
added their own Yetus code to support it though.

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

That seems like a pretty big (and surprising!) negative. The maven modules are rarely updated
(again: not press release work) and I'd be concerned about stuff falling though the cracks.

> 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

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

View raw message