THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Change the install.properties file
PROPERIY
PROPERTY | VALUE | DESCRIPTION |
---|---|---|
POLICY_MGR_URL | http://localhost:6080 | Pull the address of the sqoop2 policy |
REPOSITORY_NAME | sqoopdev | sqoop2 service name |
COMPONENT_INSTALL_DIR_NAME | /opt/sqoop/sqoop-1.99.7-bin-hadoop200 | sqoop2 component installed directory |
XAAUDIT.SOLR.ENABLE | true | Whether to save the audit log true: save the audit log false: do not save the audit log |
XAAUDIT.SOLR.URL | http://localhost:8983/solr/ranger_audits | The address of the audit log |
CUSTOM_USER | sqoop2 | The user of installing the kylin component |
CUSTOM_GROUP | sqoop2 | The user group of installing the kylin component |
c. Now enable the sqoop2-plugin by running the enable-sqoop-plugin.sh command using root user (Remember to set JAVA_HOME before running the command)
Code Block |
---|
cd /usr/local/enable-sqoop-plugin ./enable-sqoop-plugin |
d.Restart apache kylinsqoop2
e. Restart apache ranger.
Code Block |
---|
sudo ranger-admin restart |
f.Verify install result
- Check whether the kylinthesqoop_kylindevsqoopdev.json file exists under the /etc/ranger/kylindev/policycache pathdirectory.
- Check the kylin sqoop2 plugin status on the Plugins tab page of the Audit function on the Ranger Web page
...