title: Merging multiple LZO compressed files on HDFS
body: <p>Let's say I have this structure on HDFS:</p>
  
  <pre><code>/dir1
      /dir2
          /Name1_2015/
              file1.lzo
              file2.lzo
              file3.lzo
          /Name2_2015
              file1.lzo
              file2.lzo
  
      Name1_2015.lzo
  </code></pre>
  
  <p>I would like to merge each file of each directory in 'dir2' and append the result to the file in /dir1/DirName.lzo</p>
  
  <p>For example, for /dir1/dir2/Name1_2015, I want to merge file1.lzo, file2.lzo, file3.lzo and append it to /dir1/Name1_2015.lzo</p>
  
  <p>Each files are LZO compressed.</p>
  
  <p>How can I do it ?</p>
  
  <p>Thanks</p>