Hi folks-
In Compression.java there is this comment…
/**
* Compression algorithms. The ordinal of these cannot change or else you
* risk breaking all existing HFiles out there. Even the ones that are
* not compressed! (They use the NONE algorithm)
*/
public static enum Algorithm {
… which makes the prospect of adding new instances slightly terrifying. Has
anybody considered changing the constructor to supply an ordinal value, and
that way if anybody adds a custom one they could supply a value like 9999999 or
something hopefully never used by HBase?
Doug Meil
Chief Software Architect, Explorys
[email protected]