commit | 89963fbefa753281060ef34327ef0a1305e93089 | [log] [tgz] |
---|---|---|
author | Radhika Kundam <radhika.kundam@gmail.com> | Fri Nov 08 12:04:46 2024 -0800 |
committer | Ramesh Mani <rmani@apache.org> | Wed Nov 20 13:04:20 2024 -0800 |
tree | e5ea0bd115da0a148eeba6cf3a0013e68cdf0a3d | |
parent | 3efbbc7821d733d4639202a6035fbc2dd43f0d86 [diff] |
RANGER-4989: DB patch fix for add_validity_schedule_labels_keywords_in_x_gds_dataset in mysql Signed-off-by: Ramesh Mani <rmani@apache.org>
Apache Ranger allows contributions via pull requests (PRs) on GitHub.
Alternatively, use this to submit changes for review using the Review Board. Also create a ranger jira to go along with the review and mention it in the review board review.
Ranger is built using Apache Maven. To run Ranger:
Check out the code from GIT repository
Ensure that docker & docker-compose is installed and running on your system.
Ensure that JDK 1.8+ is installed on your system.
Ensure that Apache Maven is installed on your system.
Run the following command to build & run Ranger from Docker
./ranger_in_docker up
After successful completion of the above command, you should be able to view Ranger Admin Console by using URL:
http://<hostname-of-system>:6080/ UserName: admin Password: rangerR0cks!
Check out the code from GIT repository
On the root folder, please execute the following Maven command:
mvn clean compile package install
mvn eclipse:eclipse
Ranger Admin UI tests depend on PhantomJS. If the build fails with npm or Karma errors you can either:
After the above build command execution, you should see the following TAR files in the target folder:
ranger-<version>-admin.tar.gz ranger-<version>-atlas-plugin.tar.gz ranger-<version>-hbase-plugin.tar.gz ranger-<version>-hdfs-plugin.tar.gz ranger-<version>-hive-plugin.tar.gz ranger-<version>-kafka-plugin.tar.gz ranger-<version>-kms.tar.gz ranger-<version>-knox-plugin.tar.gz ranger-<version>-migration-util.tar.gz ranger-<version>-ranger-tools.tar.gz ranger-<version>-solr-plugin.tar.gz ranger-<version>-sqoop-plugin.tar.gz ranger-<version>-src.tar.gz ranger-<version>-storm-plugin.tar.gz ranger-<version>-tagsync.tar.gz ranger-<version>-usersync.tar.gz ranger-<version>-yarn-plugin.tar.gz ranger-<version>-kylin-plugin.tar.gz ranger-<version>-elasticsearch-plugin.tar.gz
Create an Eclipse workspace called ‘ranger’
Import maven project from the root directory where ranger source code is downloaded (and build)
Download the tar.gz file into a temporary folder in the box where it needs to be installed.
Expand the tar.gz file into /usr/lib/ranger/ folder
Go to the component name under the expanded folder (e.g. /usr/lib/ranger/ranger--admin/)
Modify the install.properties file with appropriate variables