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/01/10 09:45:00 UTC

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

Viraj Jasani created PHOENIX-6308:
-------------------------------------

             Summary: 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
             Fix For: 5.1.0, 4.16.1, 4.17.0


While testing various approaches 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]

 

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)