You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Ankit Singhal (JIRA)" <ji...@apache.org> on 2017/11/15 06:00:02 UTC

[jira] [Resolved] (PHOENIX-4376) Fix all compilation error for package org.apache.phoenix.schema.stats and org.apache.phoenix.coprocessor

     [ https://issues.apache.org/jira/browse/PHOENIX-4376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ankit Singhal resolved PHOENIX-4376.
------------------------------------
    Resolution: Fixed

> Fix all compilation error for package org.apache.phoenix.schema.stats and org.apache.phoenix.coprocessor
> --------------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-4376
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4376
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: Ankit Singhal
>            Assignee: Ankit Singhal
>              Labels: HBase-2.0
>             Fix For: 5.0.0
>
>         Attachments: PHOENIX-4376.patch
>
>
> -- It includes updating the coprocessor hook with right definition.
> -- Changing HRegionInfo to RegionInfo.
> -- Cell related changes.
> Like 
> {code}
> -        byte[] viewConstant = viewConstantKv == null ? null : viewConstantKv.getValue();
> +        byte[] viewConstant = viewConstantKv == null ? null : CellUtil.cloneValue(viewConstantKv);
> -                    Cell viewStatementCell = new KeyValue(cell.getRow(), cell.getFamily(), VIEW_STATEMENT_BYTES,
> +                    Cell viewStatementCell = new KeyValue(CellUtil.cloneRow(cell), CellUtil.cloneFamily(cell), VIEW_STATEMENT_BYTES,
> {code}
> -- Update scan 
> {code}
> -            scan.setStartRow(HConstants.EMPTY_START_ROW);
> -            scan.setStopRow(HConstants.EMPTY_END_ROW);
> +            scan.withStartRow(HConstants.EMPTY_START_ROW);
> +            scan.withStopRow(HConstants.EMPTY_END_ROW);
> {code}
> -- preSplit hook needs to be removed and fixed in PHOENIX-4352.
> -- Requires a separate fix of PHOENIX-4277 and PHOENIX-3081 for HBase 2.0



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