title: Export data from HBase shell
body: <p>Im trying to export data from HBase Shell to a text file which I can parse, and add to a msysql db. </p>
  
  <p>I am currently using the following command:</p>
  
  <pre><code>echo "scan 'registration',{COLUMNS=&gt;'registration:status'}" | hbase shell &gt; registration.txt
  </code></pre>
  
  <p>which exports everything from the hbase shell to the registration.txt. </p>
  
  <p>How can I remove the shell intro, and the summary and just append the rows of data to the text file:</p>
  
  <p>Eg: Shell into I want to omit:</p>
  
  <pre><code>HBase Shell; enter 'help&lt;RETURN&gt;' for list of supported commands.
  Type "exit&lt;RETURN&gt;" to leave the HBase Shell
  Version 0.94.5-mapr, Wed May  1 7:42:07 PDT 2013
  </code></pre>
  
  <p>Summary I want to omit:</p>
  
  <pre><code>ROW                                      COLUMN+CELL  
  4419 row(s) in 12.9840 seconds
  </code></pre>