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

Cache outputFormat in HBaseStorage

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.8.0
    • 0.9.0, 0.10.0
    • build
    • None
    • Patch Available

    Description

      getOutputFormat gets called more than one time in a StoreFunc. Modify HBaseStorage to only create an instance of TableOutputFormat one time (since it creates a new HTable connection each time) as opposed to multiple times like it does now.

      Attachments

        1. patch_file.txt
          1 kB
          Jacob Perkins

        Activity

          People

            thedatachef Jacob Perkins
            thedatachef Jacob Perkins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified