From 808eeae8f06163b7ed843b0030827bd351c69723 Mon Sep 17 00:00:00 2001 From: Chad Roberts Date: Mon, 29 Sep 2014 15:06:19 -0400 Subject: [PATCH] Adding CDH to the list of default plugins CDH is now present as a plugin with the default installation of Sahara. Change-Id: Iff5a9a5f51ab96efb0b787089ec8138691025c29 Closes-Bug: #1375317 --- etc/sahara/sahara.conf.sample | 2 +- etc/sahara/sahara.conf.sample-basic | 2 +- sahara/plugins/base.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/sahara/sahara.conf.sample b/etc/sahara/sahara.conf.sample index 3c75858f..ab451045 100644 --- a/etc/sahara/sahara.conf.sample +++ b/etc/sahara/sahara.conf.sample @@ -347,7 +347,7 @@ # List of plugins to be loaded. Sahara preserves the order of the list # when returning it. (list value) -#plugins = vanilla,hdp,spark +#plugins = vanilla,hdp,spark,cdh # Enables data locality for hadoop cluster. Also enables data locality # for Swift used by hadoop. If enabled, 'compute_topology' and diff --git a/etc/sahara/sahara.conf.sample-basic b/etc/sahara/sahara.conf.sample-basic index 5e011d7c..28a61f46 100644 --- a/etc/sahara/sahara.conf.sample-basic +++ b/etc/sahara/sahara.conf.sample-basic @@ -95,7 +95,7 @@ # List of plugins to be loaded. Sahara preserves the order of # the list when returning it. (list value) -#plugins=vanilla,hdp,spark +#plugins=vanilla,hdp,spark,cdh [database] diff --git a/sahara/plugins/base.py b/sahara/plugins/base.py index 44487af1..ec28b7d2 100644 --- a/sahara/plugins/base.py +++ b/sahara/plugins/base.py @@ -30,7 +30,7 @@ LOG = logging.getLogger(__name__) opts = [ cfg.ListOpt('plugins', - default=['vanilla', 'hdp', 'spark'], + default=['vanilla', 'hdp', 'spark', 'cdh'], help='List of plugins to be loaded. Sahara preserves the ' 'order of the list when returning it.'), ]