phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ankit Singhal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PHOENIX-4376) Fix all compilation error for package org.apache.phoenix.schema.stats and org.apache.phoenix.coprocessor
Date Tue, 14 Nov 2017 10:20:00 GMT
Ankit Singhal created PHOENIX-4376:
--------------------------------------

             Summary: 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
             Fix For: 5.0.0


-- 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)

Mime
View raw message