Hello Michael,

        I got the point. Thank you so much.

Regards,
    Mohammad Tariq


On Thu, Aug 9, 2012 at 5:12 AM, Michael Segel <[email protected]> wrote:
> Hi,
>
> First you have to ask yourself what's the purpose of the encryption.
> Usually encryption is part of a bigger security implementation, so I don't 
> think you'll gain much by encrypting at this level of granularity.
>
> Looking at trying to encrypt at the HFile level....
>
> Unless I'm missing something, your HFIle will span multiple HDFS blocks. Each 
> HDFS block is actually a file, right?
> So what happens when you fetch a row from a file in a simple get()?
>
> You can see that you have a lot of work to do.
>
> Compare that to encrypting the column data itself.
> Storing and encrypted byte array vs an un-encrypted byte array isn't much 
> different.
>
>
> Does that make sense?
>
>
>
>
> On Aug 8, 2012, at 2:47 PM, Mohammad Tariq <[email protected]> wrote:
>
>> Hello Michael,
>>
>>       Thank you for the valuable suggestion. Could you please provide
>> me the the drawbacks of it?(Just out of curiosity).
>> Regards,
>>    Mohammad Tariq
>>
>>
>
>
>> On Wed, Aug 8, 2012 at 8:01 PM, Michael Segel <[email protected]> 
>> wrote:
>>> You don't want to do that.
>>> I mean you really don't want to do that. ;-)
>>>
>>> You would be better off doing a strong encryption at the cell level. You 
>>> can use co-processors to do that if you'd like.
>>>
>>> YMMV
>>>
>>> On Aug 8, 2012, at 9:17 AM, Mohammad Tariq <[email protected]> wrote:
>>>
>>>> Hello Stack,
>>>>
>>>>   Would it be feasible to encrypt the HFile itself??
>>>>
>>>> Regards,
>>>>   Mohammad Tariq
>>>>
>>>>
>>>> On Wed, Aug 8, 2012 at 6:53 PM, Jean-Marc Spaggiari
>>>> <[email protected]> wrote:
>>>>> Will it be possible to use the compression methods to call an
>>>>> encryption method instead?
>>>>>
>>>>> 2012/8/8, Farrokh Shahriari <[email protected]>:
>>>>>> Thanks
>>>>>> How can I encrypt a cell ? Is there a special way for encryption ?
>>>>>>
>>>>>> On Wed, Aug 8, 2012 at 3:24 PM, Stack <[email protected]> wrote:
>>>>>>
>>>>>>> On Tue, Aug 7, 2012 at 12:06 PM, Farrokh Shahriari
>>>>>>> <[email protected]> wrote:
>>>>>>>> Hi
>>>>>>>> How can I enable encryption on hbase ?
>>>>>>>> if I want to use encryption in a cluster with hbase running on top of
>>>>>>>> hadoop,what can I do? Can't hadoop be configured to automatically
>>>>>>>> encrypt
>>>>>>>> each file which is going to be written on it?
>>>>>>>>
>>>>>>>
>>>>>>> HBase does not provide this facility.  You'd have to encrypt cell
>>>>>>> content yourself and then put it into HBase.
>>>>>>>
>>>>>>> St.Ack
>>>>>>>
>>>>>>
>>>>
>>>
>>
>

Reply via email to