Skip to content

Commit

Permalink
Update documentation with new versions
Browse files Browse the repository at this point in the history
  • Loading branch information
teamsoo authored and petroav committed Jan 20, 2017
1 parent 0c42970 commit fe8332f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions docs/developers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ simple. Execute ``make dist`` to build the distribution, ``make test`` to run
the unit tests and ``make help`` to get more info on all the available
targets.

By default, the integration code installs Presto version ``0.148``. Change the
By default, the integration code installs Presto version ``0.161``. Change the
version displayed by Ambari when adding the Presto service by specifying a
value for the ``VERSION`` variable when building the distribution. For
example, to display Presto version ``0.134``, run ``make dist VERSION=0.134``.
To download a different RPM and CLI to match version ``0.134``, edit the
``package/scripts/download.ini`` file with URLs for both.
``package/scripts/download.ini`` file with URLs for both.
18 changes: 9 additions & 9 deletions docs/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Adding the Presto service

This section and all others that follow within :ref:`Getting Started <getting_started>`
walk you through the integration steps needed to get Presto working with
Ambari. By default, this integration code installs Presto version ``0.148``,
Ambari. By default, this integration code installs Presto version ``0.161``,
the latest version at the time of writing. To install the latest Teradata
Presto release (``0.148t`` at the time of writing), download the Ambari
integration package from `here <http://www.teradata.com/presto>`_ and follow
Expand All @@ -32,13 +32,13 @@ another version, see :ref:`Build and custom distributions <build_and_custom_dist

To integrate the Presto service with Ambari, follow the steps outlined below:

* Assuming HDP 2.3 was installed with Ambari, create the following directory on
* Assuming HDP 2.5 was installed with Ambari, create the following directory on
the node where the ``ambari-server`` is running:

.. code-block:: bash
$ mkdir /var/lib/ambari-server/resources/stacks/HDP/2.3/services/PRESTO
$ cd /var/lib/ambari-server/resources/stacks/HDP/2.3/services/PRESTO
$ mkdir /var/lib/ambari-server/resources/stacks/HDP/2.5/services/PRESTO
$ cd /var/lib/ambari-server/resources/stacks/HDP/2.5/services/PRESTO
* Place the integration files within the newly created PRESTO directory.
Download the integration package that installs Teradata's version from
Expand All @@ -47,15 +47,15 @@ To integrate the Presto service with Ambari, follow the steps outlined below:

.. code-block:: bash
$ tar -xvf /path/to/integration/package/ambari-presto-1.1.tar.gz -C /var/lib/ambari-server/resources/stacks/HDP/2.3/services/PRESTO
$ mv /var/lib/ambari-server/resources/stacks/HDP/2.3/services/PRESTO/ambari-presto-1.1/* /var/lib/ambari-server/resources/stacks/HDP/2.3/services/PRESTO
$ rm -rf /var/lib/ambari-server/resources/stacks/HDP/2.3/services/PRESTO/ambari-presto-1.1
$ tar -xvf /path/to/integration/package/ambari-presto-1.2.tar.gz -C /var/lib/ambari-server/resources/stacks/HDP/2.5/services/PRESTO
$ mv /var/lib/ambari-server/resources/stacks/HDP/2.5/services/PRESTO/ambari-presto-1.2/* /var/lib/ambari-server/resources/stacks/HDP/2.5/services/PRESTO
$ rm -rf /var/lib/ambari-server/resources/stacks/HDP/2.5/services/PRESTO/ambari-presto-1.2
* Finally, make all integration files executable and restart the Ambari server:

.. code-block:: bash
$ chmod -R +x /var/lib/ambari-server/resources/stacks/HDP/2.3/services/PRESTO/*
$ chmod -R +x /var/lib/ambari-server/resources/stacks/HDP/2.5/services/PRESTO/*
$ ambari-server restart
* Once the server has restarted, point your browser to it and on the main
Expand Down Expand Up @@ -195,4 +195,4 @@ use the same JDK it was installed with even if Ambari's JDK
is re-configured. The reason for this is that during RPM installation,
Presto's JDK is set in ``/etc/presto/env.sh``. To
re-configure Presto's JDK, edit ``/etc/presto/env.sh`` on all
hosts where Presto will run.
hosts where Presto will run.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

setup(
name='ambari-presto',
version='1.1',
version='1.2',
description='This project contains the integration code for integrating \
Presto as a service in Ambari.',
long_description=readme + '\n\n' + history,
Expand Down

0 comments on commit fe8332f

Please sign in to comment.