[ https://issues.apache.org/jira/browse/PHOENIX-6308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17491614#comment-17491614 ]
Viraj Jasani commented on PHOENIX-6308: --------------------------------------- [~stoty] you are right, we don't seem to be facing this anymore. I will close this Jira. Thanks > Error creating shaded jar in precommit PR builds > ------------------------------------------------ > > Key: PHOENIX-6308 > URL: https://issues.apache.org/jira/browse/PHOENIX-6308 > Project: Phoenix > Issue Type: Task > Affects Versions: 5.0.0 > Reporter: Viraj Jasani > Priority: Major > Fix For: 4.17.0, 4.16.2 > > > While testing various approaches with [~stoty] to deal with init miniCluster > failures as pert of PHOENIX-6288, we have seen a couple of successful > precommit PR build results for phoenix-core (although the final approach is > still under consideration due to perf impact), however, phoenix-client and > phoenix-server modules failed due to an error creating shaded jar. > Build results for reference: > [https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1080/2/artifact/yetus-general-check/output/patch-unit-root.txt] > [https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1080/3/artifact/yetus-general-check/output/patch-unit-root.txt] > https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1080/4/artifact/yetus-general-check/output/patch-unit-root.txt > > Error logs: > {code:java} > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade (default) on project > phoenix-server: Error creating shaded jar: > /home/jenkins/jenkins-agent/workspace/enix-PreCommit-GitHub-PR_PR-1080/yetus-general-check/src/phoenix-core/target/classes > (Is a directory) -> [Help 1] > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade (default-shaded) on > project phoenix-client: Error creating shaded jar: > /home/jenkins/jenkins-agent/workspace/enix-PreCommit-GitHub-PR_PR-1080/yetus-general-check/src/phoenix-core/target/classes > (Is a directory) -> [Help 1] > {code} > This issue seems related to MSHADE-295 , MSHADE-215. > As per these Jiras, shaded plugin might fail with multi phase command. We > should decouple mvn test from mvn install. Our Yetus run performs mvn verify > during precommit. -- This message was sent by Atlassian Jira (v8.20.1#820001)