Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-3166

HBase exporter should compress output files by default (or at least allow this as an option)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 0.20.6
    • None
    • util
    • None

    Description

      The HBase exporter puts (key, Result) pairs as keys and values into an output sequence file.

      There could be significant savings at low cost if at least default compression was enabled on this output sequence file.

      In createSubmittableJob(), this might be as simple as adding the following:

      SequenceFileOutputFormat.setOutputCompressionType(job, SequenceFile.CompressionType.BLOCK);
      SequenceFileOutputFormat.setCompressOutput(job, true);
      FileOutputFormat.setOutputCompressorClass(job, DefaultCodec.class);

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              joshrose Josh Rosenblum
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: