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

Cache outputFormat in HBaseStorage

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.9.0, 0.10.0
    • Component/s: build
    • Labels:
      None
    • Patch Info:
      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

            • Assignee:
              thedatachef Jacob Perkins
              Reporter:
              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