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

Csaba Ringhofer commented on IMPALA-9491:
-----------------------------------------

I think that our current solution is potentially flaky by design:
a maven-metadata.xml's <updated> element is based on the timestamp of the 
build, not the the timestamp of the last change in the repo. This means that if 
there is a newer build for an older version of kudu-client, the mvn will prefer 
it over the newer version.

Another issue I saw is that there is actually no maven-metadata.xml in the 
repository in the toolchain. Shouldn't we add the maven-metadata.xml + the 
checksums there?

> 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