You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Rajith Siriwardana (JIRA)" <ji...@apache.org> on 2013/06/10 22:04:20 UTC

[jira] [Comment Edited] (OODT-618) Implement ganglia XML parser

    [ https://issues.apache.org/jira/browse/OODT-618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13679836#comment-13679836 ] 

Rajith Siriwardana edited comment on OODT-618 at 6/10/13 8:03 PM:
------------------------------------------------------------------

Hey Chris,
I've attached the patch with the 2 and 3 suggestions. since with the SAX parser I've only coded tag comparisons by extending the default handler, there is nothing to be added to the XMLUtils from parser. but as DOM parser we can add getting SAX parser instance like methods to XMLUtils for generalization. 

Next thing you highlighted was using o.a.oodt.cas.resource.struct.ResourceNode for ganglia HOST structure. Since ganglia Host struct contains more ganglia specific attributes, I think its better to keep away from o.a.oodt.cas.resource.struct.ResourceNode.
example NodeId like atribs are not in ganglia domain.
WDYT?
Cheers,   
                
      was (Author: rajiths):
    Hey Chris,
I've done the 2 and 3 suggestions with the SAX parser. since with the SAX parser I've only coded tag comparisons by extending the default handler, there is nothing to be added to the XMLUtils from parser. but as DOM parser we can add getting SAX parser instance like methods to XMLUtils for generalization. 

Next thing you highlighted was using o.a.oodt.cas.resource.struct.ResourceNode for ganglia HOST structure. Since ganglia Host struct contains more ganglia specific attributes, I think its better to keep away from o.a.oodt.cas.resource.struct.ResourceNode.
example NodeId like atribs are not in ganglia domain.
WDYT?
Cheers,   
                  
> Implement ganglia XML parser
> ----------------------------
>
>                 Key: OODT-618
>                 URL: https://issues.apache.org/jira/browse/OODT-618
>             Project: OODT
>          Issue Type: Sub-task
>          Components: resource manager
>            Reporter: Rajith Siriwardana
>            Assignee: Rajith Siriwardana
>             Fix For: 0.6
>
>         Attachments: OODT-618 Implement ganglia XML parser.patch, oodt 618_Implement ganglia XML parser_v3.patch
>
>
> This will consists with Ganglia XML reader and ganglia metric builder. The received XML will be parsed and it will creates a node which is a tree structure and also a java list consisting the stats of the Resource Nodes by holding ganglia metrics. which can be queried as preferred. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira