title: Class com.hadoop.compression.lzo.LzoCodec not found for Spark on CDH 5?
body: <p>I have been working on this problem for two days and still have not find the way.</p>
  
  <p><strong>Problem</strong>: Our Spark installed via newest CDH 5 always complains about the lost of LzoCodec class, even after I install the HADOOP_LZO through Parcels in cloudera manager. <strong>We are running MR1 on CDH 5.0.0-1.cdh5.0.0.p0.47</strong>.</p>
  
  <p><strong>Try to fix</strong>:
  The configurations in <a href="https://www.cloudera.com/content/cloudera-content/cloudera-docs/CM4Ent/4.7.3/Cloudera-Manager-Installation-Guide/cmig_install_LZO_Compression.html">official CDH documentation about 'Using the LZO Parcel</a>' are also added but the problem is still there.</p>
  
  <p>Most of the googled posts give similar advices to the above. I also suspect that the spark is trying to run against YARN that is not activated there; but I can not find the configuration in CMF or other posts about this topic.</p>
  
  <p>Please give me some help if you know how to deal with it.</p>