Bird
0
0

You want to use LZO compression in a Hadoop cluster but also want the files to be splittable for parallel processing. What must you do?

hard📝 Application Q9 of 15
Hadoop - Performance Tuning
You want to use LZO compression in a Hadoop cluster but also want the files to be splittable for parallel processing. What must you do?
AUse Gzip codec because it supports splittable compression
BUse Snappy codec instead because LZO is not splittable
CDisable compression to allow splitting
DInstall LZO native libraries and use LZO index files for splittability
Step-by-Step Solution
Solution:
  1. Step 1: Understand LZO splittability

    LZO files are splittable only if native libs and index files (.index) are present.
  2. Step 2: Identify required setup

    Install native libraries and generate index files to enable splitting.
  3. Final Answer:

    Install LZO native libraries and use LZO index files for splittability -> Option D
  4. Quick Check:

    LZO splittable with native libs + index files [OK]
Quick Trick: LZO splittable only with native libs and index files [OK]
Common Mistakes:
  • Assuming LZO not splittable
  • Confusing Gzip splittability
  • Disabling compression unnecessarily

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Hadoop Quizzes