Installing and Configuring the MapR Plugin for Sahara
About this task
Procedure
-
Register the MapR plugin with Sahara by adding an entry to the
setup.cfg
file (<OpenStack-home>/sahara/setup.cfg
):[entry_points] ... sahara.cluster.plugins = vanilla = sahara.plugins.vanilla.plugin:VanillaProvider hdp = sahara.plugins.hdp.ambariplugin:AmbariPlugin mapr = sahara.plugins.mapr.plugin:MapRPlugin cdh = sahara.plugins.cdh.plugin:CDHPluginProvider spark = sahara.plugins.spark.plugin:SparkProvider
-
Enable the plugin by adding a MapR plugin entry to the
sahara.conf
file (/etc/sahara/sahara.conf
):[DEFAULT] ... plugins = vanilla,hdp,cdh,spark,mapr ...
-
Recompile by running the following commands. The
sahara-db-manage
command completes the process by executing a script that updates the Sahara database.$ cd /opt/stack/sahara $ tox -e venv -- sahara-db-manage --config-file /etc/sahara/sahara.conf upgrade head
-
Restart Sahara. For example, you can use this command:
$ tox -e venv -- sahara-all --config-file /etc/sahara/sahara.conf