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

Sergey Soldatov commented on HBASE-19717:
-----------------------------------------

[~elserj] Not sure whether it's a good idea to add test only methods for that 
when we can manage that list in the test itself. At the moment it's supposed to 
work just fine with all values. But at any moment we may just specify the list 
of values something like:
{noformat}
        DataBlockEncoding[] possibleIds = {DataBlockEncoding.NONE, 
DataBlockEncoding.PREFIX,
                DataBlockEncoding.DIFF, DataBlockEncoding.FAST_DIFF, 
DataBlockEncoding.ROW_INDEX_V1};
        short id = possibleIds[RandomUtils.nextInt(0, 
possibleIds.length)].getId();
{noformat}


> IntegrationTestDDLMasterFailover is using outdated values for 
> DataBlockEncoding
> -------------------------------------------------------------------------------
>
>                 Key: HBASE-19717
>                 URL: https://issues.apache.org/jira/browse/HBASE-19717
>             Project: HBase
>          Issue Type: Bug
>          Components: integration tests
>    Affects Versions: 2.0.0-beta-1
>            Reporter: Romil Choksi
>            Assignee: Sergey Soldatov
>             Fix For: 2.0.0-beta-2
>
>         Attachments: HBASE-19717-add-branch-2.patch, 
> HBASE-19717-branch-2.patch
>
>
> We have removed PREFIX_TREE data block encoding, but 
> IntegrationTestDDLMasterFailover is still using it. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to