[ 
https://issues.apache.org/jira/browse/HBASE-14939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16724475#comment-16724475
 ] 

Wei-Chiu Chuang commented on HBASE-14939:
-----------------------------------------

h3. 73.5. Bulk Loading Replication
HBASE-13153 adds replication support for bulk loaded HFiles, available since 
HBase 1.3/2.0. This feature is enabled by setting 
{{hbase.replication.bulkload.enabled}} to {{true}} (default is {{false}}). You 
also need to copy the source cluster configuration files to the destination 
cluster.
Additional configurations are required too:
 # {{hbase.replication.source.fs.conf.provider}}
This defines the class which loads the source cluster file system client 
configuration in the destination cluster. This should be configured for all the 
RS in the destination cluster. Default is 
{{org.apache.hadoop.hbase.replication.regionserver.DefaultSourceFSConfigurationProvider}}.

 # {{hbase.replication.conf.dir}}
This represents the base directory where the file system client configurations 
of the source cluster are copied to the destination cluster. This should be 
configured for all the RS in the destination cluster. Default is 
{{$HBASE_CONF_DIR}}.

 # {{hbase.replication.cluster.id}}
This configuration is required in the cluster where replication for bulk loaded 
data is enabled. A source cluster is uniquely identified by the destination 
cluster using this id. This should be configured for all the RS in the source 
cluster configuration file for all the RS.
For example: If source cluster FS client configurations are copied to the 
destination cluster under directory {{/home/user/dc1/}}, then 
{{hbase.replication.cluster.id}} should be configured as {{dc1}} and 
{{hbase.replication.conf.dir}} as {{/home/user}}.
| |{{DefaultSourceFSConfigurationProvider}} supports only {{xml}} type files. 
It loads source cluster FS client configuration only once, so if source cluster 
FS client configuration files are updated, every peer(s) cluster RS must be 
restarted to reload the configuration.|

> Document bulk loaded hfile replication
> --------------------------------------
>
>                 Key: HBASE-14939
>                 URL: https://issues.apache.org/jira/browse/HBASE-14939
>             Project: HBase
>          Issue Type: Task
>          Components: documentation
>            Reporter: Ashish Singhi
>            Assignee: Wei-Chiu Chuang
>            Priority: Major
>         Attachments: HBASE-14939.master.001.patch
>
>
> After HBASE-13153 is committed we need to add that information under the 
> Cluster Replication section in HBase book.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to