hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hsieh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13693) [HBase MOB] Mob files are not encrypting.
Date Wed, 20 May 2015 06:02:00 GMT

    [ https://issues.apache.org/jira/browse/HBASE-13693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14551874#comment-14551874
] 

Jonathan Hsieh commented on HBASE-13693:
----------------------------------------

If there is more to be added, let's file another jira to follow up and to add testing for
it.  

> [HBase MOB] Mob files are not encrypting.
> -----------------------------------------
>
>                 Key: HBASE-13693
>                 URL: https://issues.apache.org/jira/browse/HBASE-13693
>             Project: HBase
>          Issue Type: Bug
>          Components: mob
>    Affects Versions: hbase-11339
>            Reporter: Y. SREENIVASULU REDDY
>            Assignee: Ashutosh Jindal
>             Fix For: hbase-11339
>
>         Attachments: HBASE-13693-hbase-11339-v2.patch, HBASE-13693-hbase-11339-v3.patch,
HBASE-13693-hbase-11339.patch
>
>
> Mob HFiles are not encrypting.
> steps to reproduce:
> ===============
> 1.create a table and for column family with mob enabled and enable AES encryption for
the column family.
> 2. Insert mob data into the table.
> 3. Flush the mob table.
> 4. check hfiles for mob data is created or not.
> 5. check hfiles in hdfs is encrypted or not using hfile tool.
> {code}
> hfile tool output for mob reference hfile meta
> Block index size as per heapsize: 392
> reader=/hbase/data/default/mobTest/1587e00c3e257969c48d9872994ce57c/mobcf/8c33ab9e8201449e9ac709eb9e4263d6,
> Trailer:
>     fileinfoOffset=527,
>     loadOnOpenDataOffset=353,
>     dataIndexCount=1,
>     metaIndexCount=0,
>     totalUncomressedBytes=5941,
>     entryCount=9,
>     compressionCodec=GZ,
>     uncompressedDataIndexSize=34,
>     numDataIndexLevels=1,
>     firstDataBlockOffset=0,
>     lastDataBlockOffset=0,
>     comparatorClassName=org.apache.hadoop.hbase.KeyValue$KeyComparator,
>     encryptionKey=PRESENT,
>     majorVersion=3,
>     minorVersion=0
> {code}
> {code}
> hfile tool output for mob hfile meta
> Block index size as per heapsize: 872
> reader=/hbase/mobdir/data/default/mobTest/46844d8b9f699e175a4d7bd57848c576/mobcf/d41d8cd98f00b204e9800998ecf8427e20150512bf18fa62a98c40d7bd6e810f790c6291,
> Trailer:
>     fileinfoOffset=1018180,
>     loadOnOpenDataOffset=1017959,
>     dataIndexCount=9,
>     metaIndexCount=0,
>     totalUncomressedBytes=1552619,
>     entryCount=9,
>     compressionCodec=GZ,
>     uncompressedDataIndexSize=266,
>     numDataIndexLevels=1,
>     firstDataBlockOffset=0,
>     lastDataBlockOffset=904852,
>     comparatorClassName=org.apache.hadoop.hbase.KeyValue$KeyComparator,
>     encryptionKey=NONE,
>     majorVersion=3,
>     minorVersion=0
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message