[ https://issues.apache.org/jira/browse/HBASE-13352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14387255#comment-14387255 ]
Enis Soztutar commented on HBASE-13352: --------------------------------------- Import can also filter records, in which case input records will not be equal to output records. So input != output is not necessarily a problem. We can expand on the warning, saying maybe some have been filtered out if configured. Alternatively, we can also add a counter for filtered out records, and do the math. Other than that +1. > Add hbase.import.version to Import usage. > ----------------------------------------- > > Key: HBASE-13352 > URL: https://issues.apache.org/jira/browse/HBASE-13352 > Project: HBase > Issue Type: Bug > Reporter: Lars Hofhansl > Priority: Trivial > Fix For: 2.0.0, 1.0.1, 1.1.0, 0.98.13 > > Attachments: 13352-v2.txt, 13352.txt > > > We just tried to export some (small amount of) data out of an 0.94 cluster to > 0.98 cluster. We used Export/Import for that. > By default we found that the import M/R job correctly reports the number of > records seen, but _silently_ does not import anything. After looking at the > 0.98 it's obvious there's an hbase.import.version > (-Dhbase.import.version=0.94) to make this work. > Two issues: > # -Dhbase.import.version=0.94 should be show with the the Import.usage > # If not given it should not just silently not import anything > In this issue I'll just a trivially add this option to the Import tool's > usage. -- This message was sent by Atlassian JIRA (v6.3.4#6332)