[
https://issues.apache.org/jira/browse/IMPALA-13417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18018123#comment-18018123
]
ASF subversion and git services commented on IMPALA-13417:
----------------------------------------------------------
Commit db92c88a4cd4e5cad993e213685f4e980b6d7cc1 in impala's branch
refs/heads/master from Michael Smith
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=db92c88a4 ]
IMPALA-13417: Run mvn clean on all Java projects
Runs mvn clean on all Java subprojects - instead of just ext-data-source
- to avoid build failures when files from other versions of the code and
dependencies are left behind.
Change-Id: I8cf540f90adbff327de98f900059bfa3bbc8ef22
Reviewed-on: http://gerrit.cloudera.org:8080/23374
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> Calcite parser generated files are not getting cleaned properly
> ---------------------------------------------------------------
>
> Key: IMPALA-13417
> URL: https://issues.apache.org/jira/browse/IMPALA-13417
> Project: IMPALA
> Issue Type: Bug
> Components: Frontend, Infrastructure
> Affects Versions: Impala 4.5.0
> Reporter: Joe McDonnell
> Assignee: Michael Smith
> Priority: Major
>
> When switching back and forth from reviewing a Calcite change that touched
> the parser, etc. I got build failures when I switched back to regular Impala
> master branch:
> {noformat}
> 13:34:29 [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile
> (default-compile) on project calcite-planner: Compilation failure:
> Compilation failure:
> 13:34:29 [ERROR]
> /home/joemcdonnell/upstream/Impala/java/calcite-planner/target/generated-sources/annotations/org/apache/calcite/rel/rules/ImmutableImpalaMinusToDistinctRule.java:[16,28]
> package org.immutables.value does not exist
> 13:34:29 [ERROR]
> /home/joemcdonnell/upstream/Impala/java/calcite-planner/target/generated-sources/annotations/org/apache/calcite/rel/rules/ImmutableImpalaMinusToDistinctRule.java:[23,2]
> cannot find symbol
> 13:34:29 [ERROR] symbol: class Generated
> 13:34:29 [ERROR]
> /home/joemcdonnell/upstream/Impala/java/calcite-planner/target/generated-sources/annotations/org/apache/calcite/rel/rules/ImmutableImpalaMinusToDistinctRule.java:[41,65]
> package ImpalaMinusToDistinctRule does not exist
> 13:34:29 [ERROR]
> /home/joemcdonnell/upstream/Impala/java/calcite-planner/target/generated-sources/annotations/org/apache/calcite/rel/rules/ImmutableImpalaMinusToDistinctRule.java:[38,4]
> cannot find symbol
> 13:34:29 [ERROR] symbol: class Generated
> 13:34:29 [ERROR] location: class
> org.apache.calcite.rel.rules.ImmutableImpalaMinusToDistinctRule
> 13:34:29 [ERROR]
> /home/joemcdonnell/upstream/Impala/java/calcite-planner/target/generated-sources/annotations/org/apache/calcite/rel/rules/ImmutableImpalaMinusToDistinctRule.java:[297,6]
> cannot find symbol
> 13:34:29 [ERROR] symbol: class Generated
> 13:34:29 [ERROR] location: class
> org.apache.calcite.rel.rules.ImmutableImpalaMinusToDistinctRule.Config
> 13:34:29 [ERROR]
> /home/joemcdonnell/upstream/Impala/java/calcite-planner/target/generated-sources/annotations/org/apache/calcite/rel/rules/ImmutableImpalaMinusToDistinctRule.java:[82,6]
> cannot find symbol
> 13:34:29 [ERROR] symbol: class Generated
> 13:34:29 [ERROR] location: class
> org.apache.calcite.rel.rules.ImmutableImpalaMinusToDistinctRule.Config
> 13:34:29 [ERROR]
> /home/joemcdonnell/upstream/Impala/java/calcite-planner/target/generated-sources/annotations/org/apache/calcite/rel/rules/ImmutableImpalaMinusToDistinctRule.java:[266,93]
> package ImpalaMinusToDistinctRule does not exist
> 13:34:29 [ERROR]
> /home/joemcdonnell/upstream/Impala/java/calcite-planner/target/generated-sources/annotations/org/apache/calcite/rel/rules/ImmutableImpalaMinusToDistinctRule.java:[325,58]
> package ImpalaMinusToDistinctRule does not exist{noformat}
> It seems like the generated code is not getting updated when I switched to a
> different branch, so it is referencing classes that don't exist. Maybe
> bin/clean.sh needs to be modified to remove those files so a clean build can
> get the new ones.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]