hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Capriolo <edlinuxg...@gmail.com>
Subject Re: Protecting hive-site.xml and hive-defaults.xml
Date Tue, 07 Dec 2010 15:57:19 GMT
On Tue, Dec 7, 2010 at 3:20 AM, Rakesh Davanum <rakeshdav@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

Mime
View raw message