Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Once you have latest Apache Ranger on your system, you can start the setup of Apache Ranger using the by following commandcommands below:

Code Block
languagebash
firstline1
titleRunning Apache Ranger - in few minutes ...
linenumberstrue
cd ${HOME}/git/ranger
# Enable only necessary services to be run along with CORE ranger services
export ENABLED_RANGER_SERVICES="tagsync,hadoop,hbase,kafka,hive,knox,kms" 
# Execute this command to bring the services up (after successful build if it is not already build)
./ranger_in_docker up

The above command commands should build the Apache Ranger from the source and creates necessary Docker Containers to run them in Docker. First time startup may take approx. 10 minutes to build all necessary docker container(s) and sub-sequent startup will take less than a two minute. Once the process completes successfully, you should be able to login into Apache Ranger UI using http://{hostname_of_docker}:6080 with appropriate credential displayed on the screen.

Image Added

As specified in the ENABLED_RANGER_SERVICES variables, additional services are also created as docker containers and runs with ranger plugin(s) installed and configured to work with the Ranger instance. You can login into these services (e.g.: Apache Hive Service)  and execute appropriate  (e.g.: Hive SQL) commands to see how Apache Ranger is enforcing your Authorization Policies and also, creates necessary audit records to provide an Enterprise Data Governance Framework.

...