Support Questions

Find answers, ask questions, and share your expertise

import script import-hive.sh

Hello,

I would like to populate metadata from hive to atlas and would like to run the following script to run. Do I need to use any specific ID to run this script? Do I need to run as hive?

3 REPLIES 3

Mentor

@Anpan K

No you don't because the permission is 0755, to be able to run this script successfully it requires hadoop and hive classpath jars to be in place.

Here is an HCC document for reference import-hive.sh

HTH

@Anpan K Depending on your security authorization settings you may need to use specific id/principal such hive otherwise it will fail due authorization issues. If environment is kerberized I believe you need to kinit before running it.

HTH

Thank you very much both of you. Yes, script is executable and I can run the script. Yes, I am talking about the permission to read and write access between Atlas and Hive. If the environment is kerberoized I can do kinit and get the ticket number. Does it mean any user who gets ticket can run the import script?

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.