• Ask a Question
  • Create a Poll
150
Insert Image Size must be less than < 5MB.
    Ask a Question
    Cancel
    150
    More answer You can create 5 answer(s).
      Ask a Poll
      Cancel
      Beginner

      RE: What are the supported compression codecs in Avro in diyotta?

      What are the supported compression codecs in Avro in diyotta?

      Asked by Payal on July 16, 2019 in Diyotta Studio.
      1 Answers
      Expert

      The following are the used compression codecs used in Avro.

      1. Deflate
        1. The “deflate” codec writes the data block using the deflate algorithm as specified in RFC 1951, and typically implemented using the zlib library. Note that this format (unlike the “zlib format” in RFC 1950) does not have a checksum.
        2. with specific compression. Compression Level should be between 1 and 9.

       

      1. Snappy
        1. The “snappy” codec uses Google’s Snappy compression library. Each compressed block is followed by the 4-byte, big-endian CRC32 checksum of the uncompressed data in the block.
        2. The Snappy codec from Google provides modest compression ratios, but fast compression and decompression speeds. (In fact, it has the fastest decompression speeds, which makes it highly desirable for data sets that are likely to be queried often.)
        3. The Snappy codec is integrated into Hadoop Common, a set of common utilities that supports other Hadoop subprojects. You can use Snappy as an add-on for more recent versions of Hadoop that do not yet provide Snappy codec support.

       

      1. bzip2
        1. From a usability standpoint, Bzip2 and Gzip are similar. Bzip2 generates a better compression ratio than does Gzip, but it’s much slower. In fact, of all the available compression codecs in Hadoop, Bzip2 is by far the slowest.
        2. If you’re setting up an archive that you’ll rarely need to query and space is at a high premium, then maybe would Bzip2 be worth considering.

       

      1. XZ
        1. xz is a lossless compression program and file format which incorporates the LZMA/LZMA2 compression algorithms.

       

      Answered by Murthy Desineedi on July 16, 2019..