bitterfox commented on pull request #3591:
URL: https://github.com/apache/hbase/pull/3591#issuecomment-901032200


   Added examples
   ```
   
   Examples:
    To verify the data replicated from TestTable for a 1 hour window with peer 
#5 
    $ hbase org.apache.hadoop.hbase.mapreduce.replication.VerifyReplication 
--starttime=1265875194289 --endtime=1265878794289 5 TestTable 
   
    To verify the data in TestTable between the cluster runs VerifyReplication 
and cluster-b
    Assume quorum address for cluster-b is 
cluster-b-1.example.com,cluster-b-2.example.com,cluster-b-3.example.com:2181:/cluster-b
    $ hbase org.apache.hadoop.hbase.mapreduce.replication.VerifyReplication \
        
cluster-b-1.example.com,cluster-b-2.example.com,cluster-b-3.example.com:2181:/cluster-b
 \
        TestTable
   
    To verify the data in TestTable between the secured cluster runs 
VerifyReplication and insecure cluster-b
    $ hbase org.apache.hadoop.hbase.mapreduce.replication.VerifyReplication \
        -D verifyrep.peer.hbase.security.authentication=simple \
        
cluster-b-1.example.com,cluster-b-2.example.com,cluster-b-3.example.com:2181:/cluster-b
 \
        TestTable
   
    To verify the data in TestTable between the secured cluster runs 
VerifyReplication and secured cluster-b
    Assume cluster-b uses different kerberos principal, cluster-b/_HOST@E, for 
master and regionserver kerberos principal from another cluster
    $ hbase org.apache.hadoop.hbase.mapreduce.replication.VerifyReplication \
        -D 
verifyrep.peer.hbase.regionserver.kerberos.principal=cluster-b/[email protected]
 \
        -D 
verifyrep.peer.hbase.master.kerberos.principal=cluster-b/[email protected] \
        
cluster-b-1.example.com,cluster-b-2.example.com,cluster-b-3.example.com:2181:/cluster-b
 \
        TestTable
   
    To verify the data in TestTable between the insecure cluster runs 
VerifyReplication and secured cluster-b
    $ hbase org.apache.hadoop.hbase.mapreduce.replication.VerifyReplication \
        -D verifyrep.peer.hbase.security.authentication=kerberos \
        -D 
verifyrep.peer.hbase.regionserver.kerberos.principal=cluster-b/[email protected]
 \
        -D 
verifyrep.peer.hbase.master.kerberos.principal=cluster-b/[email protected] \
        
cluster-b-1.example.com,cluster-b-2.example.com,cluster-b-3.example.com:2181:/cluster-b
 \
        TestTable
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to