[
https://issues.apache.org/jira/browse/HBASE-3167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12925979#action_12925979
]
Kannan Muthukkaruppan commented on HBASE-3167:
----------------------------------------------
Sample map-reduce export to export a single column family <columnFamilyName>
from <tableName> into <dir>. Output will be BLOCK compressed.
{code}
% bin/hadoop jar <pathToHBaseJar> export -D
hbase.mapreduce.scan.column.family=<columnFamilyName> -D
mapred.output.compress=true -D
mapred.output.compression.codec=org.apache.hadoop.io.compress.GzipCodec -D
mapred.output.compression.type=BLOCK <tableName> <dir>
{code}
Import:
{code}
% bin/hadoop jar /tmp/hbase-0.21.0-SNAPSHOT.jar import <tableName> <dir>
{code}
> HBase Export: Add ability to export specific Column Family; Turn Block Cache
> off during export; improve usage doc
> -----------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-3167
> URL: https://issues.apache.org/jira/browse/HBASE-3167
> Project: HBase
> Issue Type: Improvement
> Reporter: Kannan Muthukkaruppan
> Assignee: Kannan Muthukkaruppan
> Attachments: HBASE-3167.txt
>
>
> A few simple improvements for the native MR based export:
> (i) Add ability to export a single CF
> (ii) Turn block cache off during export
> (iii) Improve documentation of usage. Such as how to do compressed export.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.