Upgrading HDP Manually
Also available as:
PDF
loading table of contents...

Preparing Your Cluster to Upgrade Ranger

If you are not currently using Ambari to manage your Hadoop cluster, you will need to upgrade Ranger manually to the latest version. This section describes the steps you need to follow to prepare your cluster for the Ranger upgrade.

  1. Back up the following Ranger configuration directories:

    • Ranger Policy Administration Service

      /etc/ranger/admin/conf
    • Ranger UserSync

      /etc/ranger/usersync/conf
    • Ranger Plugins:

      • Hadoop

        /etc/hadoop/conf
      • Hive

        /etc/hive/conf
      • HBase

        /etc/hbase/conf
      • Knox

        /etc/knox/conf
      • Storm

        /etc/storm/conf
  2. Backup the Ranger Policy and Audit databases. Make sure to take note of the following details in the install.properties file:

    • db_host

    • db_name

    • db_user

    • db_password

    • policy manager configuration

    • LDAP directory configuration

    • LDAP settings

    • LDAP AD domain

    • LDAP URL

      mysqldump -u root -p root xasecure > dest_dir/filename.sql
      mysqldump -u root -p root xasecure_audit > dest_dir/filename.sql