-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://review.cloudera.org/r/1046/
-----------------------------------------------------------

(Updated 2010-10-22 15:43:55.487649)


Review request for hbase.


Changes
-------

attempt to instantiate the codec inside HFile read trailer so we get IOE on 
file open not on first read.


Summary
-------

RegionServer should refuse to be assigned a region that use LZO when LZO isn't 
available

- instead of checking regions during open, i do a check and throw during the 
construction of the RS that is is able to instantiate the listed codecs.


This addresses bug HBASE-2514.
    http://issues.apache.org/jira/browse/HBASE-2514


Diffs (updated)
-----

  trunk/CHANGES.txt 1024074 
  trunk/src/main/java/org/apache/hadoop/hbase/io/hfile/Compression.java 1024073 
  trunk/src/main/java/org/apache/hadoop/hbase/io/hfile/HFile.java 1024073 
  trunk/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java 
1024074 
  trunk/src/main/java/org/apache/hadoop/hbase/util/CompressionTest.java 1024073 
  trunk/src/test/java/org/apache/hadoop/hbase/util/TestCompressionTest.java 
PRE-CREATION 

Diff: http://review.cloudera.org/r/1046/diff


Testing
-------


Thanks,

Ryan

Reply via email to