You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by Farrokh Shahriari <mo...@gmail.com> on 2012/09/05 06:52:46 UTC

why hbase doesn't provide Encryption

Hello
I just wanna know why hbase doesn't provide Encryption ?

Tnx

Re: why hbase doesn't provide Encryption

Posted by Stack <st...@duboce.net>.
On Tue, Sep 4, 2012 at 9:52 PM, Farrokh Shahriari
<mo...@gmail.com> wrote:
> Hello
> I just wanna know why hbase doesn't provide Encryption ?
>

Please be more specific.  You want us to encrypt each cell for you
automatically.  How would you suggest it work in a generic way?
Thanks,
St.Ack

Re: why hbase doesn't provide Encryption

Posted by Stack <st...@duboce.net>.
On Wed, Sep 5, 2012 at 11:16 PM, Farrokh Shahriari
<mo...@gmail.com> wrote:
> Tnx Stack for giving your time to me.
>
No problem.
St.Ack

Re: why hbase doesn't provide Encryption

Posted by Farrokh Shahriari <mo...@gmail.com>.
Tnx Stack for giving your time to me.

M.Zebeleh

On Thu, Sep 6, 2012 at 10:06 AM, Stack <st...@duboce.net> wrote:

> On Wed, Sep 5, 2012 at 10:31 PM, Farrokh Shahriari
> <mo...@gmail.com> wrote:
> > .... But it doesn't have any
> > performance,I mean for each row it should encrypt/decrypt the cell,so
> for a
> > query that has a lot of rows ,it will take a long time.
>
> How else would you see it working? (We can't do a row at a time given
> our architecture)
>
> > my question is this,why hbase doesn't have any option for that ( in hbase
> > shell like compression method ),for example like other relational
> > databases(sqlserver,.. ),is there any reason for that ?
> >
>
> No reason.  No one has really asked for it in the past, or more
> importantly, no one has posted a patch that provides it.
>
> St.Ack
>

Re: why hbase doesn't provide Encryption

Posted by Stack <st...@duboce.net>.
On Wed, Sep 5, 2012 at 10:31 PM, Farrokh Shahriari
<mo...@gmail.com> wrote:
> .... But it doesn't have any
> performance,I mean for each row it should encrypt/decrypt the cell,so for a
> query that has a lot of rows ,it will take a long time.

How else would you see it working? (We can't do a row at a time given
our architecture)

> my question is this,why hbase doesn't have any option for that ( in hbase
> shell like compression method ),for example like other relational
> databases(sqlserver,.. ),is there any reason for that ?
>

No reason.  No one has really asked for it in the past, or more
importantly, no one has posted a patch that provides it.

St.Ack

Re: why hbase doesn't provide Encryption

Posted by Farrokh Shahriari <mo...@gmail.com>.
Hi there
I want encryption before pushing data into hbase,and I've done it by
changing in some library to encrypt data.But it doesn't have any
performance,I mean for each row it should encrypt/decrypt the cell,so for a
query that has a lot of rows ,it will take a long time.
my question is this,why hbase doesn't have any option for that ( in hbase
shell like compression method ),for example like other relational
databases(sqlserver,.. ),is there any reason for that ?
 Thanks you guys


On Thu, Sep 6, 2012 at 2:23 AM, Julian Wissmann <ju...@sdace.de>wrote:

> What problem are you trying to solve? Do you want encryption between
> server and client, between servers or encryption of data within Hbase? You
> need to be more specific.
>
> If one of the first two is what you want: This kind of stuff can easily be
> achieved with stunnel or OpenVPN and can probably be considered a very
> esoteric requirement, as there are probably not many Hbase users out there,
> who have a cluster running across machines that are exposed to open
> networks.
> If you are looking for the latter, imo the correct way to do it would be
> encrypting data _before_ pushing it into the database. Java actually
> provides an excellent crypto framework for doing such things.
>
>
> 2012/9/5 Farrokh Shahriari <mo...@gmail.com>
>
>> Hello
>> I just wanna know why hbase doesn't provide Encryption ?
>>
>> Tnx
>>
>
>

Re: why hbase doesn't provide Encryption

Posted by Julian Wissmann <ju...@sdace.de>.
What problem are you trying to solve? Do you want encryption between server
and client, between servers or encryption of data within Hbase? You need to
be more specific.

If one of the first two is what you want: This kind of stuff can easily be
achieved with stunnel or OpenVPN and can probably be considered a very
esoteric requirement, as there are probably not many Hbase users out there,
who have a cluster running across machines that are exposed to open
networks.
If you are looking for the latter, imo the correct way to do it would be
encrypting data _before_ pushing it into the database. Java actually
provides an excellent crypto framework for doing such things.

2012/9/5 Farrokh Shahriari <mo...@gmail.com>

> Hello
> I just wanna know why hbase doesn't provide Encryption ?
>
> Tnx
>

Re: why hbase doesn't provide Encryption

Posted by Stack <st...@duboce.net>.
On Tue, Sep 4, 2012 at 9:52 PM, Farrokh Shahriari
<mo...@gmail.com> wrote:
> Hello
> I just wanna know why hbase doesn't provide Encryption ?
>

Please be more specific.  You want us to encrypt each cell for you
automatically.  How would you suggest it work in a generic way?
Thanks,
St.Ack

Re: why hbase doesn't provide Encryption

Posted by Stack <st...@duboce.net>.
On Tue, Sep 4, 2012 at 9:52 PM, Farrokh Shahriari
<mo...@gmail.com> wrote:
> Hello
> I just wanna know why hbase doesn't provide Encryption ?
>

Please be more specific.  You want us to encrypt each cell for you
automatically.  How would you suggest it work in a generic way?
Thanks,
St.Ack

Re: why hbase doesn't provide Encryption

Posted by Stack <st...@duboce.net>.
On Tue, Sep 4, 2012 at 9:52 PM, Farrokh Shahriari
<mo...@gmail.com> wrote:
> Hello
> I just wanna know why hbase doesn't provide Encryption ?
>

Please be more specific.  You want us to encrypt each cell for you
automatically.  How would you suggest it work in a generic way?
Thanks,
St.Ack