You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Viraj Jasani (Jira)" <ji...@apache.org> on 2021/05/21 16:26:00 UTC

[jira] [Updated] (PHOENIX-6308) Error creating shaded jar in precommit PR builds

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

Viraj Jasani updated PHOENIX-6308:
----------------------------------
    Fix Version/s:     (was: 4.16.1)
                   4.16.2

> 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.3.4#803005)