Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-4338 Move to HBase-2.0
  3. PHOENIX-4376

Fix all compilation error for package org.apache.phoenix.schema.stats and org.apache.phoenix.coprocessor

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0-alpha
    • None

    Description

      – It includes updating the coprocessor hook with right definition.
      – Changing HRegionInfo to RegionInfo.
      – Cell related changes.
      Like

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

      – Update scan

      -            scan.setStartRow(HConstants.EMPTY_START_ROW);
      -            scan.setStopRow(HConstants.EMPTY_END_ROW);
      +            scan.withStartRow(HConstants.EMPTY_START_ROW);
      +            scan.withStopRow(HConstants.EMPTY_END_ROW);
      

      – 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

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ankit@apache.org Ankit Singhal
            ankit@apache.org Ankit Singhal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment