You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2024/06/17 14:36:00 UTC

[jira] [Commented] (PHOENIX-7331) Fix incompatibilities with HBASE-28644

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

Duo Zhang commented on PHOENIX-7331:
------------------------------------

Out of interest, does phoenix has its own implementation for Cell, which is not an ExtendedCell?

> Fix incompatibilities with HBASE-28644
> --------------------------------------
>
>                 Key: PHOENIX-7331
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7331
>             Project: Phoenix
>          Issue Type: Bug
>          Components: core
>            Reporter: Istvan Toth
>            Priority: Critical
>
> These are the errors:
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project phoenix-core-client: Compilation failure: Compilation failure:
> [ERROR] /home/stoty/workspaces/apache-phoenix/phoenix/phoenix-core-client/src/main/java/org/apache/phoenix/util/PhoenixKeyValueUtil.java:[262,93] incompatible types: java.util.List<org.apache.hadoop.hbase.Cell> cannot be converted to java.util.List<org.apache.hadoop.hbase.ExtendedCell>
> [ERROR] /home/stoty/workspaces/apache-phoenix/phoenix/phoenix-core-client/src/main/java/org/apache/phoenix/hbase/index/util/IndexManagementUtil.java:[248,69] incompatible types: java.util.List<org.apache.hadoop.hbase.Cell> cannot be converted to java.util.List<org.apache.hadoop.hbase.ExtendedCell>
> In IndexManagementUtil we can simply change the signature to cell.
> In PhoenixKeyValueUtil , we need to check for ExtendedCell, and clone it if it is not.
> I'm pretty sure that there is already a utility method somewhere for this.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)