title: How to export PDF binary from Hbase Shell?
body: <p>I'm using something like this:</p>
  
  <pre><code>echo "get 'myfiles', '3ifecre1Row', {COLUMN=&gt;'file:data', FILTER=&gt;'ValueFilter(=,\'binaryprefix:%\')'}" | hbase shell | grep "^ " &gt; testfile.pdf
  </code></pre>
  
  <p>The PDF starts with %PDF-1.6</p>
  
  <p>I don't know why but it won't come out correctly. It says corrupted. I also tried without valueFilter.</p>
  
  <p>Each time it gets the PDF when you "vi" the file it says:</p>
  
  <p><code>file:data timestamp=391824122, value='%PDF-1.6.......\x06\x01\x05\x44.......</code>.</p>