[
https://issues.apache.org/jira/browse/HBASE-9895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13818007#comment-13818007
]
Jeffrey Zhong commented on HBASE-9895:
--------------------------------------
{quote}
The sample file is small. Can we add it as a src/test/resource ?
{quote}
The binary data file is added into
src/test/resources/org/apache/hadoop/hbase/mapreduce/exportedTableIn94Format.
As I mentioned above, patch file can't contain binary file so I have to attach
the binary file separately and QA run will fail. When commit the change, I'll
commit the binary under
src/test/resources/org/apache/hadoop/hbase/mapreduce/exportedTableIn94Format
along with the text patch file. Therefore, there won't be any issue.
> 0.96 Import utility can't import an exported file from 0.94
> -----------------------------------------------------------
>
> Key: HBASE-9895
> URL: https://issues.apache.org/jira/browse/HBASE-9895
> Project: HBase
> Issue Type: Bug
> Components: mapreduce
> Affects Versions: 0.96.0
> Reporter: Jeffrey Zhong
> Assignee: Jeffrey Zhong
> Attachments: exportedTableIn94Format, hbase-9895-v2.patch,
> hbase-9895.patch
>
>
> Basically we PBed org.apache.hadoop.hbase.client.Result so a 0.96 cluster
> cannot import 0.94 exported files. This issue is annoying because a user
> can't import his old archive files after upgrade or archives from others who
> are using 0.94.
> The ideal way is to catch deserialization error and then fall back to 0.94
> format for importing.
--
This message was sent by Atlassian JIRA
(v6.1#6144)