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:
jeffreyz 2013-12-18 18:46:41 +00:00
parent a35c25093c
commit a227e85cca
1 changed files with 4 additions and 0 deletions

View File

@ -257,6 +257,10 @@ Valid program names are:
<title>Import</title> <title>Import</title>
<para>Import is a utility that will load data that has been exported back into HBase. Invoke via: <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 &lt;tablename&gt; &lt;inputdir&gt; <programlisting>$ bin/hbase org.apache.hadoop.hbase.mapreduce.Import &lt;tablename&gt; &lt;inputdir&gt;
</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 &lt;tablename&gt; &lt;inputdir&gt;
</programlisting> </programlisting>
</para> </para>
</section> </section>