oodt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajith Siriwardana (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (OODT-618) Implement ganglia XML parser
Date Mon, 10 Jun 2013 20:06:20 GMT

    [ 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:04 PM:
------------------------------------------------------------------

Hey Chris,
I've attached a patch  "oodt 618_Implement ganglia XML parser_v3.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 attached a 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,   
                  
> 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

Mime
View raw message