[ 
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.4.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
>              Labels: pull-request-available
>         Attachments: HIVE-21975.1.patch, HIVE-21975.2.patch, 
> HIVE-21975.3.patch, HIVE-21975.4.patch, HIVE-21975.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to