Return-Path: Delivered-To: apmail-hadoop-chukwa-dev-archive@minotaur.apache.org Received: (qmail 93613 invoked from network); 25 Feb 2010 02:32:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Feb 2010 02:32:50 -0000 Received: (qmail 94990 invoked by uid 500); 25 Feb 2010 02:32:50 -0000 Delivered-To: apmail-hadoop-chukwa-dev-archive@hadoop.apache.org Received: (qmail 94935 invoked by uid 500); 25 Feb 2010 02:32:50 -0000 Mailing-List: contact chukwa-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chukwa-dev@hadoop.apache.org Delivered-To: mailing list chukwa-dev@hadoop.apache.org Received: (qmail 94926 invoked by uid 99); 25 Feb 2010 02:32:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 02:32:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 02:32:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 07FCC234C052 for ; Wed, 24 Feb 2010 18:32:28 -0800 (PST) Message-ID: <624675005.515011267065148029.JavaMail.jira@brutus.apache.org> Date: Thu, 25 Feb 2010 02:32:28 +0000 (UTC) From: "Eric Yang (JIRA)" To: chukwa-dev@hadoop.apache.org Subject: [jira] Updated: (CHUKWA-457) TestUserResource test failed In-Reply-To: <212828344.512761267059867860.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CHUKWA-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Yang updated CHUKWA-457: ----------------------------- Attachment: CHUKWA-457.patch Remove duplicated setProperties method for Jersey to work. > TestUserResource test failed > ---------------------------- > > Key: CHUKWA-457 > URL: https://issues.apache.org/jira/browse/CHUKWA-457 > Project: Hadoop Chukwa > Issue Type: Bug > Components: User Interface > Environment: Redhat EL 5.1, Java 6 > Reporter: Eric Yang > Assignee: Eric Yang > Attachments: CHUKWA-457.patch > > > Jersey does not like method overloading. For example: > {noformat} > @XmlElement > public String getProperties() { > } > public void setProperties(String s) { > } > public void setProperties(JSONObject json) { > } > {noformat} > Causes annotation to panic. It's probably better to only setProperties(JSONObject json) method. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.