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, 02 Feb 2018 23:16:00 GMT

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

Allen Wittenauer commented on HADOOP-15190:
-------------------------------------------

I was reminded today of HDFS-12711 which is still very much a problem.  (We're dropping between
30-70% of the unit test results in every patch run.)  Adding any sort of coverage code as
part of the unit test runs is just going to make HDFS worse. Granted, not as bad as adding
more unit tests or, forbid, a big functionality merge, but it will still add load and push
it even farther off the cliff.

> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message