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

he yongqiang commented on HADOOP-4845:
--------------------------------------

@Runping    the compression ratio     
long decompressedLength = 
Long.parseLong(connection.getHeaderField(RAW_MAP_OUTPUT_LENGTH));  
long compressedLength = 
Long.parseLong(connection.getHeaderField(MAP_OUTPUT_LENGTH));

I think for each mapoutput, the comression ratio can be calculated from the 
variable decompressedLength and compressedLength.


> Shuffle counter issues
> ----------------------
>
>                 Key: HADOOP-4845
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4845
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.20.0
>            Reporter: Chris Douglas
>             Fix For: 0.20.0
>
>
> HADOOP-4749 added a new counter tracking the bytes shuffled into the reduce. 
> It adds an accumulator to ReduceCopier instead of simply incrementing the new 
> counter and did not define a human-readable value in 
> src/mapred/org/apache/hadoop/mapred/Task_Counter.properties.

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