Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Incompatible change, Reviewed
-
Marking as incompatible change. Requires hfiles be major version >= 2 and >= minor version 3. Version 3 files are enabled by default in 1.0. 0.98 writes version 2 minor version 3. You cannot go to 1.0 from anything before 0.98.
Description
Profiling I actually ran into case where complaint that could not inline because:
MaxInlineLevel maximum number of nested calls that are inlined 9 intx
i.e. method was more than 9 levels deep.
The HFileReaderV? with Abstracts is not needed anymore now we are into the clear with V3 enabled since hbase 1.0.0; we can have just an Interface and an implementation. If we need to support a new hfile type, can hopefully do it in a backward compatible way now we have Cell Interface, etc.
Squashing all this stuff together actually makes it easier figuring what is going on when reading code. I can also get rid of a bunch of duplication too.
Attached is a WIP. Doesn't fully compile yet but you get the idea.
I'll keep on unless objection. Will try it against data written with old classes as soon as I have something working. I don't believe we write classnames into our data.
Attachments
Attachments
Issue Links
- incorporates
-
HBASE-13428 [DOC] Migration to hbase-2.0.0
- Closed
- links to