You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Xieming Li (Jira)" <ji...@apache.org> on 2020/01/20 07:39:00 UTC

[jira] [Updated] (HADOOP-16808) Use forkCount and reuseForks parameters instead of forkMode in the config of maven surefire plugin

     [ https://issues.apache.org/jira/browse/HADOOP-16808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xieming Li updated HADOOP-16808:
--------------------------------
    Attachment: HADOOP-16808.000.patch
        Status: Patch Available  (was: Open)

Fixed deprecated code according the following guidance:

[http://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html#Migrating_the_Deprecated_forkMode_Parameter_to_forkCount_and_reuseForks]

> Use forkCount and reuseForks parameters instead of forkMode in the config of maven surefire plugin
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-16808
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16808
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>            Reporter: Akira Ajisaka
>            Assignee: Xieming Li
>            Priority: Minor
>              Labels: newbie
>         Attachments: HADOOP-16808.000.patch
>
>
> forkMode parameter is now deprecated.
> https://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html
>  
> {noformat}
> $ find . -name "pom.xml" | xargs grep "forkMode"
> ./hadoop-tools/hadoop-distcp/pom.xml:          <forkMode>always</forkMode>
> ./hadoop-hdfs-project/hadoop-hdfs-httpfs/pom.xml:              <forkMode>once</forkMode>
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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