Support Questions
Find answers, ask questions, and share your expertise

Access from remote server to hive box in a knox environment.

Access from remote server to hive box in a knox environment.

Explorer

We have a script in our remote Application Development server where it will copy data from hive to the remote servers.Now We are implementing knox in our environment .So Is it required to have a user that can fetch the data from Hive server that needs to be put in the script.And how that will work and in OU we should add that user?Please explain.

1 REPLY 1

Re: Access from remote server to hive box in a knox environment.

Guru

Hello @Prasad Tv,

When you configure Knox in front of Hive, then Knox will take care of the user authentication. Meaning, you'll need to provide Username and password to Knox while connecting to Hive. Depending upon the client you are using in your script (beeline or curl), the way to provide username / password would change.

For beeline, you can provide this at command line "-n <username> -p <password>". For curl, you'll need to use "-u <username>:<password>".

Hope this helps.