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

Brian Bockelman commented on HADOOP-4675:
-----------------------------------------

Looking at the new Ganglia wire protocol, we'll probably need to do the 
following:
1) Implement more XDR serializations.  3.0.x protocol sends all data as 
strings; 3.1.x correctly sends float data as XDR floats.
2) Test and verify sending Longs as floats in Ganglia actually works.  This has 
been discussed, but I'm not sure it's entirely functional... maybe get a test 
case going?
3) Probably this will result in a new GangliaContext31 class, as I don't see 
any clean way to merge the two protocols together into one class.
  - The patch for HADOOP-3422 caused a new metric name to be generated in the 
emitRecord class; we could reuse this if it was separated out into a new 
function.

Brian

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

Reply via email to