On Tue, Dec 7, 2010 at 3:20 AM, Rakesh Davanum <rakesh...@gmail.com> wrote:
> Hi,
> I have a question regarding securing the hive configuration files. The
> hive-site.xml has credentials to connect to the mysql server. I will have
> many users who would like to use Hive from the CLI. But I do not want them
> to be able to see the configurations.
> 1) Is there any way I can secure the configurations?
> 2) Can I encode the password and will Hive be able to read the encoded
> password?
> Thanks & Regards,
> Rakesh

Rakesh,

Hive needs read access to this file. You *could run a hive metastore
server which would hide the mysql password from them, but that brings
you another component to manage. You can not really cipher it because
it has to be reversible.

Encoding would not be a bad idea, but not much more secure either.

Edward

Reply via email to