You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Steve Carlin (Jira)" <ji...@apache.org> on 2019/09/19 17:32:00 UTC
[jira] [Updated] (HIVE-21975) Fix incremental compilation
[ https://issues.apache.org/jira/browse/HIVE-21975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Carlin updated HIVE-21975:
--------------------------------
Attachment: HIVE-21975.patch
> Fix incremental compilation
> ---------------------------
>
> Key: HIVE-21975
> URL: https://issues.apache.org/jira/browse/HIVE-21975
> Project: Hive
> Issue Type: Bug
> Reporter: Zoltan Haindrich
> Assignee: Steve Carlin
> Priority: Major
> Attachments: HIVE-21975.patch
>
>
> we have an incremental compilation issue around SA ; mostly because of "? extends Serializable"
> it could be reproduced with:
> {code}
> git clean -dfx
> mvn install -pl ql -am -DskipTests
> touch `find . -name Sema*A*java` `find . -name Task*Factory.java`
> mvn install -pl ql -DskipTests
> {code}
> error is:
> {code}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project hive-exec: Compilation failure: Compilation failure:
> [ERROR] /mnt/work/hwx/hive/master/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java:[12573,60] incompatible types: java.util.List<org.apache.hadoop.hive.ql.exec.Task<? extends java.io.Serializable>> cannot be converted to java.util.List<org.apache.hadoop.hive.ql.exec.Task<?>>
> [ERROR] /mnt/work/hwx/hive/master/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java:[15187,49] incompatible types: java.util.List<org.apache.hadoop.hive.ql.exec.Task<?>> cannot be converted to java.util.List<org.apache.hadoop.hive.ql.exec.Task<? extends java.io.Serializable>>
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)