Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-3067

HBaseStorage should be split up to become more manageable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • Patch Available

    Description

      HBaseStorage has become quite big (>1100 lines).

      I propose to split it up into more managable parts. I believe it will become a lot easier to maintain.

      I split it up like this:

      HBaseStorage

      • settings:LoadStoreFuncSettings
        • options
        • caster
        • udfProperties
        • contextSignature
        • columns:ColumnInfo - moved to its own class-file
      • loadFuncDelegate:HBaseLoadFunc - LoadFunc implementation
        • settings:LoadStoreFuncSettings (s.a.)
        • scanner:HBaseLoadFuncScanner - everything scan-specific
        • tupleIterator:HBaseTupleIterator - interface for public Tuple getNext()
      • storeFuncDelegate:HBaseStorFunc - StorFunc implementation
        • settings:LoadStoreFuncSettings (s.a.)

      Attachments

        1. hbasestorage-split.patch
          116 kB
          Christoph Bauer

        Issue Links

          Activity

            People

              christoph.bauer Christoph Bauer
              christoph.bauer Christoph Bauer
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: