HBASE-10198: Add a note on how to Import 0.94 exported file to a 0.96 cluster or onwards
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1552056 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a35c25093c
commit
a227e85cca
|
@ -257,6 +257,10 @@ Valid program names are:
|
|||
<title>Import</title>
|
||||
<para>Import is a utility that will load data that has been exported back into HBase. Invoke via:
|
||||
<programlisting>$ bin/hbase org.apache.hadoop.hbase.mapreduce.Import <tablename> <inputdir>
|
||||
</programlisting>
|
||||
</para>
|
||||
<para>To import 0.94 exported files in a 0.96 cluster or onwards, you need to set system property "hbase.import.version" when running the import command as below:
|
||||
<programlisting>$ bin/hbase -Dhbase.import.version=0.94 org.apache.hadoop.hbase.mapreduce.Import <tablename> <inputdir>
|
||||
</programlisting>
|
||||
</para>
|
||||
</section>
|
||||
|
|
Loading…
Reference in New Issue