[jira] [Commented] (YARN-11877) Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
[
https://issues.apache.org/jira/browse/YARN-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18063475#comment-18063475
]
ASF GitHub Bot commented on YARN-11877:
---
abstractdog commented on PR #8018:
URL: https://github.com/apache/hadoop/pull/8018#issuecomment-4010350279
> @abstractdog Thanks for the suggestions! I’ve added you as a co-author,
and thanks to @ayushtkn for reviewing the code. I’m going to merge this PR
first; if anything comes up later, we can open a new PR to continue improving
it.
thanks a lot @slfan1989 for taking care of this!
> Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
> --
>
> Key: YARN-11877
> URL: https://issues.apache.org/jira/browse/YARN-11877
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: timelineservice
>Affects Versions: 3.5.0
>Reporter: Shilun Fan
>Assignee: Shilun Fan
>Priority: Major
> Labels: pull-request-available
> Fix For: 3.5.0
>
>
> After upgrading to {*}Jersey 2.46{*}, retrieving *Timeline entities* via the
> {{/ws/v1/timeline/}} endpoint triggers the following exception:
> {code:java}
> java.lang.RuntimeException: TimelineEntity and TimelineEntities has
> IllegalAnnotation{code}
> The root cause is a JAXB binding compatibility issue related to interface
> types defined in TimelineEntity, which leads to illegal annotation errors
> during serialization or deserialization.
> For more background information, please refer to the mailing list discussion:
> https://lists.apache.org/thread/y70j1wqj00rhon4hxjkws6k55514sbfo
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
[jira] [Commented] (YARN-11877) Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
[
https://issues.apache.org/jira/browse/YARN-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18063376#comment-18063376
]
ASF GitHub Bot commented on YARN-11877:
---
slfan1989 commented on PR #8018:
URL: https://github.com/apache/hadoop/pull/8018#issuecomment-4008921175
@abstractdog Thanks for the suggestions! I’ve added you as a co-author, and
thanks to @ayushtkn for reviewing the code. I’m going to merge this PR first;
if anything comes up later, we can open a new PR to continue improving it.
> Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
> --
>
> Key: YARN-11877
> URL: https://issues.apache.org/jira/browse/YARN-11877
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: timelineservice
>Affects Versions: 3.5.0
>Reporter: Shilun Fan
>Assignee: Shilun Fan
>Priority: Major
> Labels: pull-request-available
>
> After upgrading to {*}Jersey 2.46{*}, retrieving *Timeline entities* via the
> {{/ws/v1/timeline/}} endpoint triggers the following exception:
> {code:java}
> java.lang.RuntimeException: TimelineEntity and TimelineEntities has
> IllegalAnnotation{code}
> The root cause is a JAXB binding compatibility issue related to interface
> types defined in TimelineEntity, which leads to illegal annotation errors
> during serialization or deserialization.
> For more background information, please refer to the mailing list discussion:
> https://lists.apache.org/thread/y70j1wqj00rhon4hxjkws6k55514sbfo
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
[jira] [Commented] (YARN-11877) Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
[
https://issues.apache.org/jira/browse/YARN-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18063375#comment-18063375
]
ASF GitHub Bot commented on YARN-11877:
---
slfan1989 merged PR #8018:
URL: https://github.com/apache/hadoop/pull/8018
> Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
> --
>
> Key: YARN-11877
> URL: https://issues.apache.org/jira/browse/YARN-11877
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: timelineservice
>Affects Versions: 3.5.0
>Reporter: Shilun Fan
>Assignee: Shilun Fan
>Priority: Major
> Labels: pull-request-available
>
> After upgrading to {*}Jersey 2.46{*}, retrieving *Timeline entities* via the
> {{/ws/v1/timeline/}} endpoint triggers the following exception:
> {code:java}
> java.lang.RuntimeException: TimelineEntity and TimelineEntities has
> IllegalAnnotation{code}
> The root cause is a JAXB binding compatibility issue related to interface
> types defined in TimelineEntity, which leads to illegal annotation errors
> during serialization or deserialization.
> For more background information, please refer to the mailing list discussion:
> https://lists.apache.org/thread/y70j1wqj00rhon4hxjkws6k55514sbfo
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
[jira] [Commented] (YARN-11877) Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
[
https://issues.apache.org/jira/browse/YARN-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18063110#comment-18063110
]
ASF GitHub Bot commented on YARN-11877:
---
slfan1989 commented on PR #8018:
URL: https://github.com/apache/hadoop/pull/8018#issuecomment-4002415310
@abstractdog Could you please take another look at this PR? Thank you so
much!
> Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
> --
>
> Key: YARN-11877
> URL: https://issues.apache.org/jira/browse/YARN-11877
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: timelineservice
>Affects Versions: 3.5.0
>Reporter: Shilun Fan
>Assignee: Shilun Fan
>Priority: Major
> Labels: pull-request-available
>
> After upgrading to {*}Jersey 2.46{*}, retrieving *Timeline entities* via the
> {{/ws/v1/timeline/}} endpoint triggers the following exception:
> {code:java}
> java.lang.RuntimeException: TimelineEntity and TimelineEntities has
> IllegalAnnotation{code}
> The root cause is a JAXB binding compatibility issue related to interface
> types defined in TimelineEntity, which leads to illegal annotation errors
> during serialization or deserialization.
> For more background information, please refer to the mailing list discussion:
> https://lists.apache.org/thread/y70j1wqj00rhon4hxjkws6k55514sbfo
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
[jira] [Commented] (YARN-11877) Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
[
https://issues.apache.org/jira/browse/YARN-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18062772#comment-18062772
]
ASF GitHub Bot commented on YARN-11877:
---
hadoop-yetus commented on PR #8018:
URL: https://github.com/apache/hadoop/pull/8018#issuecomment-3998778675
:confetti_ball: **+1 overall**
| Vote | Subsystem | Runtime | Logfile | Comment |
|::|--:|:|::|:---:|
| +0 :ok: | reexec | 0m 23s | | Docker mode activated. |
_ Prechecks _ |
| +1 :green_heart: | dupname | 0m 0s | | No case conflicting files
found. |
| +0 :ok: | codespell | 0m 1s | | codespell was not available. |
| +0 :ok: | detsecrets | 0m 1s | | detect-secrets was not available.
|
| +1 :green_heart: | @author | 0m 0s | | The patch does not contain
any @author tags. |
| +1 :green_heart: | test4tests | 0m 0s | | The patch appears to
include 1 new or modified test files. |
_ trunk Compile Tests _ |
| +0 :ok: | mvndep | 1m 57s | | Maven dependency ordering for branch |
| +1 :green_heart: | mvninstall | 26m 12s | | trunk passed |
| +1 :green_heart: | compile | 3m 16s | | trunk passed with JDK
Ubuntu-21.0.10+7-Ubuntu-124.04 |
| +1 :green_heart: | compile | 3m 25s | | trunk passed with JDK
Ubuntu-17.0.18+8-Ubuntu-124.04.1 |
| +1 :green_heart: | checkstyle | 1m 16s | | trunk passed |
| +1 :green_heart: | mvnsite | 1m 14s | | trunk passed |
| +1 :green_heart: | javadoc | 1m 8s | | trunk passed with JDK
Ubuntu-21.0.10+7-Ubuntu-124.04 |
| +1 :green_heart: | javadoc | 1m 8s | | trunk passed with JDK
Ubuntu-17.0.18+8-Ubuntu-124.04.1 |
| +1 :green_heart: | spotbugs | 2m 14s | | trunk passed |
| +1 :green_heart: | shadedclient | 15m 29s | | branch has no errors
when building and testing our client artifacts. |
_ Patch Compile Tests _ |
| +0 :ok: | mvndep | 0m 17s | | Maven dependency ordering for patch |
| +1 :green_heart: | mvninstall | 0m 44s | | the patch passed |
| +1 :green_heart: | compile | 3m 4s | | the patch passed with JDK
Ubuntu-21.0.10+7-Ubuntu-124.04 |
| +1 :green_heart: | javac | 3m 4s | | the patch passed |
| +1 :green_heart: | compile | 3m 21s | | the patch passed with JDK
Ubuntu-17.0.18+8-Ubuntu-124.04.1 |
| +1 :green_heart: | javac | 3m 21s | | the patch passed |
| +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks
issues. |
| +1 :green_heart: | checkstyle | 1m 13s | | the patch passed |
| +1 :green_heart: | mvnsite | 1m 6s | | the patch passed |
| +1 :green_heart: | javadoc | 0m 59s | | the patch passed with JDK
Ubuntu-21.0.10+7-Ubuntu-124.04 |
| +1 :green_heart: | javadoc | 1m 0s | | the patch passed with JDK
Ubuntu-17.0.18+8-Ubuntu-124.04.1 |
| +1 :green_heart: | spotbugs | 2m 23s | | the patch passed |
| +1 :green_heart: | shadedclient | 15m 26s | | patch has no errors
when building and testing our client artifacts. |
_ Other Tests _ |
| +1 :green_heart: | unit | 0m 48s | | hadoop-yarn-api in the patch
passed. |
| +1 :green_heart: | unit | 3m 5s | |
hadoop-yarn-server-applicationhistoryservice in the patch passed. |
| +1 :green_heart: | asflicense | 0m 42s | | The patch does not
generate ASF License warnings. |
| | | 95m 38s | | |
| Subsystem | Report/Notes |
|--:|:-|
| Docker | ClientAPI=1.53 ServerAPI=1.53 base:
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/8/artifact/out/Dockerfile
|
| GITHUB PR | https://github.com/apache/hadoop/pull/8018 |
| Optional Tests | dupname asflicense compile javac javadoc mvninstall
mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets |
| uname | Linux f1c7922f1fd4 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14
20:25:16 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | dev-support/bin/hadoop.sh |
| git revision | trunk / d944e71db9380fbed4664f3fdc4881a6de3cf700 |
| Default Java | Ubuntu-17.0.18+8-Ubuntu-124.04.1 |
| Multi-JDK versions |
/usr/lib/jvm/java-21-openjdk-amd64:Ubuntu-21.0.10+7-Ubuntu-124.04
/usr/lib/jvm/java-17-openjdk-amd64:Ubuntu-17.0.18+8-Ubuntu-124.04.1 |
| Test Results |
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/8/testReport/ |
| Max. process+thread count | 615 (vs. ulimit of 5500) |
| modules | C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice
U: hadoop-yarn-project/hadoop-yarn |
| Console output |
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/8/console |
[jira] [Commented] (YARN-11877) Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
[
https://issues.apache.org/jira/browse/YARN-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18062739#comment-18062739
]
ASF GitHub Bot commented on YARN-11877:
---
slfan1989 commented on code in PR #8018:
URL: https://github.com/apache/hadoop/pull/8018#discussion_r2884351433
##
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/test/java/org/apache/hadoop/yarn/server/applicationhistoryservice/TestTimelineServerRequests.java:
##
@@ -0,0 +1,157 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hadoop.yarn.server.applicationhistoryservice;
+
+import java.io.IOException;
+
+import javax.ws.rs.client.Client;
+import javax.ws.rs.client.ClientBuilder;
+import javax.ws.rs.client.WebTarget;
+import javax.ws.rs.core.MediaType;
+import javax.ws.rs.core.Response;
+
+import org.junit.jupiter.api.AfterAll;
+import org.junit.jupiter.api.BeforeAll;
+import org.junit.jupiter.api.Test;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import org.apache.hadoop.conf.Configuration;
+import org.apache.hadoop.yarn.api.records.timeline.TimelineEntity;
+import org.apache.hadoop.yarn.api.records.timeline.TimelinePutResponse;
+import org.apache.hadoop.yarn.api.records.timeline.reader.TimelineEntityReader;
+import org.apache.hadoop.yarn.client.api.TimelineClient;
+import org.apache.hadoop.yarn.conf.YarnConfiguration;
+import org.apache.hadoop.yarn.exceptions.YarnException;
+import org.apache.hadoop.yarn.server.timeline.MemoryTimelineStore;
+import org.apache.hadoop.yarn.server.timeline.TimelineStore;
+
+import static
org.apache.hadoop.yarn.conf.YarnConfiguration.TIMELINE_HTTP_AUTH_PREFIX;
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertNotNull;
+import static org.junit.jupiter.api.Assertions.assertTrue;
+import static org.junit.jupiter.api.Assertions.fail;
+
+public class TestTimelineServerRequests {
+ private static final Logger LOG =
+ LoggerFactory.getLogger(TestTimelineServerRequests.class);
+
+ private static final String HOST = "localhost";
+ private static final String TIMELINE_SERVICE_WEBAPP_ADDRESS = HOST + ":0";
+ private static final String ENTITY_TYPE = "TEST_ENTITY_TYPE";
+ private static final String ENTITY_ID = "test_entity_1";
+ private static ApplicationHistoryServer testTimelineServer;
+ private static Configuration conf;
+
+ @BeforeAll
+ public static void setup() {
+try {
+ testTimelineServer = new ApplicationHistoryServer();
+ conf = new Configuration(false);
+ conf.setStrings(TIMELINE_HTTP_AUTH_PREFIX + "type", "simple");
+
+ conf.setBoolean(YarnConfiguration.TIMELINE_SERVICE_ENABLED, true);
+ conf.setClass(YarnConfiguration.TIMELINE_SERVICE_STORE,
+ MemoryTimelineStore.class, TimelineStore.class);
+ conf.set(YarnConfiguration.TIMELINE_SERVICE_WEBAPP_ADDRESS,
+ TIMELINE_SERVICE_WEBAPP_ADDRESS);
+ conf.setInt(YarnConfiguration.TIMELINE_SERVICE_CLIENT_MAX_RETRIES, 1);
+
+ testTimelineServer.init(conf);
+ testTimelineServer.start();
+} catch (Exception e) {
+ LOG.error("Failed to setup TimelineServer", e);
+ fail("Couldn't setup TimelineServer");
+}
+ }
+
+ @AfterAll
+ public static void tearDown() throws Exception {
+if (testTimelineServer != null) {
+ testTimelineServer.stop();
+}
+ }
+
+ @Test
+ void testPutAndGetTimelineEntity() throws Exception {
+putEntity();
+getEntity();
+ }
+
+ private void putEntity() throws IOException, YarnException {
+TimelineClient client = createTimelineClient();
+try {
+ TimelineEntity entityToStore = new TimelineEntity();
+ entityToStore.setEntityType(ENTITY_TYPE);
+ entityToStore.setEntityId(ENTITY_ID);
+ entityToStore.setStartTime(System.currentTimeMillis());
+ TimelinePutResponse putResponse = client.putEntities(entityToStore);
+ if (!putResponse.getErrors().isEmpty()) {
+LOG.error("putResponse errors: {}", putResponse.getErrors());
+ }
+ assertTrue(putResponse.getErrors().isEmp
[jira] [Commented] (YARN-11877) Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
[
https://issues.apache.org/jira/browse/YARN-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18062737#comment-18062737
]
ASF GitHub Bot commented on YARN-11877:
---
slfan1989 commented on PR #8018:
URL: https://github.com/apache/hadoop/pull/8018#issuecomment-3998136514
@abstractdog @ayushtkn Could you please review this PR again? Thank you very
much!
> Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
> --
>
> Key: YARN-11877
> URL: https://issues.apache.org/jira/browse/YARN-11877
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: timelineservice
>Affects Versions: 3.5.0
>Reporter: Shilun Fan
>Assignee: Shilun Fan
>Priority: Major
> Labels: pull-request-available
>
> After upgrading to {*}Jersey 2.46{*}, retrieving *Timeline entities* via the
> {{/ws/v1/timeline/}} endpoint triggers the following exception:
> {code:java}
> java.lang.RuntimeException: TimelineEntity and TimelineEntities has
> IllegalAnnotation{code}
> The root cause is a JAXB binding compatibility issue related to interface
> types defined in TimelineEntity, which leads to illegal annotation errors
> during serialization or deserialization.
> For more background information, please refer to the mailing list discussion:
> https://lists.apache.org/thread/y70j1wqj00rhon4hxjkws6k55514sbfo
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
[jira] [Commented] (YARN-11877) Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
[
https://issues.apache.org/jira/browse/YARN-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18062735#comment-18062735
]
ASF GitHub Bot commented on YARN-11877:
---
hadoop-yetus commented on PR #8018:
URL: https://github.com/apache/hadoop/pull/8018#issuecomment-3998098996
:confetti_ball: **+1 overall**
| Vote | Subsystem | Runtime | Logfile | Comment |
|::|--:|:|::|:---:|
| +0 :ok: | reexec | 0m 23s | | Docker mode activated. |
_ Prechecks _ |
| +1 :green_heart: | dupname | 0m 0s | | No case conflicting files
found. |
| +0 :ok: | codespell | 0m 0s | | codespell was not available. |
| +0 :ok: | detsecrets | 0m 0s | | detect-secrets was not available.
|
| +1 :green_heart: | @author | 0m 0s | | The patch does not contain
any @author tags. |
| +1 :green_heart: | test4tests | 0m 0s | | The patch appears to
include 1 new or modified test files. |
_ trunk Compile Tests _ |
| +0 :ok: | mvndep | 1m 39s | | Maven dependency ordering for branch |
| +1 :green_heart: | mvninstall | 27m 10s | | trunk passed |
| +1 :green_heart: | compile | 3m 29s | | trunk passed with JDK
Ubuntu-21.0.10+7-Ubuntu-124.04 |
| +1 :green_heart: | compile | 3m 25s | | trunk passed with JDK
Ubuntu-17.0.18+8-Ubuntu-124.04.1 |
| +1 :green_heart: | checkstyle | 1m 16s | | trunk passed |
| +1 :green_heart: | mvnsite | 1m 4s | | trunk passed |
| +1 :green_heart: | javadoc | 0m 55s | | trunk passed with JDK
Ubuntu-21.0.10+7-Ubuntu-124.04 |
| +1 :green_heart: | javadoc | 0m 54s | | trunk passed with JDK
Ubuntu-17.0.18+8-Ubuntu-124.04.1 |
| +1 :green_heart: | spotbugs | 2m 15s | | trunk passed |
| +1 :green_heart: | shadedclient | 17m 16s | | branch has no errors
when building and testing our client artifacts. |
_ Patch Compile Tests _ |
| +0 :ok: | mvndep | 0m 18s | | Maven dependency ordering for patch |
| +1 :green_heart: | mvninstall | 0m 41s | | the patch passed |
| +1 :green_heart: | compile | 3m 11s | | the patch passed with JDK
Ubuntu-21.0.10+7-Ubuntu-124.04 |
| +1 :green_heart: | javac | 3m 11s | | the patch passed |
| +1 :green_heart: | compile | 3m 12s | | the patch passed with JDK
Ubuntu-17.0.18+8-Ubuntu-124.04.1 |
| +1 :green_heart: | javac | 3m 12s | | the patch passed |
| +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks
issues. |
| +1 :green_heart: | checkstyle | 1m 12s | | the patch passed |
| +1 :green_heart: | mvnsite | 1m 0s | | the patch passed |
| +1 :green_heart: | javadoc | 0m 53s | | the patch passed with JDK
Ubuntu-21.0.10+7-Ubuntu-124.04 |
| +1 :green_heart: | javadoc | 0m 49s | | the patch passed with JDK
Ubuntu-17.0.18+8-Ubuntu-124.04.1 |
| +1 :green_heart: | spotbugs | 2m 21s | | the patch passed |
| +1 :green_heart: | shadedclient | 16m 2s | | patch has no errors
when building and testing our client artifacts. |
_ Other Tests _ |
| +1 :green_heart: | unit | 0m 47s | | hadoop-yarn-api in the patch
passed. |
| +1 :green_heart: | unit | 3m 7s | |
hadoop-yarn-server-applicationhistoryservice in the patch passed. |
| +1 :green_heart: | asflicense | 0m 38s | | The patch does not
generate ASF License warnings. |
| | | 97m 39s | | |
| Subsystem | Report/Notes |
|--:|:-|
| Docker | ClientAPI=1.53 ServerAPI=1.53 base:
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/7/artifact/out/Dockerfile
|
| GITHUB PR | https://github.com/apache/hadoop/pull/8018 |
| Optional Tests | dupname asflicense compile javac javadoc mvninstall
mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets |
| uname | Linux efad7bb86e84 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14
20:25:16 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | dev-support/bin/hadoop.sh |
| git revision | trunk / a8748bf299f11af6abcbba8d40e06c54f17684be |
| Default Java | Ubuntu-17.0.18+8-Ubuntu-124.04.1 |
| Multi-JDK versions |
/usr/lib/jvm/java-21-openjdk-amd64:Ubuntu-21.0.10+7-Ubuntu-124.04
/usr/lib/jvm/java-17-openjdk-amd64:Ubuntu-17.0.18+8-Ubuntu-124.04.1 |
| Test Results |
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/7/testReport/ |
| Max. process+thread count | 617 (vs. ulimit of 5500) |
| modules | C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice
U: hadoop-yarn-project/hadoop-yarn |
| Console output |
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/7/console |
[jira] [Commented] (YARN-11877) Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
[
https://issues.apache.org/jira/browse/YARN-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18062733#comment-18062733
]
ASF GitHub Bot commented on YARN-11877:
---
hadoop-yetus commented on PR #8018:
URL: https://github.com/apache/hadoop/pull/8018#issuecomment-3997999275
:confetti_ball: **+1 overall**
| Vote | Subsystem | Runtime | Logfile | Comment |
|::|--:|:|::|:---:|
| +0 :ok: | reexec | 6m 32s | | Docker mode activated. |
_ Prechecks _ |
| +1 :green_heart: | dupname | 0m 0s | | No case conflicting files
found. |
| +0 :ok: | codespell | 0m 0s | | codespell was not available. |
| +0 :ok: | detsecrets | 0m 0s | | detect-secrets was not available.
|
| +1 :green_heart: | @author | 0m 0s | | The patch does not contain
any @author tags. |
| +1 :green_heart: | test4tests | 0m 0s | | The patch appears to
include 1 new or modified test files. |
_ trunk Compile Tests _ |
| +0 :ok: | mvndep | 1m 51s | | Maven dependency ordering for branch |
| +1 :green_heart: | mvninstall | 26m 37s | | trunk passed |
| +1 :green_heart: | compile | 3m 17s | | trunk passed with JDK
Ubuntu-21.0.10+7-Ubuntu-124.04 |
| +1 :green_heart: | compile | 3m 20s | | trunk passed with JDK
Ubuntu-17.0.18+8-Ubuntu-124.04.1 |
| +1 :green_heart: | checkstyle | 1m 17s | | trunk passed |
| +1 :green_heart: | mvnsite | 1m 4s | | trunk passed |
| +1 :green_heart: | javadoc | 1m 1s | | trunk passed with JDK
Ubuntu-21.0.10+7-Ubuntu-124.04 |
| +1 :green_heart: | javadoc | 1m 2s | | trunk passed with JDK
Ubuntu-17.0.18+8-Ubuntu-124.04.1 |
| +1 :green_heart: | spotbugs | 2m 16s | | trunk passed |
| +1 :green_heart: | shadedclient | 16m 52s | | branch has no errors
when building and testing our client artifacts. |
| -0 :warning: | patch | 17m 9s | | Used diff version of patch file.
Binary files and potentially other changes not applied. Please rebase and
squash commits if necessary. |
_ Patch Compile Tests _ |
| +0 :ok: | mvndep | 0m 20s | | Maven dependency ordering for patch |
| +1 :green_heart: | mvninstall | 0m 41s | | the patch passed |
| +1 :green_heart: | compile | 3m 7s | | the patch passed with JDK
Ubuntu-21.0.10+7-Ubuntu-124.04 |
| +1 :green_heart: | javac | 3m 7s | | the patch passed |
| +1 :green_heart: | compile | 3m 18s | | the patch passed with JDK
Ubuntu-17.0.18+8-Ubuntu-124.04.1 |
| +1 :green_heart: | javac | 3m 18s | | the patch passed |
| +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks
issues. |
| -0 :warning: | checkstyle | 1m 12s |
[/results-checkstyle-hadoop-yarn-project_hadoop-yarn.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/6/artifact/out/results-checkstyle-hadoop-yarn-project_hadoop-yarn.txt)
| hadoop-yarn-project/hadoop-yarn: The patch generated 72 new + 14 unchanged
- 0 fixed = 86 total (was 14) |
| +1 :green_heart: | mvnsite | 0m 59s | | the patch passed |
| +1 :green_heart: | javadoc | 0m 51s | | the patch passed with JDK
Ubuntu-21.0.10+7-Ubuntu-124.04 |
| +1 :green_heart: | javadoc | 0m 49s | | the patch passed with JDK
Ubuntu-17.0.18+8-Ubuntu-124.04.1 |
| +1 :green_heart: | spotbugs | 2m 20s | | the patch passed |
| +1 :green_heart: | shadedclient | 17m 42s | | patch has no errors
when building and testing our client artifacts. |
_ Other Tests _ |
| +1 :green_heart: | unit | 0m 40s | | hadoop-yarn-api in the patch
passed. |
| +1 :green_heart: | unit | 2m 53s | |
hadoop-yarn-server-applicationhistoryservice in the patch passed. |
| +1 :green_heart: | asflicense | 0m 34s | | The patch does not
generate ASF License warnings. |
| | | 104m 18s | | |
| Subsystem | Report/Notes |
|--:|:-|
| Docker | ClientAPI=1.53 ServerAPI=1.53 base:
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/6/artifact/out/Dockerfile
|
| GITHUB PR | https://github.com/apache/hadoop/pull/8018 |
| Optional Tests | dupname asflicense compile javac javadoc mvninstall
mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets |
| uname | Linux 91d511aa235e 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14
20:25:16 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | dev-support/bin/hadoop.sh |
| git revision | trunk / 3cbd1117a07759104181be57cd5f656a68b84e6d |
| Default Java | Ubuntu-17.0.18+8-Ubuntu-124.04.1 |
| Multi-JDK versions |
/usr/lib/jvm/java-21-openjdk-amd64:Ubuntu-21.0.10+7-Ubuntu-124.04
/usr/lib/jvm/java-17-openjdk-amd64:Ubuntu-17.0.18+8-Ubuntu-124.04.
[jira] [Commented] (YARN-11877) Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
[
https://issues.apache.org/jira/browse/YARN-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18062732#comment-18062732
]
ASF GitHub Bot commented on YARN-11877:
---
abstractdog commented on PR #8018:
URL: https://github.com/apache/hadoop/pull/8018#issuecomment-3997949846
> > @ayushtkn @abstractdog Thank you for your comments. I will follow up on
this PR.
> > cc: @cnauroth
>
> thanks @slfan1989 ! I just left two more minor comments, also, it's just a
matter of taste, but I feel that the line break strategy is a bit too
conservative, leading to much more lines than I feel needed: I usually stick to
120 characters, so unless there is a specific rule for hadoop, many lines can
be merged, e.g. these below:
>
> ```
> conf.setClass(YarnConfiguration.TIMELINE_SERVICE_STORE,
> MemoryTimelineStore.class, TimelineStore.class);
> conf.set(YarnConfiguration.TIMELINE_SERVICE_WEBAPP_ADDRESS,
> TIMELINE_SERVICE_WEBAPP_ADDRESS);
> ```
> Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
> --
>
> Key: YARN-11877
> URL: https://issues.apache.org/jira/browse/YARN-11877
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: timelineservice
>Affects Versions: 3.5.0
>Reporter: Shilun Fan
>Assignee: Shilun Fan
>Priority: Major
> Labels: pull-request-available
>
> After upgrading to {*}Jersey 2.46{*}, retrieving *Timeline entities* via the
> {{/ws/v1/timeline/}} endpoint triggers the following exception:
> {code:java}
> java.lang.RuntimeException: TimelineEntity and TimelineEntities has
> IllegalAnnotation{code}
> The root cause is a JAXB binding compatibility issue related to interface
> types defined in TimelineEntity, which leads to illegal annotation errors
> during serialization or deserialization.
> For more background information, please refer to the mailing list discussion:
> https://lists.apache.org/thread/y70j1wqj00rhon4hxjkws6k55514sbfo
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
[jira] [Commented] (YARN-11877) Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
[
https://issues.apache.org/jira/browse/YARN-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18062731#comment-18062731
]
ASF GitHub Bot commented on YARN-11877:
---
abstractdog commented on code in PR #8018:
URL: https://github.com/apache/hadoop/pull/8018#discussion_r2884150342
##
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/test/java/org/apache/hadoop/yarn/server/applicationhistoryservice/TestTimelineServerRequests.java:
##
@@ -0,0 +1,157 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hadoop.yarn.server.applicationhistoryservice;
+
+import java.io.IOException;
+
+import javax.ws.rs.client.Client;
+import javax.ws.rs.client.ClientBuilder;
+import javax.ws.rs.client.WebTarget;
+import javax.ws.rs.core.MediaType;
+import javax.ws.rs.core.Response;
+
+import org.junit.jupiter.api.AfterAll;
+import org.junit.jupiter.api.BeforeAll;
+import org.junit.jupiter.api.Test;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import org.apache.hadoop.conf.Configuration;
+import org.apache.hadoop.yarn.api.records.timeline.TimelineEntity;
+import org.apache.hadoop.yarn.api.records.timeline.TimelinePutResponse;
+import org.apache.hadoop.yarn.api.records.timeline.reader.TimelineEntityReader;
+import org.apache.hadoop.yarn.client.api.TimelineClient;
+import org.apache.hadoop.yarn.conf.YarnConfiguration;
+import org.apache.hadoop.yarn.exceptions.YarnException;
+import org.apache.hadoop.yarn.server.timeline.MemoryTimelineStore;
+import org.apache.hadoop.yarn.server.timeline.TimelineStore;
+
+import static
org.apache.hadoop.yarn.conf.YarnConfiguration.TIMELINE_HTTP_AUTH_PREFIX;
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertNotNull;
+import static org.junit.jupiter.api.Assertions.assertTrue;
+import static org.junit.jupiter.api.Assertions.fail;
+
+public class TestTimelineServerRequests {
+ private static final Logger LOG =
+ LoggerFactory.getLogger(TestTimelineServerRequests.class);
+
+ private static final String HOST = "localhost";
+ private static final String TIMELINE_SERVICE_WEBAPP_ADDRESS = HOST + ":0";
+ private static final String ENTITY_TYPE = "TEST_ENTITY_TYPE";
+ private static final String ENTITY_ID = "test_entity_1";
+ private static ApplicationHistoryServer testTimelineServer;
+ private static Configuration conf;
+
+ @BeforeAll
+ public static void setup() {
+try {
+ testTimelineServer = new ApplicationHistoryServer();
+ conf = new Configuration(false);
+ conf.setStrings(TIMELINE_HTTP_AUTH_PREFIX + "type", "simple");
+
+ conf.setBoolean(YarnConfiguration.TIMELINE_SERVICE_ENABLED, true);
+ conf.setClass(YarnConfiguration.TIMELINE_SERVICE_STORE,
+ MemoryTimelineStore.class, TimelineStore.class);
+ conf.set(YarnConfiguration.TIMELINE_SERVICE_WEBAPP_ADDRESS,
+ TIMELINE_SERVICE_WEBAPP_ADDRESS);
+ conf.setInt(YarnConfiguration.TIMELINE_SERVICE_CLIENT_MAX_RETRIES, 1);
+
+ testTimelineServer.init(conf);
+ testTimelineServer.start();
+} catch (Exception e) {
+ LOG.error("Failed to setup TimelineServer", e);
+ fail("Couldn't setup TimelineServer");
+}
+ }
+
+ @AfterAll
+ public static void tearDown() throws Exception {
+if (testTimelineServer != null) {
+ testTimelineServer.stop();
+}
+ }
+
+ @Test
+ void testPutAndGetTimelineEntity() throws Exception {
+putEntity();
+getEntity();
+ }
+
+ private void putEntity() throws IOException, YarnException {
+TimelineClient client = createTimelineClient();
+try {
+ TimelineEntity entityToStore = new TimelineEntity();
+ entityToStore.setEntityType(ENTITY_TYPE);
+ entityToStore.setEntityId(ENTITY_ID);
+ entityToStore.setStartTime(System.currentTimeMillis());
+ TimelinePutResponse putResponse = client.putEntities(entityToStore);
+ if (!putResponse.getErrors().isEmpty()) {
+LOG.error("putResponse errors: {}", putResponse.getErrors());
+ }
+ assertTrue(putResponse.getErrors().isE
[jira] [Commented] (YARN-11877) Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
[
https://issues.apache.org/jira/browse/YARN-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18062730#comment-18062730
]
ASF GitHub Bot commented on YARN-11877:
---
abstractdog commented on PR #8018:
URL: https://github.com/apache/hadoop/pull/8018#issuecomment-3997932494
> @ayushtkn @abstractdog Thank you for your comments. I will follow up on
this PR.
>
> cc: @cnauroth
thanks @slfan1989 ! I just left one more minor comment, also, it's just a
matter of taste, but I feel that the line break is too conservative, leading to
much more line than needed: I usually stick to 120 characters, so unless there
is a specific rule for hadoop, many lines can be merged, e.g.:
```
conf.setClass(YarnConfiguration.TIMELINE_SERVICE_STORE,
MemoryTimelineStore.class, TimelineStore.class);
conf.set(YarnConfiguration.TIMELINE_SERVICE_WEBAPP_ADDRESS,
TIMELINE_SERVICE_WEBAPP_ADDRESS);
```
> Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
> --
>
> Key: YARN-11877
> URL: https://issues.apache.org/jira/browse/YARN-11877
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: timelineservice
>Affects Versions: 3.5.0
>Reporter: Shilun Fan
>Assignee: Shilun Fan
>Priority: Major
> Labels: pull-request-available
>
> After upgrading to {*}Jersey 2.46{*}, retrieving *Timeline entities* via the
> {{/ws/v1/timeline/}} endpoint triggers the following exception:
> {code:java}
> java.lang.RuntimeException: TimelineEntity and TimelineEntities has
> IllegalAnnotation{code}
> The root cause is a JAXB binding compatibility issue related to interface
> types defined in TimelineEntity, which leads to illegal annotation errors
> during serialization or deserialization.
> For more background information, please refer to the mailing list discussion:
> https://lists.apache.org/thread/y70j1wqj00rhon4hxjkws6k55514sbfo
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
[jira] [Commented] (YARN-11877) Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
[
https://issues.apache.org/jira/browse/YARN-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18062729#comment-18062729
]
ASF GitHub Bot commented on YARN-11877:
---
abstractdog commented on code in PR #8018:
URL: https://github.com/apache/hadoop/pull/8018#discussion_r2884125863
##
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/test/java/org/apache/hadoop/yarn/server/applicationhistoryservice/TestTimelineServerRequests.java:
##
@@ -0,0 +1,157 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hadoop.yarn.server.applicationhistoryservice;
+
+import java.io.IOException;
+
+import javax.ws.rs.client.Client;
+import javax.ws.rs.client.ClientBuilder;
+import javax.ws.rs.client.WebTarget;
+import javax.ws.rs.core.MediaType;
+import javax.ws.rs.core.Response;
+
+import org.junit.jupiter.api.AfterAll;
+import org.junit.jupiter.api.BeforeAll;
+import org.junit.jupiter.api.Test;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import org.apache.hadoop.conf.Configuration;
+import org.apache.hadoop.yarn.api.records.timeline.TimelineEntity;
+import org.apache.hadoop.yarn.api.records.timeline.TimelinePutResponse;
+import org.apache.hadoop.yarn.api.records.timeline.reader.TimelineEntityReader;
+import org.apache.hadoop.yarn.client.api.TimelineClient;
+import org.apache.hadoop.yarn.conf.YarnConfiguration;
+import org.apache.hadoop.yarn.exceptions.YarnException;
+import org.apache.hadoop.yarn.server.timeline.MemoryTimelineStore;
+import org.apache.hadoop.yarn.server.timeline.TimelineStore;
+
+import static
org.apache.hadoop.yarn.conf.YarnConfiguration.TIMELINE_HTTP_AUTH_PREFIX;
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertNotNull;
+import static org.junit.jupiter.api.Assertions.assertTrue;
+import static org.junit.jupiter.api.Assertions.fail;
+
+public class TestTimelineServerRequests {
+ private static final Logger LOG =
+ LoggerFactory.getLogger(TestTimelineServerRequests.class);
+
+ private static final String HOST = "localhost";
+ private static final String TIMELINE_SERVICE_WEBAPP_ADDRESS = HOST + ":0";
+ private static final String ENTITY_TYPE = "TEST_ENTITY_TYPE";
+ private static final String ENTITY_ID = "test_entity_1";
+ private static ApplicationHistoryServer testTimelineServer;
+ private static Configuration conf;
+
+ @BeforeAll
+ public static void setup() {
+try {
+ testTimelineServer = new ApplicationHistoryServer();
+ conf = new Configuration(false);
+ conf.setStrings(TIMELINE_HTTP_AUTH_PREFIX + "type", "simple");
+
+ conf.setBoolean(YarnConfiguration.TIMELINE_SERVICE_ENABLED, true);
+ conf.setClass(YarnConfiguration.TIMELINE_SERVICE_STORE,
+ MemoryTimelineStore.class, TimelineStore.class);
+ conf.set(YarnConfiguration.TIMELINE_SERVICE_WEBAPP_ADDRESS,
+ TIMELINE_SERVICE_WEBAPP_ADDRESS);
+ conf.setInt(YarnConfiguration.TIMELINE_SERVICE_CLIENT_MAX_RETRIES, 1);
+
+ testTimelineServer.init(conf);
+ testTimelineServer.start();
+} catch (Exception e) {
+ LOG.error("Failed to setup TimelineServer", e);
+ fail("Couldn't setup TimelineServer");
+}
+ }
+
+ @AfterAll
+ public static void tearDown() throws Exception {
+if (testTimelineServer != null) {
+ testTimelineServer.stop();
+}
+ }
+
+ @Test
+ void testPutAndGetTimelineEntity() throws Exception {
+putEntity();
+getEntity();
+ }
+
+ private void putEntity() throws IOException, YarnException {
+TimelineClient client = createTimelineClient();
+try {
+ TimelineEntity entityToStore = new TimelineEntity();
+ entityToStore.setEntityType(ENTITY_TYPE);
+ entityToStore.setEntityId(ENTITY_ID);
+ entityToStore.setStartTime(System.currentTimeMillis());
+ TimelinePutResponse putResponse = client.putEntities(entityToStore);
+ if (!putResponse.getErrors().isEmpty()) {
+LOG.error("putResponse errors: {}", putResponse.getErrors());
+ }
+ assertTrue(putResponse.getErrors().isE
[jira] [Commented] (YARN-11877) Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
[
https://issues.apache.org/jira/browse/YARN-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18062708#comment-18062708
]
ASF GitHub Bot commented on YARN-11877:
---
slfan1989 commented on PR #8018:
URL: https://github.com/apache/hadoop/pull/8018#issuecomment-3997533401
@abstractdog @ayushtkn I have updated the unit tests.
> Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
> --
>
> Key: YARN-11877
> URL: https://issues.apache.org/jira/browse/YARN-11877
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: timelineservice
>Affects Versions: 3.5.0
>Reporter: Shilun Fan
>Assignee: Shilun Fan
>Priority: Major
> Labels: pull-request-available
>
> After upgrading to {*}Jersey 2.46{*}, retrieving *Timeline entities* via the
> {{/ws/v1/timeline/}} endpoint triggers the following exception:
> {code:java}
> java.lang.RuntimeException: TimelineEntity and TimelineEntities has
> IllegalAnnotation{code}
> The root cause is a JAXB binding compatibility issue related to interface
> types defined in TimelineEntity, which leads to illegal annotation errors
> during serialization or deserialization.
> For more background information, please refer to the mailing list discussion:
> https://lists.apache.org/thread/y70j1wqj00rhon4hxjkws6k55514sbfo
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
[jira] [Commented] (YARN-11877) Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
[
https://issues.apache.org/jira/browse/YARN-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18062688#comment-18062688
]
ASF GitHub Bot commented on YARN-11877:
---
slfan1989 commented on PR #8018:
URL: https://github.com/apache/hadoop/pull/8018#issuecomment-3997213504
@ayushtkn @abstractdog Thank you for your comments. I will follow up on this
PR.
cc: @cnauroth
> Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
> --
>
> Key: YARN-11877
> URL: https://issues.apache.org/jira/browse/YARN-11877
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: timelineservice
>Affects Versions: 3.5.0
>Reporter: Shilun Fan
>Assignee: Shilun Fan
>Priority: Major
> Labels: pull-request-available
>
> After upgrading to {*}Jersey 2.46{*}, retrieving *Timeline entities* via the
> {{/ws/v1/timeline/}} endpoint triggers the following exception:
> {code:java}
> java.lang.RuntimeException: TimelineEntity and TimelineEntities has
> IllegalAnnotation{code}
> The root cause is a JAXB binding compatibility issue related to interface
> types defined in TimelineEntity, which leads to illegal annotation errors
> during serialization or deserialization.
> For more background information, please refer to the mailing list discussion:
> https://lists.apache.org/thread/y70j1wqj00rhon4hxjkws6k55514sbfo
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
[jira] [Commented] (YARN-11877) Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
[
https://issues.apache.org/jira/browse/YARN-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18062687#comment-18062687
]
ASF GitHub Bot commented on YARN-11877:
---
abstractdog commented on PR #8018:
URL: https://github.com/apache/hadoop/pull/8018#issuecomment-3997197206
> back then I tried this patch and solved my problems on Tez side, I wish
this could make it's way to 3.5.0 LGTM contentwise, but need a minor
re-indentation:
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/5/artifact/out/results-checkstyle-hadoop-yarn-project_hadoop-yarn.txt
@slfan1989 : is there a chance you can fix the style problem?
> Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
> --
>
> Key: YARN-11877
> URL: https://issues.apache.org/jira/browse/YARN-11877
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: timelineservice
>Affects Versions: 3.5.0
>Reporter: Shilun Fan
>Assignee: Shilun Fan
>Priority: Major
> Labels: pull-request-available
>
> After upgrading to {*}Jersey 2.46{*}, retrieving *Timeline entities* via the
> {{/ws/v1/timeline/}} endpoint triggers the following exception:
> {code:java}
> java.lang.RuntimeException: TimelineEntity and TimelineEntities has
> IllegalAnnotation{code}
> The root cause is a JAXB binding compatibility issue related to interface
> types defined in TimelineEntity, which leads to illegal annotation errors
> during serialization or deserialization.
> For more background information, please refer to the mailing list discussion:
> https://lists.apache.org/thread/y70j1wqj00rhon4hxjkws6k55514sbfo
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
[jira] [Commented] (YARN-11877) Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
[
https://issues.apache.org/jira/browse/YARN-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18062686#comment-18062686
]
ASF GitHub Bot commented on YARN-11877:
---
abstractdog commented on PR #8018:
URL: https://github.com/apache/hadoop/pull/8018#issuecomment-3997189606
LGTM
back then I tried this patch and solved my problems on Tez side, I wish this
could make it's way to 3.5.0
> Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
> --
>
> Key: YARN-11877
> URL: https://issues.apache.org/jira/browse/YARN-11877
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: timelineservice
>Affects Versions: 3.5.0
>Reporter: Shilun Fan
>Assignee: Shilun Fan
>Priority: Major
> Labels: pull-request-available
>
> After upgrading to {*}Jersey 2.46{*}, retrieving *Timeline entities* via the
> {{/ws/v1/timeline/}} endpoint triggers the following exception:
> {code:java}
> java.lang.RuntimeException: TimelineEntity and TimelineEntities has
> IllegalAnnotation{code}
> The root cause is a JAXB binding compatibility issue related to interface
> types defined in TimelineEntity, which leads to illegal annotation errors
> during serialization or deserialization.
> For more background information, please refer to the mailing list discussion:
> https://lists.apache.org/thread/y70j1wqj00rhon4hxjkws6k55514sbfo
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
[jira] [Commented] (YARN-11877) Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
[
https://issues.apache.org/jira/browse/YARN-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18044055#comment-18044055
]
ASF GitHub Bot commented on YARN-11877:
---
hadoop-yetus commented on PR #8018:
URL: https://github.com/apache/hadoop/pull/8018#issuecomment-3635699632
:broken_heart: **-1 overall**
| Vote | Subsystem | Runtime | Logfile | Comment |
|::|--:|:|::|:---:|
| +0 :ok: | reexec | 8m 55s | | Docker mode activated. |
_ Prechecks _ |
| +1 :green_heart: | dupname | 0m 0s | | No case conflicting files
found. |
| +0 :ok: | codespell | 0m 0s | | codespell was not available. |
| +0 :ok: | detsecrets | 0m 0s | | detect-secrets was not available.
|
| +1 :green_heart: | @author | 0m 0s | | The patch does not contain
any @author tags. |
| +1 :green_heart: | test4tests | 0m 0s | | The patch appears to
include 1 new or modified test files. |
_ trunk Compile Tests _ |
| +0 :ok: | mvndep | 9m 40s | | Maven dependency ordering for branch |
| +1 :green_heart: | mvninstall | 16m 14s | | trunk passed |
| +1 :green_heart: | compile | 3m 43s | | trunk passed with JDK
Ubuntu-21.0.7+6-Ubuntu-0ubuntu120.04 |
| +1 :green_heart: | compile | 3m 35s | | trunk passed with JDK
Ubuntu-17.0.15+6-Ubuntu-0ubuntu120.04 |
| +1 :green_heart: | checkstyle | 0m 48s | | trunk passed |
| +1 :green_heart: | mvnsite | 1m 6s | | trunk passed |
| +1 :green_heart: | javadoc | 1m 8s | | trunk passed with JDK
Ubuntu-21.0.7+6-Ubuntu-0ubuntu120.04 |
| +1 :green_heart: | javadoc | 0m 59s | | trunk passed with JDK
Ubuntu-17.0.15+6-Ubuntu-0ubuntu120.04 |
| +1 :green_heart: | spotbugs | 2m 11s | | trunk passed |
| +1 :green_heart: | shadedclient | 14m 23s | | branch has no errors
when building and testing our client artifacts. |
| -0 :warning: | patch | 14m 38s | | Used diff version of patch file.
Binary files and potentially other changes not applied. Please rebase and
squash commits if necessary. |
_ Patch Compile Tests _ |
| +0 :ok: | mvndep | 0m 19s | | Maven dependency ordering for patch |
| +1 :green_heart: | mvninstall | 0m 36s | | the patch passed |
| +1 :green_heart: | compile | 3m 16s | | the patch passed with JDK
Ubuntu-21.0.7+6-Ubuntu-0ubuntu120.04 |
| +1 :green_heart: | javac | 3m 16s | | the patch passed |
| +1 :green_heart: | compile | 3m 30s | | the patch passed with JDK
Ubuntu-17.0.15+6-Ubuntu-0ubuntu120.04 |
| +1 :green_heart: | javac | 3m 30s | | the patch passed |
| +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks
issues. |
| -0 :warning: | checkstyle | 0m 45s |
[/results-checkstyle-hadoop-yarn-project_hadoop-yarn.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/5/artifact/out/results-checkstyle-hadoop-yarn-project_hadoop-yarn.txt)
| hadoop-yarn-project/hadoop-yarn: The patch generated 72 new + 14 unchanged
- 0 fixed = 86 total (was 14) |
| +1 :green_heart: | mvnsite | 1m 1s | | the patch passed |
| -1 :x: | javadoc | 0m 32s |
[/results-javadoc-javadoc-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api-jdkUbuntu-21.0.7+6-Ubuntu-0ubuntu120.04.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/5/artifact/out/results-javadoc-javadoc-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api-jdkUbuntu-21.0.7+6-Ubuntu-0ubuntu120.04.txt)
|
hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api-jdkUbuntu-21.0.7+6-Ubuntu-0ubuntu120.04
with JDK Ubuntu-21.0.7+6-Ubuntu-0ubuntu120.04 generated 1 new + 2317 unchanged
- 0 fixed = 2318 total (was 2317) |
| +1 :green_heart: | javadoc | 0m 53s | | the patch passed with JDK
Ubuntu-17.0.15+6-Ubuntu-0ubuntu120.04 |
| +1 :green_heart: | spotbugs | 2m 15s | | the patch passed |
| +1 :green_heart: | shadedclient | 14m 35s | | patch has no errors
when building and testing our client artifacts. |
_ Other Tests _ |
| +1 :green_heart: | unit | 0m 41s | | hadoop-yarn-api in the patch
passed. |
| +1 :green_heart: | unit | 2m 53s | |
hadoop-yarn-server-applicationhistoryservice in the patch passed. |
| +1 :green_heart: | asflicense | 0m 33s | | The patch does not
generate ASF License warnings. |
| | | 98m 29s | | |
| Subsystem | Report/Notes |
|--:|:-|
| Docker | ClientAPI=1.52 ServerAPI=1.52 base:
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/5/artifact/out/Dockerfile
|
| GITHUB PR | https://github.com/apache/hadoop/pull/8018 |
| Optional Tests | dupname asflicense compile javac javadoc mvninstall
mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets |
[jira] [Commented] (YARN-11877) Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
[
https://issues.apache.org/jira/browse/YARN-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18028309#comment-18028309
]
ASF GitHub Bot commented on YARN-11877:
---
slfan1989 commented on PR #8018:
URL: https://github.com/apache/hadoop/pull/8018#issuecomment-3380439528
> thanks @slfan1989 for this effort, it means a lot to the Tez project! I
believe "Tez" related stuff cannot stay in the hadoop repository, so if you
think the unit test provided makes sense, you can adapt it to a generic one
>
> also double-checked that adding TimelineEntityWriter by config.register
makes the unit test work, however, to stay consistent, implementing the
TimelineEntityReader also makes sense
@abstractdog Thank you for the information! I will record you as a co-author
of this PR. My understanding of the timeline might not be fully comprehensive.
During the upgrade of Jersey to version 2.x, my primary focus was on adapting
the unit tests bundled with the Hadoop project. Please feel free to share any
additional feedback or details. I will continue to follow up on issues related
to Jersey 2.x.
> Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
> --
>
> Key: YARN-11877
> URL: https://issues.apache.org/jira/browse/YARN-11877
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: timelineservice
>Affects Versions: 3.5.0
>Reporter: Shilun Fan
>Assignee: Shilun Fan
>Priority: Major
> Labels: pull-request-available
>
> After upgrading to {*}Jersey 2.46{*}, retrieving *Timeline entities* via the
> {{/ws/v1/timeline/}} endpoint triggers the following exception:
> {code:java}
> java.lang.RuntimeException: TimelineEntity and TimelineEntities has
> IllegalAnnotation{code}
> The root cause is a JAXB binding compatibility issue related to interface
> types defined in TimelineEntity, which leads to illegal annotation errors
> during serialization or deserialization.
> For more background information, please refer to the mailing list discussion:
> https://lists.apache.org/thread/y70j1wqj00rhon4hxjkws6k55514sbfo
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
[jira] [Commented] (YARN-11877) Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
[
https://issues.apache.org/jira/browse/YARN-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18029272#comment-18029272
]
ASF GitHub Bot commented on YARN-11877:
---
hadoop-yetus commented on PR #8018:
URL: https://github.com/apache/hadoop/pull/8018#issuecomment-3393846789
:broken_heart: **-1 overall**
| Vote | Subsystem | Runtime | Logfile | Comment |
|::|--:|:|::|:---:|
| +0 :ok: | reexec | 8m 26s | | Docker mode activated. |
_ Prechecks _ |
| +1 :green_heart: | dupname | 0m 0s | | No case conflicting files
found. |
| +0 :ok: | codespell | 0m 0s | | codespell was not available. |
| +0 :ok: | detsecrets | 0m 0s | | detect-secrets was not available.
|
| +1 :green_heart: | @author | 0m 0s | | The patch does not contain
any @author tags. |
| +1 :green_heart: | test4tests | 0m 0s | | The patch appears to
include 1 new or modified test files. |
_ trunk Compile Tests _ |
| +0 :ok: | mvndep | 9m 9s | | Maven dependency ordering for branch |
| +1 :green_heart: | mvninstall | 16m 34s | | trunk passed |
| +1 :green_heart: | compile | 2m 56s | | trunk passed |
| +1 :green_heart: | checkstyle | 0m 46s | | trunk passed |
| +1 :green_heart: | mvnsite | 0m 56s | | trunk passed |
| +1 :green_heart: | javadoc | 0m 55s | | trunk passed |
| -1 :x: | spotbugs | 0m 38s |
[/branch-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/2/artifact/out/branch-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api.txt)
| hadoop-yarn-api in trunk failed. |
| -1 :x: | spotbugs | 0m 26s |
[/branch-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-applicationhistoryservice.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/2/artifact/out/branch-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-applicationhistoryservice.txt)
| hadoop-yarn-server-applicationhistoryservice in trunk failed. |
| +1 :green_heart: | shadedclient | 18m 4s | | branch has no errors
when building and testing our client artifacts. |
_ Patch Compile Tests _ |
| +0 :ok: | mvndep | 0m 19s | | Maven dependency ordering for patch |
| +1 :green_heart: | mvninstall | 0m 39s | | the patch passed |
| +1 :green_heart: | compile | 2m 40s | | the patch passed |
| +1 :green_heart: | javac | 2m 40s | | the patch passed |
| +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks
issues. |
| -0 :warning: | checkstyle | 0m 43s |
[/results-checkstyle-hadoop-yarn-project_hadoop-yarn.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/2/artifact/out/results-checkstyle-hadoop-yarn-project_hadoop-yarn.txt)
| hadoop-yarn-project/hadoop-yarn: The patch generated 72 new + 14 unchanged
- 0 fixed = 86 total (was 14) |
| +1 :green_heart: | mvnsite | 0m 53s | | the patch passed |
| +1 :green_heart: | javadoc | 0m 46s | | the patch passed |
| -1 :x: | spotbugs | 0m 33s |
[/patch-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/2/artifact/out/patch-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api.txt)
| hadoop-yarn-api in the patch failed. |
| -1 :x: | spotbugs | 0m 23s |
[/patch-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-applicationhistoryservice.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/2/artifact/out/patch-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-applicationhistoryservice.txt)
| hadoop-yarn-server-applicationhistoryservice in the patch failed. |
| +1 :green_heart: | shadedclient | 18m 49s | | patch has no errors
when building and testing our client artifacts. |
_ Other Tests _ |
| +1 :green_heart: | unit | 0m 37s | | hadoop-yarn-api in the patch
passed. |
| +1 :green_heart: | unit | 2m 52s | |
hadoop-yarn-server-applicationhistoryservice in the patch passed. |
| +1 :green_heart: | asflicense | 0m 28s | | The patch does not
generate ASF License warnings. |
| | | 82m 24s | | |
| Subsystem | Report/Notes |
|--:|:-|
| Docker | ClientAPI=1.51 ServerAPI=1.51 base:
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/2/artifact/out/Dockerfile
|
| GITHUB PR | https://github.com/apache/hadoop/pull/8018 |
| Optional Tests | dupname asflicense compile javac javadoc mvninstall
mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets |
| uname | Linux 9692615874f6 5.15.0-156-generic
[jira] [Commented] (YARN-11877) Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
[
https://issues.apache.org/jira/browse/YARN-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18030416#comment-18030416
]
ASF GitHub Bot commented on YARN-11877:
---
hadoop-yetus commented on PR #8018:
URL: https://github.com/apache/hadoop/pull/8018#issuecomment-3411780492
:broken_heart: **-1 overall**
| Vote | Subsystem | Runtime | Logfile | Comment |
|::|--:|:|::|:---:|
| +0 :ok: | reexec | 15m 45s | | Docker mode activated. |
_ Prechecks _ |
| +1 :green_heart: | dupname | 0m 0s | | No case conflicting files
found. |
| +0 :ok: | codespell | 0m 0s | | codespell was not available. |
| +0 :ok: | detsecrets | 0m 0s | | detect-secrets was not available.
|
| +1 :green_heart: | @author | 0m 0s | | The patch does not contain
any @author tags. |
| +1 :green_heart: | test4tests | 0m 0s | | The patch appears to
include 1 new or modified test files. |
_ trunk Compile Tests _ |
| +0 :ok: | mvndep | 10m 15s | | Maven dependency ordering for branch |
| +1 :green_heart: | mvninstall | 28m 8s | | trunk passed |
| +1 :green_heart: | compile | 5m 21s | | trunk passed with JDK
Ubuntu-21.0.7+6-Ubuntu-0ubuntu120.04 |
| +1 :green_heart: | compile | 5m 11s | | trunk passed with JDK
Ubuntu-17.0.15+6-Ubuntu-0ubuntu120.04 |
| +1 :green_heart: | checkstyle | 1m 31s | | trunk passed |
| +1 :green_heart: | mvnsite | 1m 57s | | trunk passed |
| +1 :green_heart: | javadoc | 1m 50s | | trunk passed with JDK
Ubuntu-21.0.7+6-Ubuntu-0ubuntu120.04 |
| +1 :green_heart: | javadoc | 1m 42s | | trunk passed with JDK
Ubuntu-17.0.15+6-Ubuntu-0ubuntu120.04 |
| -1 :x: | spotbugs | 2m 45s |
[/branch-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api-warnings.html](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/4/artifact/out/branch-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api-warnings.html)
| hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api in trunk has 87 extant
spotbugs warnings. |
| -1 :x: | spotbugs | 1m 10s |
[/branch-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-applicationhistoryservice-warnings.html](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/4/artifact/out/branch-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-applicationhistoryservice-warnings.html)
|
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice
in trunk has 68 extant spotbugs warnings. |
| +1 :green_heart: | shadedclient | 26m 36s | | branch has no errors
when building and testing our client artifacts. |
| -0 :warning: | patch | 27m 2s | | Used diff version of patch file.
Binary files and potentially other changes not applied. Please rebase and
squash commits if necessary. |
_ Patch Compile Tests _ |
| +0 :ok: | mvndep | 0m 31s | | Maven dependency ordering for patch |
| +1 :green_heart: | mvninstall | 1m 8s | | the patch passed |
| +1 :green_heart: | compile | 4m 46s | | the patch passed with JDK
Ubuntu-21.0.7+6-Ubuntu-0ubuntu120.04 |
| +1 :green_heart: | javac | 4m 46s | | the patch passed |
| +1 :green_heart: | compile | 5m 1s | | the patch passed with JDK
Ubuntu-17.0.15+6-Ubuntu-0ubuntu120.04 |
| +1 :green_heart: | javac | 5m 1s | | the patch passed |
| +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks
issues. |
| -0 :warning: | checkstyle | 1m 30s |
[/results-checkstyle-hadoop-yarn-project_hadoop-yarn.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/4/artifact/out/results-checkstyle-hadoop-yarn-project_hadoop-yarn.txt)
| hadoop-yarn-project/hadoop-yarn: The patch generated 72 new + 14 unchanged
- 0 fixed = 86 total (was 14) |
| +1 :green_heart: | mvnsite | 1m 47s | | the patch passed |
| -1 :x: | javadoc | 0m 53s |
[/results-javadoc-javadoc-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api-jdkUbuntu-21.0.7+6-Ubuntu-0ubuntu120.04.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/4/artifact/out/results-javadoc-javadoc-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api-jdkUbuntu-21.0.7+6-Ubuntu-0ubuntu120.04.txt)
|
hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api-jdkUbuntu-21.0.7+6-Ubuntu-0ubuntu120.04
with JDK Ubuntu-21.0.7+6-Ubuntu-0ubuntu120.04 generated 1 new + 2313 unchanged
- 0 fixed = 2314 total (was 2313) |
| +1 :green_heart: | javadoc | 1m 32s | | the patch passed with JDK
Ubuntu-17.0.15+6-Ubuntu-0ubuntu120.04 |
| +1 :green_heart: | spotbugs | 4m 5s | | the patch passed |
| +1 :green_heart: | shadedclient | 26m 41s | | patch has no errors
when building
[jira] [Commented] (YARN-11877) Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
[
https://issues.apache.org/jira/browse/YARN-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18028283#comment-18028283
]
ASF GitHub Bot commented on YARN-11877:
---
slfan1989 opened a new pull request, #8018:
URL: https://github.com/apache/hadoop/pull/8018
…th Jersey 2.x.
### Description of PR
JIRA: YARN-11877. Resolve JAXB IllegalAnnotation issue in TimelineEntity
with Jersey 2.x.
### How was this patch tested?
### For code changes:
- [ ] Does the title or this PR starts with the corresponding JIRA issue id
(e.g. 'HADOOP-17799. Your PR title ...')?
- [ ] Object storage: have the integration tests been executed and the
endpoint declared according to the connector-specific documentation?
- [ ] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`,
`NOTICE-binary` files?
> Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
> --
>
> Key: YARN-11877
> URL: https://issues.apache.org/jira/browse/YARN-11877
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: timelineservice
>Affects Versions: 3.5.0
>Reporter: Shilun Fan
>Assignee: Shilun Fan
>Priority: Major
>
> After upgrading to {*}Jersey 2.46{*}, retrieving *Timeline entities* via the
> {{/ws/v1/timeline/}} endpoint triggers the following exception:
> {code:java}
> java.lang.RuntimeException: TimelineEntity and TimelineEntities has
> IllegalAnnotation{code}
> The root cause is a JAXB binding compatibility issue related to interface
> types defined in TimelineEntity, which leads to illegal annotation errors
> during serialization or deserialization.
> For more background information, please refer to the mailing list discussion:
> https://lists.apache.org/thread/y70j1wqj00rhon4hxjkws6k55514sbfo
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
[jira] [Commented] (YARN-11877) Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
[
https://issues.apache.org/jira/browse/YARN-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18029314#comment-18029314
]
ASF GitHub Bot commented on YARN-11877:
---
hadoop-yetus commented on PR #8018:
URL: https://github.com/apache/hadoop/pull/8018#issuecomment-3394720838
:broken_heart: **-1 overall**
| Vote | Subsystem | Runtime | Logfile | Comment |
|::|--:|:|::|:---:|
| +0 :ok: | reexec | 0m 20s | | Docker mode activated. |
_ Prechecks _ |
| +1 :green_heart: | dupname | 0m 0s | | No case conflicting files
found. |
| +0 :ok: | codespell | 0m 0s | | codespell was not available. |
| +0 :ok: | detsecrets | 0m 0s | | detect-secrets was not available.
|
| +0 :ok: | xmllint | 0m 0s | | xmllint was not available. |
| +1 :green_heart: | @author | 0m 0s | | The patch does not contain
any @author tags. |
| +1 :green_heart: | test4tests | 0m 0s | | The patch appears to
include 1 new or modified test files. |
_ trunk Compile Tests _ |
| +0 :ok: | mvndep | 11m 33s | | Maven dependency ordering for branch |
| +1 :green_heart: | mvninstall | 15m 40s | | trunk passed |
| +1 :green_heart: | compile | 8m 23s | | trunk passed |
| +1 :green_heart: | checkstyle | 1m 38s | | trunk passed |
| -1 :x: | mvnsite | 7m 6s |
[/branch-mvnsite-root.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/3/artifact/out/branch-mvnsite-root.txt)
| root in trunk failed. |
| +1 :green_heart: | javadoc | 4m 54s | | trunk passed |
| -1 :x: | spotbugs | 0m 29s |
[/branch-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/3/artifact/out/branch-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api.txt)
| hadoop-yarn-api in trunk failed. |
| -1 :x: | spotbugs | 0m 21s |
[/branch-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-applicationhistoryservice.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/3/artifact/out/branch-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-applicationhistoryservice.txt)
| hadoop-yarn-server-applicationhistoryservice in trunk failed. |
| -1 :x: | spotbugs | 0m 16s |
[/branch-spotbugs-root.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/3/artifact/out/branch-spotbugs-root.txt)
| root in trunk failed. |
| +1 :green_heart: | shadedclient | 28m 53s | | branch has no errors
when building and testing our client artifacts. |
_ Patch Compile Tests _ |
| +0 :ok: | mvndep | 0m 24s | | Maven dependency ordering for patch |
| +1 :green_heart: | mvninstall | 15m 28s | | the patch passed |
| +1 :green_heart: | compile | 8m 12s | | the patch passed |
| +1 :green_heart: | javac | 8m 12s | | the patch passed |
| +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks
issues. |
| -0 :warning: | checkstyle | 1m 31s |
[/results-checkstyle-root.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/3/artifact/out/results-checkstyle-root.txt)
| root: The patch generated 72 new + 14 unchanged - 0 fixed = 86 total (was
14) |
| -1 :x: | mvnsite | 3m 39s |
[/patch-mvnsite-root.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/3/artifact/out/patch-mvnsite-root.txt)
| root in the patch failed. |
| +1 :green_heart: | javadoc | 4m 51s | | the patch passed |
| +1 :green_heart: | spotbugs | 19m 24s | | the patch passed |
| +1 :green_heart: | shadedclient | 30m 42s | | patch has no errors
when building and testing our client artifacts. |
_ Other Tests _ |
| -1 :x: | unit | 586m 19s |
[/patch-unit-root.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/3/artifact/out/patch-unit-root.txt)
| root in the patch passed. |
| +1 :green_heart: | asflicense | 0m 50s | | The patch does not
generate ASF License warnings. |
| | | 721m 52s | | |
| Reason | Tests |
|---:|:--|
| Failed junit tests | hadoop.fs.tosfs.object.TestObjectOutputStream |
| | hadoop.fs.tosfs.object.tos.auth.TestEnvironmentCredentialsProvider |
| | hadoop.fs.tosfs.commit.TestMagicOutputStream |
| | hadoop.fs.tosfs.object.TestObjectRangeInputStream |
| | hadoop.fs.tosfs.object.tos.auth.TestDefaultCredentialsProviderChain |
| | hadoop.fs.tosfs.object.TestObjectMultiRangeInputStream |
| |
hadoop.yarn.server.router.subcluster.fair.TestYarnFederationWithFairScheduler |
| | hadoop.yarn.sls.appmaster.TestAMSimulator |
| Subsystem | Report/Notes |
|--:|:-|
| Dock
[jira] [Commented] (YARN-11877) Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
[
https://issues.apache.org/jira/browse/YARN-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18028314#comment-18028314
]
ASF GitHub Bot commented on YARN-11877:
---
hadoop-yetus commented on PR #8018:
URL: https://github.com/apache/hadoop/pull/8018#issuecomment-3380572320
:confetti_ball: **+1 overall**
| Vote | Subsystem | Runtime | Logfile | Comment |
|::|--:|:|::|:---:|
| +0 :ok: | reexec | 0m 22s | | Docker mode activated. |
_ Prechecks _ |
| +1 :green_heart: | dupname | 0m 0s | | No case conflicting files
found. |
| +0 :ok: | codespell | 0m 0s | | codespell was not available. |
| +0 :ok: | detsecrets | 0m 0s | | detect-secrets was not available.
|
| +1 :green_heart: | @author | 0m 0s | | The patch does not contain
any @author tags. |
| +1 :green_heart: | test4tests | 0m 0s | | The patch appears to
include 1 new or modified test files. |
_ trunk Compile Tests _ |
| +0 :ok: | mvndep | 7m 30s | | Maven dependency ordering for branch |
| +1 :green_heart: | mvninstall | 27m 5s | | trunk passed |
| +1 :green_heart: | compile | 3m 5s | | trunk passed with JDK
Ubuntu-11.0.27+6-post-Ubuntu-0ubuntu120.04 |
| +1 :green_heart: | compile | 2m 46s | | trunk passed with JDK
Private Build-1.8.0_452-8u452-ga~us1-0ubuntu1~20.04-b09 |
| +1 :green_heart: | checkstyle | 0m 47s | | trunk passed |
| +1 :green_heart: | mvnsite | 0m 57s | | trunk passed |
| +1 :green_heart: | javadoc | 0m 56s | | trunk passed with JDK
Ubuntu-11.0.27+6-post-Ubuntu-0ubuntu120.04 |
| +1 :green_heart: | javadoc | 0m 53s | | trunk passed with JDK
Private Build-1.8.0_452-8u452-ga~us1-0ubuntu1~20.04-b09 |
| +1 :green_heart: | spotbugs | 1m 56s | | trunk passed |
| +1 :green_heart: | shadedclient | 24m 21s | | branch has no errors
when building and testing our client artifacts. |
_ Patch Compile Tests _ |
| +0 :ok: | mvndep | 0m 23s | | Maven dependency ordering for patch |
| +1 :green_heart: | mvninstall | 0m 35s | | the patch passed |
| +1 :green_heart: | compile | 2m 44s | | the patch passed with JDK
Ubuntu-11.0.27+6-post-Ubuntu-0ubuntu120.04 |
| +1 :green_heart: | javac | 2m 44s | | the patch passed |
| +1 :green_heart: | compile | 2m 50s | | the patch passed with JDK
Private Build-1.8.0_452-8u452-ga~us1-0ubuntu1~20.04-b09 |
| +1 :green_heart: | javac | 2m 50s | | the patch passed |
| +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks
issues. |
| -0 :warning: | checkstyle | 0m 47s |
[/results-checkstyle-hadoop-yarn-project_hadoop-yarn.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/1/artifact/out/results-checkstyle-hadoop-yarn-project_hadoop-yarn.txt)
| hadoop-yarn-project/hadoop-yarn: The patch generated 72 new + 14 unchanged
- 0 fixed = 86 total (was 14) |
| +1 :green_heart: | mvnsite | 0m 54s | | the patch passed |
| +1 :green_heart: | javadoc | 0m 44s | | the patch passed with JDK
Ubuntu-11.0.27+6-post-Ubuntu-0ubuntu120.04 |
| +1 :green_heart: | javadoc | 0m 44s | | the patch passed with JDK
Private Build-1.8.0_452-8u452-ga~us1-0ubuntu1~20.04-b09 |
| +1 :green_heart: | spotbugs | 2m 4s | | the patch passed |
| +1 :green_heart: | shadedclient | 23m 35s | | patch has no errors
when building and testing our client artifacts. |
_ Other Tests _ |
| +1 :green_heart: | unit | 0m 37s | | hadoop-yarn-api in the patch
passed. |
| +1 :green_heart: | unit | 3m 21s | |
hadoop-yarn-server-applicationhistoryservice in the patch passed. |
| +1 :green_heart: | asflicense | 0m 35s | | The patch does not
generate ASF License warnings. |
| | | 113m 4s | | |
| Subsystem | Report/Notes |
|--:|:-|
| Docker | ClientAPI=1.51 ServerAPI=1.51 base:
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8018/1/artifact/out/Dockerfile
|
| GITHUB PR | https://github.com/apache/hadoop/pull/8018 |
| Optional Tests | dupname asflicense compile javac javadoc mvninstall
mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets |
| uname | Linux b3eaad732b10 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9
00:02:46 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | dev-support/bin/hadoop.sh |
| git revision | trunk / 6996edf141de0e41068a132e3a7a4c4ad528e798 |
| Default Java | Private Build-1.8.0_452-8u452-ga~us1-0ubuntu1~20.04-b09 |
| Multi-JDK versions |
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.27+6-post-Ubuntu-0ubuntu120.04
/usr/lib/jvm/java-8-openjdk-amd64:Private
Build-1.8.0_452-8u452-ga~us1-0ubunt
[jira] [Commented] (YARN-11877) Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
[
https://issues.apache.org/jira/browse/YARN-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18028304#comment-18028304
]
ASF GitHub Bot commented on YARN-11877:
---
abstractdog commented on PR #8018:
URL: https://github.com/apache/hadoop/pull/8018#issuecomment-3380319294
thanks @slfan1989 for this effort, it means a lot to the Tez project!
I believe "Tez" related stuff cannot stay in the hadoop repository, so if
you think the unit test provided makes sense, you can adapt it to a generic one
> Resolve JAXB IllegalAnnotation issue in TimelineEntity with Jersey 2.x
> --
>
> Key: YARN-11877
> URL: https://issues.apache.org/jira/browse/YARN-11877
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: timelineservice
>Affects Versions: 3.5.0
>Reporter: Shilun Fan
>Assignee: Shilun Fan
>Priority: Major
> Labels: pull-request-available
>
> After upgrading to {*}Jersey 2.46{*}, retrieving *Timeline entities* via the
> {{/ws/v1/timeline/}} endpoint triggers the following exception:
> {code:java}
> java.lang.RuntimeException: TimelineEntity and TimelineEntities has
> IllegalAnnotation{code}
> The root cause is a JAXB binding compatibility issue related to interface
> types defined in TimelineEntity, which leads to illegal annotation errors
> during serialization or deserialization.
> For more background information, please refer to the mailing list discussion:
> https://lists.apache.org/thread/y70j1wqj00rhon4hxjkws6k55514sbfo
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
