From 1b5254a4de3349943de05fe602fb029800c07abd Mon Sep 17 00:00:00 2001 From: Zhijie Shen Date: Wed, 12 Feb 2014 02:13:23 +0000 Subject: [PATCH] YARN-1719. Fixed the root path related Jersey warnings produced in ATSWebServices. Contributed by Billie Rinaldi. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1567498 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-yarn-project/CHANGES.txt | 3 +++ .../applicationhistoryservice/webapp/ATSWebServices.java | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index 88025fce2ac..a3b2765a571 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -248,6 +248,9 @@ Release 2.4.0 - UNRELEASED YARN=1697. NodeManager reports negative running containers (Sandy Ryza) + YARN-1719. Fixed the root path related Jersey warnings produced in + ATSWebServices. (Billie Rinaldi via zjshen) + Release 2.3.1 - UNRELEASED INCOMPATIBLE CHANGES diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/webapp/ATSWebServices.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/webapp/ATSWebServices.java index 063b67afd07..baf00d68f16 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/webapp/ATSWebServices.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/webapp/ATSWebServices.java @@ -107,7 +107,6 @@ public class ATSWebServices { * Return the description of the application timeline web services. */ @GET - @Path("/") @Produces({ MediaType.APPLICATION_JSON /* , MediaType.APPLICATION_XML */}) public AboutInfo about( @Context HttpServletRequest req, @@ -235,7 +234,6 @@ public class ATSWebServices { * that happen during storing. */ @POST - @Path("/") @Consumes({ MediaType.APPLICATION_JSON /* , MediaType.APPLICATION_XML */}) public ATSPutErrors postEntities( @Context HttpServletRequest req,