<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Export HBase data to csv in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Export-HBase-data-to-csv/m-p/149413#M111936</link>
    <description>&lt;P&gt;I am getting mapreduce error. It starts, but fails within a few minutes. do you have a working example?&lt;/P&gt;</description>
    <pubDate>Thu, 05 Oct 2017 00:59:37 GMT</pubDate>
    <dc:creator>shouvanik_halda</dc:creator>
    <dc:date>2017-10-05T00:59:37Z</dc:date>
    <item>
      <title>Export HBase data to csv</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Export-HBase-data-to-csv/m-p/149405#M111928</link>
      <description>&lt;P&gt;
	How to export hbase data to csv? Table or entire database (table by table). I have always used/built a map/reduce job to do this.  However, I understand apache Pherf has these capabilities.  I have also used phoenix to create csv:&lt;/P&gt;&lt;PRE&gt; 1. !outputformat csv
&amp;gt;&amp;gt;&amp;gt;&amp;gt; 2. !record data.csv
&amp;gt;&amp;gt;&amp;gt;&amp;gt; 3. select * from mytable;
&amp;gt;&amp;gt;&amp;gt;&amp;gt; 4. !record
&amp;gt;&amp;gt;&amp;gt;&amp;gt; 5. !quit&lt;/PRE&gt;&lt;P&gt;I have also used hbase export table which create a hadoop sequence file on a target hdfs directory.  I basically create a hive table on top of this sequence file and select * into another table which uses csv storage/file format.  This requires a few steps and not too complicated.&lt;/P&gt;&lt;P&gt;How else folks?  I am looking for the "easy" button here.&lt;/P&gt;</description>
      <pubDate>Sun, 15 May 2016 08:40:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Export-HBase-data-to-csv/m-p/149405#M111928</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2016-05-15T08:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Export HBase data to csv</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Export-HBase-data-to-csv/m-p/149406#M111929</link>
      <description>&lt;P&gt;You can create a Hive external table mapped onto your HBase table using HBaseStorageHandler, see the example at the end of the &lt;A href="https://cwiki.apache.org/confluence/display/Hive/HBaseIntegration#HBaseIntegration-Usage"&gt;Usage section&lt;/A&gt;, and then, as what you did with your Sequence file, "select *" from this table into a csv table (stored as textfile fields terminted by ',').&lt;/P&gt;</description>
      <pubDate>Sun, 15 May 2016 14:17:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Export-HBase-data-to-csv/m-p/149406#M111929</guid>
      <dc:creator>pminovic</dc:creator>
      <dc:date>2016-05-15T14:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Export HBase data to csv</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Export-HBase-data-to-csv/m-p/149407#M111930</link>
      <description>&lt;P&gt;You can also use HDF or Spark if you need to do some interesting things with it&lt;/P&gt;</description>
      <pubDate>Sun, 15 May 2016 19:07:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Export-HBase-data-to-csv/m-p/149407#M111930</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2016-05-15T19:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Export HBase data to csv</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Export-HBase-data-to-csv/m-p/149408#M111931</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1486/smanjee.html" nodeid="1486"&gt;@Sunile Manjee&lt;/A&gt; Try the Export utility tool that comes as part of HBase, that exports it into hdfs. Try something like following&lt;/P&gt;&lt;PRE&gt;bin/hbase org.apache.hadoop.hbase.mapreduce.Export table_name file:///tmp/db_dump/&lt;/PRE&gt;&lt;P&gt;It can also be done using happybase library. Here's an example&lt;/P&gt;&lt;P&gt;&lt;A href="https://gist.github.com/srs81/5504396" target="_blank"&gt;https://gist.github.com/srs81/5504396&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2016 02:08:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Export-HBase-data-to-csv/m-p/149408#M111931</guid>
      <dc:creator>rchoksi</dc:creator>
      <dc:date>2016-05-16T02:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Export HBase data to csv</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Export-HBase-data-to-csv/m-p/149409#M111932</link>
      <description>&lt;P&gt;For easy button, read with Pig using HBaseStorageHandler and write to PigStorage or CSVExcelStorage&lt;/P&gt;&lt;P&gt;&lt;A href="https://pig.apache.org/docs/r0.11.0/api/org/apache/pig/backend/hadoop/hbase/HBaseStorage.html" target="_blank"&gt;https://pig.apache.org/docs/r0.11.0/api/org/apache/pig/backend/hadoop/hbase/HBaseStorage.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pig.apache.org/docs/r0.12.0/api/org/apache/pig/piggybank/storage/CSVExcelStorage.html" target="_blank"&gt;https://pig.apache.org/docs/r0.12.0/api/org/apache/pig/piggybank/storage/CSVExcelStorage.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 05:18:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Export-HBase-data-to-csv/m-p/149409#M111932</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-05-19T05:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Export HBase data to csv</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Export-HBase-data-to-csv/m-p/149410#M111933</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.hortonworks.com/questions/33378/export-hbase-data-to-csv.html#"&gt;@Sunile Manjee&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I am following a hbase export table technique. I did an export, created a hive table stored as sequencefile but if I am loading the sequence file data into Hive table, its giving me the error:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;java.lang.RuntimeException: java.io.IOException: WritableName can't load class: org.apache.hadoop.hbase.io.ImmutableBytesWritable&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It would be really helpful if you let me know the solution. Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 23:34:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Export-HBase-data-to-csv/m-p/149410#M111933</guid>
      <dc:creator>mrizvi</dc:creator>
      <dc:date>2016-06-13T23:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Export HBase data to csv</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Export-HBase-data-to-csv/m-p/149411#M111934</link>
      <description>&lt;P style="margin-left: 40px;"&gt; &lt;A rel="user" href="https://community.cloudera.com/users/10331/mrizvi.html" nodeid="10331"&gt;@mrizvi&lt;/A&gt;&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;Do you mind opening a seperate HCC post on your question?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 02:59:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Export-HBase-data-to-csv/m-p/149411#M111934</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2016-06-14T02:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Export HBase data to csv</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Export-HBase-data-to-csv/m-p/149412#M111935</link>
      <description>&lt;P&gt;Sure &lt;A rel="user" href="https://community.cloudera.com/users/1486/smanjee.html" nodeid="1486"&gt;@Sunile Manjee&lt;/A&gt;, let me do it.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 03:28:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Export-HBase-data-to-csv/m-p/149412#M111935</guid>
      <dc:creator>mrizvi</dc:creator>
      <dc:date>2016-06-14T03:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Export HBase data to csv</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Export-HBase-data-to-csv/m-p/149413#M111936</link>
      <description>&lt;P&gt;I am getting mapreduce error. It starts, but fails within a few minutes. do you have a working example?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2017 00:59:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Export-HBase-data-to-csv/m-p/149413#M111936</guid>
      <dc:creator>shouvanik_halda</dc:creator>
      <dc:date>2017-10-05T00:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Export HBase data to csv</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Export-HBase-data-to-csv/m-p/410720#M252904</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/54111"&gt;@sunile_manjee&lt;/a&gt;&amp;nbsp;Sir,&lt;/P&gt;&lt;P&gt;I have used above commands and I am able to export the data into csv, But it the data is enclosed in quotes, (mentioned below). Is there a way to get the data without 'quotes' and also the generated file has Header, is there a way to generate the file without Header.&lt;/P&gt;&lt;P&gt;Appreciate your help. Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;'Column1', 'Column2'&lt;/P&gt;&lt;P&gt;'Data1', 'Data2'&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 06:03:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Export-HBase-data-to-csv/m-p/410720#M252904</guid>
      <dc:creator>Aj09</dc:creator>
      <dc:date>2025-06-23T06:03:27Z</dc:date>
    </item>
  </channel>
</rss>

