From 3087e89135365cad7f28f1bf8c9a1c483e245988 Mon Sep 17 00:00:00 2001 From: Haibo Chen Date: Wed, 4 Apr 2018 11:59:31 -0700 Subject: [PATCH] YARN-7946. Update TimelineServerV2 doc as per YARN-7919. (Haibo Chen) --- BUILDING.txt | 12 ++++++++++++ .../src/site/markdown/TimelineServiceV2.md | 8 ++++---- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/BUILDING.txt b/BUILDING.txt index dbf2cb8d66f..3b9a2efbca3 100644 --- a/BUILDING.txt +++ b/BUILDING.txt @@ -138,6 +138,18 @@ Maven build goals: * Use -DskipShade to disable client jar shading to speed up build times (in 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 is a compression library that can be utilized by the native code. diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/TimelineServiceV2.md b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/TimelineServiceV2.md index f097b60b336..312c10b20ef 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/TimelineServiceV2.md +++ b/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. ##### 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 -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 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, 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