You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Eric Yang (JIRA)" <ji...@apache.org> on 2010/02/25 02:04:27 UTC

[jira] Created: (CHUKWA-457) TestUserResource test failed

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


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.


[jira] Updated: (CHUKWA-457) TestUserResource test failed

Posted by "Ari Rabkin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CHUKWA-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ari Rabkin updated CHUKWA-457:
------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this; thanks, Eric.

> 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.


[jira] Updated: (CHUKWA-457) TestUserResource test failed

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CHUKWA-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang updated CHUKWA-457:
-----------------------------

    Status: Patch Available  (was: Open)

> 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.


[jira] Commented: (CHUKWA-457) TestUserResource test failed

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850975#action_12850975 ] 

Hudson commented on CHUKWA-457:
-------------------------------

Integrated in Chukwa-trunk #330 (See [http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/330/])
    

> 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.


[jira] Commented: (CHUKWA-457) TestUserResource test failed

Posted by "Ari Rabkin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846291#action_12846291 ] 

Ari Rabkin commented on CHUKWA-457:
-----------------------------------

This test is now passing, even though patch has not been committed.  Is this issue now a duplicate?

> 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.


[jira] Updated: (CHUKWA-457) TestUserResource test failed

Posted by "Eric Yang (JIRA)" <ji...@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.


[jira] Commented: (CHUKWA-457) TestUserResource test failed

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846448#action_12846448 ] 

Eric Yang commented on CHUKWA-457:
----------------------------------

This patch is still validate, and should be committed.  I am not sure why the test case passed where it shouldn't.

> 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.