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

Ashish Singhi commented on HBASE-13135:
---------------------------------------

bq. Are you sure? That means command substitution in Bash
Yes, this is what we want to achieve.

Here is the output of the command I tried.
{noformat}
ashish@host:~> HADOOP_CLASSPATH=`${HBASE_HOME}/bin/hbase classpath` 
${HADOOP_HOME}/bin/hadoop jar ${HBASE_HOME}/lib/hbase-server-2.0.0-SNAPSHOT.jar 
verifyrep
Usage: verifyrep [--starttime=X] [--stoptime=Y] [--families=A] <peerid> 
<tablename>

Options:
 starttime    beginning of the time range
              without endtime means from starttime to forever
 endtime      end of the time range
 versions     number of cell versions to verify
 families     comma-separated list of families to copy

Args:
 peerid       Id of the peer used for verification, must match the one given 
for replication
 tablename    Name of the table to verify

Examples:
 To verify the data replicated from TestTable for a 1 hour window with peer #5
 $ bin/hbase org.apache.hadoop.hbase.mapreduce.replication.VerifyReplication 
--starttime=1265875194289 --endtime=1265878794289 5 TestTable
{noformat}

Here is the code for {{117.11.2. ImportTsv Example}} section

{noformat}
For ImportTsv to use this imput file, the command line needs to look like this:

----

 HADOOP_CLASSPATH=`${HBASE_HOME}/bin/hbase classpath` ${HADOOP_HOME}/bin/hadoop 
jar ${HBASE_HOME}/hbase-server-VERSION.jar importtsv 
-Dimporttsv.columns=HBASE_ROW_KEY,d:c1,d:c2 
-Dimporttsv.bulk.output=hdfs://storefileoutput datatsv hdfs://inputfile
----
{noformat}

Thanks

> Move replication ops mgmt stuff from Javadoc to Ref Guide
> ---------------------------------------------------------
>
>                 Key: HBASE-13135
>                 URL: https://issues.apache.org/jira/browse/HBASE-13135
>             Project: HBase
>          Issue Type: Bug
>          Components: documentation, Replication
>            Reporter: Misty Stanley-Jones
>            Assignee: Misty Stanley-Jones
>         Attachments: HBASE-13135-v1.patch, HBASE-13135.patch
>
>
> As per discussion with [~jmhsieh] and [[email protected]]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to