[ https://issues.apache.org/jira/browse/HBASE-13693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashutosh Jindal updated HBASE-13693: ------------------------------------ Attachment: HBASE-13693-hbase-11339-v3.patch Attached patch with updated testcase as suggested > [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)