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

ramkrishna.s.vasudevan commented on HBASE-19971:
------------------------------------------------

The stack trace seems fine to me.
{code}
   createStoreFile(r);
    for (int i = 0; i < compactionThreshold; i++) {
      createStoreFile(r);
    }
    // Add more content.
    HBaseTestCase.addContent(new RegionAsTable(r), 
Bytes.toString(COLUMN_FAMILY));
{code}
We are adding some data and inturn it is creating some in memory flushes and 
that is where this  problem is. IMHO we need to investigate to see if there is 
any real issue or a test case issue only. 

> TestMajorCompaction#testDataBlockEncodingInCacheOnly sometimes fails with 
> IllegalArgumentException
> --------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-19971
>                 URL: https://issues.apache.org/jira/browse/HBASE-19971
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Major
>         Attachments: 19971.v1.txt, testDataBlockEncodingInCacheOnly.out
>
>
> From 
> https://builds.apache.org/job/HBASE-Flaky-Tests/25784/testReport/junit/org.apache.hadoop.hbase.regionserver/TestMajorCompaction/testDataBlockEncodingInCacheOnly_2_/
>  :
> {code}
> java.io.IOException: java.lang.IllegalArgumentException: In CellChunkMap, 
> cell must be associated with chunk.. We were looking for a cell at index 0
>       at 
> org.apache.hadoop.hbase.regionserver.TestMajorCompaction.majorCompaction(TestMajorCompaction.java:206)
>       at 
> org.apache.hadoop.hbase.regionserver.TestMajorCompaction.majorCompactionWithDataBlockEncoding(TestMajorCompaction.java:186)
>       at 
> org.apache.hadoop.hbase.regionserver.TestMajorCompaction.testDataBlockEncodingInCacheOnly(TestMajorCompaction.java:166)
> Caused by: java.lang.IllegalArgumentException: In CellChunkMap, cell must be 
> associated with chunk.. We were looking for a cell at index 0
>       at 
> org.apache.hadoop.hbase.regionserver.TestMajorCompaction.majorCompaction(TestMajorCompaction.java:206)
>       at 
> org.apache.hadoop.hbase.regionserver.TestMajorCompaction.majorCompactionWithDataBlockEncoding(TestMajorCompaction.java:186)
>       at 
> org.apache.hadoop.hbase.regionserver.TestMajorCompaction.testDataBlockEncodingInCacheOnly(TestMajorCompaction.java:166)
> {code}
> From the index of the test, EAGER policy was used.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to