You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by mi...@apache.org on 2014/09/18 04:56:51 UTC

git commit: HBASE-11761 Add a FAQ item for updating a maven-managed application from 0.94 -> 0.96+

Repository: hbase
Updated Branches:
  refs/heads/master c6d537587 -> 5cba49c5b


HBASE-11761 Add a FAQ item for updating a maven-managed application from 0.94 -> 0.96+


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/5cba49c5
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/5cba49c5
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/5cba49c5

Branch: refs/heads/master
Commit: 5cba49c5b9d86c5bdf92f72f127f57c42b2ecd1f
Parents: c6d5375
Author: Misty Stanley-Jones <ms...@cloudera.com>
Authored: Thu Sep 18 12:56:22 2014 +1000
Committer: Misty Stanley-Jones <ms...@cloudera.com>
Committed: Thu Sep 18 12:56:38 2014 +1000

----------------------------------------------------------------------
 src/main/docbkx/book.xml | 46 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/5cba49c5/src/main/docbkx/book.xml
----------------------------------------------------------------------
diff --git a/src/main/docbkx/book.xml b/src/main/docbkx/book.xml
index 8fc2f7a..b88c0b1 100644
--- a/src/main/docbkx/book.xml
+++ b/src/main/docbkx/book.xml
@@ -4933,6 +4933,52 @@ if (result.isStale()) {
             </answer>
         </qandaentry>
     </qandadiv>
+      <qandadiv>
+        <title>Upgrading</title>
+        <qandaentry>
+          <question>
+            <para>How do I upgrade Maven-managed projects from HBase 0.94 to HBase 0.96+?</para>
+          </question>
+          <answer>
+            <para>In HBase 0.96, the project moved to a modular structure. Adjust your project's
+              dependencies to rely upon the <filename>hbase-client</filename> module or another
+              module as appropriate, rather than a single JAR. You can model your Maven depency
+              after one of the following, depending on your targeted version of HBase. See <xref
+                linkend="upgrade0.96"/> or <xref linkend="upgrade0.98"/> for more
+              information.</para>
+            <example>
+              <title>Maven Dependency for HBase 0.98</title>
+              <programlisting language="xml"><![CDATA[
+<dependency>
+	<groupId>org.apache.hbase</groupId>
+	<artifactId>hbase-client</artifactId>
+	<version>0.98.5-hadoop2</version>
+</dependency>                
+                ]]></programlisting>
+            </example>
+            <example>
+              <title>Maven Dependency for HBase 0.96</title>
+              <programlisting language="xml"><![CDATA[
+<dependency>
+	<groupId>org.apache.hbase</groupId>
+	<artifactId>hbase-client</artifactId>
+	<version>0.96.2-hadoop2</version>
+</dependency>             
+                ]]></programlisting>
+            </example>
+            <example>
+              <title>Maven Dependency for HBase 0.94</title>
+              <programlisting language="xml"><![CDATA[
+<dependency>
+	<groupId>org.apache.hbase</groupId>
+	<artifactId>hbase</artifactId>
+	<version>0.94.3</version>
+</dependency>            
+                ]]></programlisting>
+            </example>
+          </answer>
+        </qandaentry>
+      </qandadiv>
     <qandadiv xml:id="faq.arch"><title>Architecture</title>
         <qandaentry xml:id="faq.arch.regions">
             <question><para>How does HBase handle Region-RegionServer assignment and locality?</para></question>