You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2015/09/15 01:30:47 UTC

[jira] [Created] (HIVE-11821) JDK8 strict build broken for master

Gopal V created HIVE-11821:
------------------------------

             Summary: JDK8 strict build broken for master 
                 Key: HIVE-11821
                 URL: https://issues.apache.org/jira/browse/HIVE-11821
             Project: Hive
          Issue Type: Bug
          Components: Physical Optimizer
            Reporter: Gopal V


JDK8 is stricter with generics than JDK7 build infra (JDK7 is EOL)

{code}
[ERROR] /Users/gvijayaraghavan/hw/hive/ql/src/java/org/apache/hadoop/hive/ql/optimizer/ConvertJoinMapJoin.java:[354,24] no suitable method found for findOperatorsUpstream(java.util.List<org.apache.hadoop.hive.ql.exec.Operator<? extends org.apache.hadoop.hive.ql.plan.OperatorDesc>>,java.lang.Class<org.apache.hadoop.hive.ql.exec.ReduceSinkOperator>)
    method org.apache.hadoop.hive.ql.exec.OperatorUtils.<T>findOperatorsUpstream(org.apache.hadoop.hive.ql.exec.Operator<?>,java.lang.Class<T>) is not applicable
      (cannot infer type-variable(s) T
        (argument mismatch; java.util.List<org.apache.hadoop.hive.ql.exec.Operator<? extends org.apache.hadoop.hive.ql.plan.OperatorDesc>> cannot be converted to org.apache.hadoop.hive.ql.exec.Operator<?>))
    method org.apache.hadoop.hive.ql.exec.OperatorUtils.<T>findOperatorsUpstream(java.util.Collection<org.apache.hadoop.hive.ql.exec.Operator<?>>,java.lang.Class<T>) is not applicable
      (cannot infer type-variable(s) T
        (argument mismatch; java.util.List<org.apache.hadoop.hive.ql.exec.Operator<? extends org.apache.hadoop.hive.ql.plan.OperatorDesc>> cannot be converted to java.util.Collection<org.apache.hadoop.hive.ql.exec.Operator<?>>))
    method org.apache.hadoop.hive.ql.exec.OperatorUtils.<T>findOperatorsUpstream(org.apache.hadoop.hive.ql.exec.Operator<?>,java.lang.Class<T>,java.util.Set<T>) is not applicable
      (cannot infer type-variable(s) T
        (actual and formal argument lists differ in length))
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)