================================
Using Anaconda with Cloudera CDH
================================

There are different methods of using Anaconda Scale on a cluster with
`Cloudera CDH <http://www.cloudera.com/products/apache-hadoop/key-cdh-components.html>`_:

* The freely available :doc:`Anaconda parcel for Cloudera CDH <../anaconda/user-guide/tasks/integration/cloudera>`.

* Custom `Anaconda parcels for Cloudera CDH <https://www.anaconda.com/blog/developer-blog/self-service-open-data-science-custom-anaconda-parcels-cloudera-cdh>`_

* A dynamic, managed version of Anaconda on all of the nodes using Anaconda Scale

The freely available Anaconda parcel is based on Python 2.7 and includes the
default conda packages that are available in the free Anaconda distribution.

Anaconda Enterprise users can also leverage Anaconda Repository to
:doc:`create and distribute their own custom Anaconda parcels for Cloudera
Manager </anaconda-repository/user-guide/tasks/work-with-cloudera-parcels>`.

If you need more dynamic functionality than the Anaconda parcels offer, Anaconda
Scale lets you dynamically install and manage multiple
conda environments--such as Python 2, Python 3, and R environments--and packages
across a cluster.

Using the Anaconda parcel
=========================

For more information about installing the Anaconda parcel on a CDH cluster using
Cloudera Manager, see the :doc:`Anaconda parcel documentation <../anaconda/user-guide/tasks/integration/cloudera>`.

Transitioning to the dynamic, managed version of Anaconda Scale
===============================================================

To transition from the Anaconda parcel for CDH to the dynamic,
managed version of Anaconda Scale, follow the instructions below to
uninstall the Anaconda parcel on a CDH cluster and then transition to a centrally
managed version of Anaconda.

Uninstalling the Anaconda parcel
--------------------------------

If the Anaconda parcel is installed on the CDH cluster, uninstall the parcel:

#. From the Cloudera Manager Admin Console, in the
   top navigation bar, click the Parcels indicator.

#. To the right of the Anaconda parcel listing, click the Deactivate button.

#. When prompted, click OK to deactivate the Anaconda parcel and
   restart Spark and related services.

#. Click the arrow to the right of the Anaconda parcel listing and select Remove From Hosts.

#. In the confirmation dialog box, confirm removal of the Anaconda parcel from the cluster nodes.

For more information about managing Cloudera parcels, see the
`Cloudera documentation <http://www.cloudera.com/documentation/enterprise/latest/topics/cm_ig_parcels.html#cmug_topic_7_11_5_unique_1__section_sd4_bzx_bm_unique_1>`_.

Transitioning to a centrally managed Anaconda installation
----------------------------------------------------------

Once you've uninstalled the Anaconda parcel, see the :doc:`Anaconda Scale 
installation instructions <install>` for more information about installing a 
centrally managed version of Anaconda.
