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

Joe McDonnell edited comment on IMPALA-9491 at 3/13/20, 11:52 PM:
------------------------------------------------------------------

One option may be to specify a custom version when building Kudu (i.e. not a 
SNAPSHOT). It looks like Kudu gets its version from the version.txt file in its 
repo. If each toolchain build had a different version with different jar names, 
this wouldn't be a problem.

For example, we might do a search and replace in version.txt for SNAPSHOT and 
put in the githash we are building. Then we would update 
IMPALA_KUDU_JAVA_VERSION to include it:

[https://github.com/apache/impala/blob/master/bin/impala-config.sh#L727]

I'm not sure what complications that would introduce.


was (Author: joemcdonnell):
One option may be to specify a custom version when building Kudu (i.e. not a 
SNAPSHOT). It looks like Kudu gets its version from the version.txt file in its 
repo. If each toolchain build had a different version with different jar names, 
this wouldn't be a problem.

For example, we might do a search and replace in version.txt for SNAPSHOT and 
put in the githash we are building. Then we would update 
IMPALA_KUDU_JAVA_VERSION to include it:

[https://github.com/apache/impala/blob/master/bin/impala-config.sh#L727]

> Compilation failure in KuduUtil.java
> ------------------------------------
>
>                 Key: IMPALA-9491
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9491
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>            Reporter: David Rorke
>            Assignee: Csaba Ringhofer
>            Priority: Blocker
>              Labels: broken-build
>
> Build is failing with the following:
> {noformat}
> 12:40:33 [INFO] BUILD FAILURE
> 12:40:33 [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) 
> on project impala-frontend: Compilation failure: Compilation failure:
> 12:40:33 [ERROR] 
> /data0/jenkins/workspace/impala-asf-master-core/repos/Impala/fe/src/main/java/org/apache/impala/util/KuduUtil.java:[181,12]
>  an enum switch case label must be the unqualified name of an enumeration 
> constant
> 12:40:33 [ERROR] 
> /data0/jenkins/workspace/impala-asf-master-core/repos/Impala/fe/src/main/java/org/apache/impala/util/KuduUtil.java:[183,12]
>  cannot find symbol
> 12:40:33 [ERROR] symbol:   method addDate(int,java.sql.Date)
> 12:40:33 [ERROR] location: variable key of type 
> org.apache.kudu.client.PartialRow
> 12:40:33 [ERROR] 
> /data0/jenkins/workspace/impala-asf-master-core/repos/Impala/fe/src/main/java/org/apache/impala/util/KuduUtil.java:[239,12]
>  an enum switch case label must be the unqualified name of an enumeration 
> constant
> 12:40:33 [ERROR] 
> /data0/jenkins/workspace/impala-asf-master-core/repos/Impala/fe/src/main/java/org/apache/impala/util/KuduUtil.java:[442,45]
>  cannot find symbol
> 12:40:33 [ERROR] symbol:   variable DATE
> 12:40:33 [ERROR] location: class org.apache.kudu.Type
> 12:40:33 [ERROR] 
> /data0/jenkins/workspace/impala-asf-master-core/repos/Impala/fe/src/main/java/org/apache/impala/util/KuduUtil.java:[468,12]
>  an enum switch case label must be the unqualified name of an enumeration 
> constant
> {noformat}
> Likely related to this change:  https://gerrit.cloudera.org/#/c/14705/



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to