You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2024/10/14 08:29:00 UTC

[jira] [Updated] (PHOENIX-7423) End2EndTestDriver doesn't compile with latest hbase-thirdparty

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

Istvan Toth updated PHOENIX-7423:
---------------------------------
    Description: 
{noformat}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:testCompile (default-testCompile) on project phoenix-core: Compilation failure
[ERROR] /home/stoty/workspaces/apache-phoenix/phoenix/phoenix-core/src/it/java/org/apache/phoenix/end2end/End2EndTestDriver.java:[120,36] reference to getOptionValue is ambiguous
[ERROR]   both method getOptionValue(java.lang.String,java.lang.String) in org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine and method getOptionValue(java.lang.String,java.util.function.Supplier<java.lang.String>) in org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine match
{noformat}

The real problem is that this file uses the hbase-thirdparty commons-cli instead of the phoenix-thirdparty one.

  was:
{noformat}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:testCompile (default-testCompile) on project phoenix-core: Compilation failure
[ERROR] /home/stoty/workspaces/apache-phoenix/phoenix/phoenix-core/src/it/java/org/apache/phoenix/end2end/End2EndTestDriver.java:[120,36] reference to getOptionValue is ambiguous
[ERROR]   both method getOptionValue(java.lang.String,java.lang.String) in org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine and method getOptionValue(java.lang.String,java.util.function.Supplier<java.lang.String>) in org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine match
{noformat}



> End2EndTestDriver doesn't compile with latest hbase-thirdparty
> --------------------------------------------------------------
>
>                 Key: PHOENIX-7423
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7423
>             Project: Phoenix
>          Issue Type: Bug
>          Components: test
>            Reporter: Istvan Toth
>            Assignee: Istvan Toth
>            Priority: Blocker
>
> {noformat}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:testCompile (default-testCompile) on project phoenix-core: Compilation failure
> [ERROR] /home/stoty/workspaces/apache-phoenix/phoenix/phoenix-core/src/it/java/org/apache/phoenix/end2end/End2EndTestDriver.java:[120,36] reference to getOptionValue is ambiguous
> [ERROR]   both method getOptionValue(java.lang.String,java.lang.String) in org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine and method getOptionValue(java.lang.String,java.util.function.Supplier<java.lang.String>) in org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine match
> {noformat}
> The real problem is that this file uses the hbase-thirdparty commons-cli instead of the phoenix-thirdparty one.



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