You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/09/24 16:43:00 UTC

[jira] [Work logged] (HIVE-21975) Fix incremental compilation

     [ https://issues.apache.org/jira/browse/HIVE-21975?focusedWorklogId=317642&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-317642 ]

ASF GitHub Bot logged work on HIVE-21975:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Sep/19 16:42
            Start Date: 24/Sep/19 16:42
    Worklog Time Spent: 10m 
      Work Description: scarlin-cloudera commented on pull request #786: HIVE-21975: Fixed incremental compilation.
URL: https://github.com/apache/hive/pull/786
 
 
   When compiling files one by one, a compile error was produced
   when assigning a Task<? extends Serializable> to a Task<?>.
   This checkin fixes the compile error (related to HIVE-20008).
   
   Sidenote: Even though most of the calls are more generalized,
   the "extends Serialiable" clause is left in a few key places
   to ensure that the Task object is always instantiated with a
   serializable parameter.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 317642)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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.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)