Skip to content

PHOENIX-6350: Fix build failure due to jakarta.xml.bind api - #1121

Closed
surnaik wants to merge 3 commits into
apache:masterfrom
surnaik:surnaik/phoenix/buildfix
Closed

PHOENIX-6350: Fix build failure due to jakarta.xml.bind api#1121
surnaik wants to merge 3 commits into
apache:masterfrom
surnaik:surnaik/phoenix/buildfix

Conversation

@surnaik

Copy link
Copy Markdown
Contributor

No description provided.

@stoty

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 30sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-1 ❌test4tests0m 0sThe patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ master Compile Tests _
+1 💚mvninstall16m 13smaster passed
+0hbaserecompile23m 3sHBase recompiled.
+1 💚compile0m 33smaster passed
+1 💚javadoc0m 22smaster passed
_ Patch Compile Tests _
+1 💚mvninstall8m 12sthe patch passed
+0hbaserecompile39m 16sHBase recompiled.
+1 💚compile0m 33sthe patch passed
+1 💚javac0m 33sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚xml0m 2sThe patch has no ill-formed XML file.
+1 💚javadoc0m 21sthe patch passed
_ Other Tests _
+1 💚unit9m 37sphoenix-pherf in the patch passed.
+1 💚asflicense0m 15sThe patch does not generate ASF License warnings.
51m 15s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1121/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1121
JIRA IssuePHOENIX-6350
Optional Testsdupname asflicense javac javadoc unit xml compile
unameLinux fad72e07433f 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revisionmaster / 22f7d41
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1121/1/testReport/
Max. process+thread count1638 (vs. ulimit of 30000)
modulesC: phoenix-pherf U: phoenix-pherf
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1121/1/console
versionsgit=2.7.4 maven=3.3.9
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Comment threadphoenix-pherf/pom.xml Outdated
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>2.3.2</version>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please define this dependency version on parent pom?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already depend on javax.xml.bind:bind-api.
We should probably replace that dependency, instead of adding a new one.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review guys. Sure, I'll update the PR.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replacing the dependeny doesn't actually work, unfortunately.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is dependency-plugin getting even more confused than usual by multiple sources of jaxb-api.
As pulling in the same set of classes from two packages just to appease dependecy plugin is not the way to go, we should just ignore this.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By ignore this, I mean tell dependeny-plugin to ignore these packages.

@stoty

stoty commented Feb 3, 2021

Copy link
Copy Markdown
Contributor

Alternative fix with dependency-plugin ignore setting at #1127

@surnaik

Copy link
Copy Markdown
ContributorAuthor

@stoty, I added the jakarta xml bind to ignore used undeclared dependency

@surnaik

Copy link
Copy Markdown
ContributorAuthor

Oh, didn't see your PR, should I close this?

@surnaik

Copy link
Copy Markdown
ContributorAuthor

Please close this if not required. Thank you!

@surnaik

Copy link
Copy Markdown
ContributorAuthor

Closing this, #1127 covers this. Thanks @virajjasani and @stoty

@surnaiksurnaik closed this Feb 3, 2021
@stoty

stoty commented Feb 3, 2021

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 31sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-1 ❌test4tests0m 0sThe patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ master Compile Tests _
+1 💚mvninstall15m 13smaster passed
+0hbaserecompile22m 0sHBase recompiled.
+1 💚compile0m 32smaster passed
+1 💚javadoc0m 21smaster passed
_ Patch Compile Tests _
+1 💚mvninstall8m 12sthe patch passed
+0hbaserecompile40m 5sHBase recompiled.
+1 💚compile0m 33sthe patch passed
+1 💚javac0m 33sthe patch passed
-1 ❌whitespace0m 0sThe patch 1 line(s) with tabs.
+1 💚xml0m 1sThe patch has no ill-formed XML file.
+1 💚javadoc0m 22sthe patch passed
_ Other Tests _
+1 💚unit9m 37sphoenix-pherf in the patch passed.
+1 💚asflicense0m 13sThe patch does not generate ASF License warnings.
52m 2s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1121/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1121
JIRA IssuePHOENIX-6350
Optional Testsdupname asflicense javac javadoc unit xml compile
unameLinux ff37fb3fd720 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revisionmaster / a26adea
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
whitespacehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1121/2/artifact/yetus-general-check/output/whitespace-tabs.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1121/2/testReport/
Max. process+thread count1800 (vs. ulimit of 30000)
modulesC: phoenix-pherf U: phoenix-pherf
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1121/2/console
versionsgit=2.7.4 maven=3.3.9
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@surnaik@stoty@virajjasani