Versions Compared

Key

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

...

  • Change the install.properties file
PROPERIY
PROPERTYVALUEDESCRIPTION
POLICY_MGR_URLhttp://localhost:6080Pull the address of the sqoop2 policy
REPOSITORY_NAMEsqoopdevsqoop2 service name
COMPONENT_INSTALL_DIR_NAME/opt/sqoop/sqoop-1.99.7-bin-hadoop200sqoop2 component installed directory
XAAUDIT.SOLR.ENABLEtrue

Whether to save the audit log

true: save the audit log

false: do not save the audit log

XAAUDIT.SOLR.URLhttp://localhost:8983/solr/ranger_auditsThe address of the audit log
CUSTOM_USERsqoop2The user of installing the kylin component
CUSTOM_GROUPsqoop2The 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

...