[ 
https://issues.apache.org/jira/browse/HBASE-9895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeffrey Zhong updated HBASE-9895:
---------------------------------

    Attachment: hbase-9895.patch

No good way to dynamically determine an input file format in 0.94 so 
introducing a system property such as following in order for Import to load a 
file using 0.94 deserializer.

{code}
./bin/hbase -Dhbase.input.version=0.94 org.apache.hadoop.hbase.mapreduce.Import 
<table name> <input folder>
{code}

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

Reply via email to