hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhangwei (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4675) Current Ganglia metrics implementation is incompatible with Ganglia 3.1
Date Wed, 26 Nov 2008 02:16:44 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650842#action_12650842
] 

zhangwei commented on HADOOP-4675:
----------------------------------

Hi, Brian

I tested it on my cluster,which has ganglia 3.1.1 installed.I add a little code simply  based
on your patch:

+    String GroupName = name.substring(0,name.lastIndexOf("."))
. . . . . .
    xdr_int(dmax);        // dmax, the maximum data value
    //xdr_string("");       // Empty extra_value field for Ganglia 3.1.
+    xdr_int(1);   //this means Num Of the Element follow by
+    xdr_string("GROUP");
+    xdr_string(GroupName);
    for (SocketAddress socketAddress : metricsServers) {
      DatagramPacket packet 

And it seems OK.

> Current Ganglia metrics implementation is incompatible with Ganglia 3.1
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-4675
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4675
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: metrics
>    Affects Versions: 0.18.2
>            Reporter: Brian Bockelman
>         Attachments: hadoop-4675-2.patch, hadoop-4675-3.patch, hadoop-4675.patch
>
>
> Ganglia changed its wire protocol in the 3.1.x series; the current implementation only
works for 3.0.x.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message