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

Lars Hofhansl commented on HBASE-13352:
---------------------------------------

Was thinking about that. To know whether something was inserted we'd have to 
scan data back, but the table in question might not have been empty.
Maybe an avenue is to throw when we cannot read the data. From the code it's 
not immediately obvious _why_ it silently ignores data. It's somewhere in the 
bowls of the generated protobuf code...

In short: That would be tricky, I think.


> 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
>         Attachments: 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)

Reply via email to