[ https://issues.apache.org/jira/browse/HADOOP-17776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17742637#comment-17742637 ]
ASF GitHub Bot commented on HADOOP-17776: ----------------------------------------- jiwq closed pull request #3147: HADOOP-17776. The java agent args should be passed as the VM arguments URL: https://github.com/apache/hadoop/pull/3147 > The java agent args should be passed as the VM arguments > -------------------------------------------------------- > > Key: HADOOP-17776 > URL: https://issues.apache.org/jira/browse/HADOOP-17776 > Project: Hadoop Common > Issue Type: Improvement > Reporter: Wanqiang Ji > Assignee: Wanqiang Ji > Priority: Major > Labels: pull-request-available > Time Spent: 1h 20m > Remaining Estimate: 0h > > Some java agents or maven plugins want works well, must pass the agent > arguments as the VM arguments, such as JaCoCo etc. > PS. Use the JaCoCo to generate the code coverage data and put into SonarQube. > {code:java} > mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package > -Dmaven.test.failure.ignore=true org.jacoco:jacoco-maven-plugin:report > surefire-report:report > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org