hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Armstrong" <>
Subject Re: Review Request: Optimisation for RCFile reading to improve CPU usage.
Date Mon, 08 Aug 2011 16:42:29 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated 2011-08-08 16:42:28.947782)

Review request for hive, Yongqiang He and Ning Zhang.


By tweaking the RCFile$Reader implementation to allow more efficient memory access I was able
to reduce CPU usage. I measured the speed required to scan a gzipped RCFile, decompress and
assemble into records. CPU time was reduced by about 7% for a full table scan, An improvement
of about 2% was realised when a smaller subset of columns (3-5 out of tens) were selected.

This addresses bug HIVE-2350.


  trunk/ql/src/java/org/apache/hadoop/hive/ql/io/ 1154070 



Ran TestRCFile unit test.  Manually tested reading from warehouse table.



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message