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

Dave Latham commented on HBASE-15548:
-------------------------------------

Sorry for the discrepency between the usage information and the actual 
behavior.  As you discovered, the sourcehashdir is required at the moment.  You 
may have found it already, but to generate the hash data, you can run 
`org.apache.hadoop.hbase.mapreduce.HashTable`

> SyncTable: sourceHashDir is supposed to be optional but won't work without 
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-15548
>                 URL: https://issues.apache.org/jira/browse/HBASE-15548
>             Project: HBase
>          Issue Type: Bug
>          Components: Replication
>    Affects Versions: 1.2.0
>         Environment: Ubuntu 12.04
>            Reporter: My Ho
>            Priority: Blocker
>
> 1) SyncTable code is contradictory. Usage said sourcehashdir is optional 
> (https://github.com/apache/hbase/blob/ad3feaa44800f10d102255a240c38ccf23a82d49/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/SyncTable.java#L687).
>  However, the command won't run if sourcehashdir is missing 
> (https://github.com/apache/hbase/blob/ad3feaa44800f10d102255a240c38ccf23a82d49/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/SyncTable.java#L83-L85)
>  
> 2) There is no documentation on how to create the desired sourcehash



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

Reply via email to