Security Reference
Also available as:
loading table of contents...

Use Consolidated DB Schema Script to Reduce Ranger Install Time

You can reduce Ranger cluster setup time by setting up the database and Java patches before installing Ranger. This is accomplished by running the consolidated DB schema script.

This is an optional step you can take before running the Ranger install via Ambari to speed up the Ranger install.

  1. cd /usr/hdp/current/ranger-admin
  2. export JAVA_HOME=/usr/jdk64/jdk1.8.0_112
  3. Run vi and edit the following properties:

    e.g. mysql_core_file=db/mysql/optimized/current/ranger_core_db_mysql.sql

  4. From ranger-admin, run: ./
  5. Before running Ranger install via Ambari, install the ranger-admin package from console: yum install ranger_$VERSION-admin.x86_64
  6. -q
  7. python
  8. Via Ambari, run the Ranger install. During installation, turn off Setup Database and Database User and run Test Connection.