Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A0E9E11A4A for ; Fri, 11 Jul 2014 16:50:07 +0000 (UTC) Received: (qmail 12673 invoked by uid 500); 11 Jul 2014 16:50:07 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 12608 invoked by uid 500); 11 Jul 2014 16:50:07 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 12589 invoked by uid 99); 11 Jul 2014 16:50:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jul 2014 16:50:07 +0000 Date: Fri, 11 Jul 2014 16:50:07 +0000 (UTC) From: "Krisztian Horvath (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-2280) Resource manager web service fields are not accessible MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-2280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14058992#comment-14058992 ] Krisztian Horvath commented on YARN-2280: ----------------------------------------- Test failures are not relevant to this patch, and no new tests were added because there is no point to test those 2 getters. > Resource manager web service fields are not accessible > ------------------------------------------------------ > > Key: YARN-2280 > URL: https://issues.apache.org/jira/browse/YARN-2280 > Project: Hadoop YARN > Issue Type: Bug > Components: resourcemanager > Affects Versions: 2.4.0, 2.4.1 > Reporter: Krisztian Horvath > Assignee: Krisztian Horvath > Priority: Minor > Fix For: 2.5.0 > > Attachments: YARN-2280.patch > > > Using the resource manager's rest api (org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices) some rest call returns a class where the fields after the unmarshal cannot be accessible. For example SchedulerTypeInfo -> schedulerInfo. Using the same classes on client side these fields only accessible via reflection. -- This message was sent by Atlassian JIRA (v6.2#6252)