Browse Source

YARN-7946. Update TimelineServerV2 doc as per YARN-7919. (Haibo Chen)

Haibo Chen 7 years ago
parent
commit
3087e89135

+ 12 - 0
BUILDING.txt

@@ -138,6 +138,18 @@ Maven build goals:
   * Use -DskipShade to disable client jar shading to speed up build times (in
   * Use -DskipShade to disable client jar shading to speed up build times (in
     development environments only, not to build release artifacts)
     development environments only, not to build release artifacts)
 
 
+ YARN Application Timeline Service V2 build options:
+
+   YARN Timeline Service v.2 chooses Apache HBase as the primary backing storage. The supported
+   versions of Apache HBase are 1.2.6 (default) and 2.0.0-beta1.
+
+  * HBase 1.2.6 is used by default to build Hadoop. The official releases are ready to use if you
+    plan on running Timeline Service v2 with HBase 1.2.6.
+
+  * Use -Dhbase.profile=2.0 to build Hadoop with HBase 2.0.0-beta1. Provide this option if you plan
+    on running Timeline Service v2 with HBase 2.0.
+
+
  Snappy build options:
  Snappy build options:
 
 
    Snappy is a compression library that can be utilized by the native code.
    Snappy is a compression library that can be utilized by the native code.

+ 4 - 4
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/TimelineServiceV2.md

@@ -190,9 +190,9 @@ Each step is explained in more detail below.
 
 
 ##### <a name="Set_up_the_HBase_cluster"> </a>Step 1) Set up the HBase cluster
 ##### <a name="Set_up_the_HBase_cluster"> </a>Step 1) Set up the HBase cluster
 The first part is to set up or pick an Apache HBase cluster to use as the storage cluster. The
 The first part is to set up or pick an Apache HBase cluster to use as the storage cluster. The
-version of Apache HBase that is supported with Timeline Service v.2 is 1.2.6. The 1.0.x versions
-do not work with Timeline Service v.2. Later versions of HBase have not been tested with
-Timeline Service.
+supported versions of Apache HBase are 1.2.6 (default) and 2.0.0-beta1.
+The 1.0.x versions do not work with Timeline Service v.2. By default, Hadoop releases are built
+with HBase 1.2.6. To use HBase 2.0.0-beta1, build from source with option -Dhbase.profile=2.0
 
 
 HBase has different deployment modes. Refer to the HBase book for understanding them and pick a
 HBase has different deployment modes. Refer to the HBase book for understanding them and pick a
 mode that is suitable for your setup.
 mode that is suitable for your setup.
@@ -236,7 +236,7 @@ is needed for the `flowrun` table creation in the schema creator. The default HD
 For example,
 For example,
 
 
     hadoop fs -mkdir /hbase/coprocessor
     hadoop fs -mkdir /hbase/coprocessor
-    hadoop fs -put hadoop-yarn-server-timelineservice-hbase-3.0.0-alpha1-SNAPSHOT.jar
+    hadoop fs -put hadoop-yarn-server-timelineservice-hbase-coprocessor-3.2.0-SNAPSHOT.jar
            /hbase/coprocessor/hadoop-yarn-server-timelineservice.jar
            /hbase/coprocessor/hadoop-yarn-server-timelineservice.jar