Upgrading Arcadia Enterprise Using Ambari Stacks

Developer Note. We do not test or certify rolling upgrades of clusters or operating systems; they may or may not work.

To upgrade an existing Arcadia Enterprise service to a newer version, perform these tasks:

  1. Removing Arcadia Service
  2. Updating Arcadia File Sources
  3. Adding Arcadia Service

Here, note the place holders:

Removing Arcadia Service

Follow these steps the remove Arcadia service from Ambari Stacks, without removing the installed rpm:

$ curl -u username:password
       -i -H 'X-Requested-By: ambari' 
       -X DELETE  http://ambari_hostname:port/api/v1/clusters/cluster_name/services/ARCADIAENTERPRISE

You should see a system response that looks somewhat like this:

HTTP/1.1 200 OK
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
User: admin
Set-Cookie: AMBARISESSIONID=3adp7jpq26cu1rajlic2qbxv;Path=/;HttpOnly
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/plain
Content-Length: 0
Server: Jetty(8.1.17.v20150415)

Updating Arcadia File Sources

Update the Arcadia file sources to the new version; this involves removing the old folder and copying the new folder to its location.

Run the following commands at the root:

  1. Remove the folder that contains the older Arcadia source files from the /services directory.

    $ sudo rm -rf /var/lib/ambari-server/resources/stacks/HDP/hdp_version/services/ARCADIA-ENTERPRISE
    
  2. Extract the zipped tar of new Arcadia files.

    $ tar -xvzf ARCADIA-ENTERPRISE-release_tarball_id.tar.gz
  3. Copy the extracted contents into the /services directory.

    $ sudo cp -R ARCADIA-ENTERPRISE /var/lib/ambari-server/resources/stacks/HDP/hdp_version/services/
    
  4. Re-start the Ambari server.

    $ sudo service ambari-server restart

Adding Arcadia Service

After completing the previous tasks, add Arcadia Enterprise service through the Ambari Stacks UI, as described in Add Arcadia Enterprise to Ambari Services.