You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Owen O'Malley (Created) (JIRA)" <ji...@apache.org> on 2011/12/14 00:05:29 UTC

[jira] [Created] (AMBARI-158) switch json representation to the natural one

switch json representation to the natural one
---------------------------------------------

                 Key: AMBARI-158
                 URL: https://issues.apache.org/jira/browse/AMBARI-158
             Project: Ambari
          Issue Type: Bug
            Reporter: Owen O'Malley
            Assignee: Owen O'Malley


The JAXB mapping for JSON has several styles and the natural one looks to be the best fit for what we need. In particular, it automatically assumes that all lists should be mapped to JSON lists regardless of the number of elements.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMBARI-158) switch json representation to the natural one

Posted by "Devaraj Das (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMBARI-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13174264#comment-13174264 ] 

Devaraj Das commented on AMBARI-158:
------------------------------------

Owen, since this improvement didn't work in our tests, we were patching the code so that this improvement doesn't get executed. I noticed today that the patch was committed to trunk as part of AMBARI-170. Just wanted to record this here.
                
> switch json representation to the natural one
> ---------------------------------------------
>
>                 Key: AMBARI-158
>                 URL: https://issues.apache.org/jira/browse/AMBARI-158
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>             Fix For: 0.1.0
>
>
> The JAXB mapping for JSON has several styles and the natural one looks to be the best fit for what we need. In particular, it automatically assumes that all lists should be mapped to JSON lists regardless of the number of elements.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (AMBARI-158) switch json representation to the natural one

Posted by "Devaraj Das (Reopened) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMBARI-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Devaraj Das reopened AMBARI-158:
--------------------------------

    
> switch json representation to the natural one
> ---------------------------------------------
>
>                 Key: AMBARI-158
>                 URL: https://issues.apache.org/jira/browse/AMBARI-158
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>             Fix For: 0.1.0
>
>
> The JAXB mapping for JSON has several styles and the natural one looks to be the best fit for what we need. In particular, it automatically assumes that all lists should be mapped to JSON lists regardless of the number of elements.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (AMBARI-158) switch json representation to the natural one

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

Hitesh Shah resolved AMBARI-158.
--------------------------------

    Resolution: Invalid

This issue not any more relevant for current trunk that was replaced by ambari-186 branch. This issue may have been fixed and code may already be present in the old trunk.

Updating this issue to invalid as a part of bulk update.
                
> switch json representation to the natural one
> ---------------------------------------------
>
>                 Key: AMBARI-158
>                 URL: https://issues.apache.org/jira/browse/AMBARI-158
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>             Fix For: 0.1.0
>
>
> The JAXB mapping for JSON has several styles and the natural one looks to be the best fit for what we need. In particular, it automatically assumes that all lists should be mapped to JSON lists regardless of the number of elements.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (AMBARI-158) switch json representation to the natural one

Posted by "Devaraj Das (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMBARI-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13174264#comment-13174264 ] 

Devaraj Das edited comment on AMBARI-158 at 12/21/11 6:12 PM:
--------------------------------------------------------------

Owen, since this improvement didn't work in our tests, we were patching the code so that this improvement doesn't get executed. I noticed today that the patch was committed to trunk as part of AMBARI-170 (http://bit.ly/uCa6tx). Just wanted to record this here.
                
      was (Author: devaraj):
    Owen, since this improvement didn't work in our tests, we were patching the code so that this improvement doesn't get executed. I noticed today that the patch was committed to trunk as part of AMBARI-170. Just wanted to record this here.
                  
> switch json representation to the natural one
> ---------------------------------------------
>
>                 Key: AMBARI-158
>                 URL: https://issues.apache.org/jira/browse/AMBARI-158
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>             Fix For: 0.1.0
>
>
> The JAXB mapping for JSON has several styles and the natural one looks to be the best fit for what we need. In particular, it automatically assumes that all lists should be mapped to JSON lists regardless of the number of elements.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (AMBARI-158) switch json representation to the natural one

Posted by "Owen O'Malley (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMBARI-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Owen O'Malley resolved AMBARI-158.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.1.0
    
> switch json representation to the natural one
> ---------------------------------------------
>
>                 Key: AMBARI-158
>                 URL: https://issues.apache.org/jira/browse/AMBARI-158
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>             Fix For: 0.1.0
>
>
> The JAXB mapping for JSON has several styles and the natural one looks to be the best fit for what we need. In particular, it automatically assumes that all lists should be mapped to JSON lists regardless of the number of elements.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira