Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-7153

Drill Fails to Build using JDK 1.8.0_65

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.16.0
    • Fix Version/s: 1.16.0
    • Component/s: None
    • Labels:

      Description

      Drill fails to build when using Java 1.8.0_65. Throws the following error:

      [{{ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project drill-java-exec: Compilation failure
      [ERROR] /Users/cgivre/github/drill-dev/drill/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/FilterEvaluatorUtils.java:[59,68] error: unreported exception E; must be caught or declared to be thrown
      [ERROR] where E,T,V are type-variables:
      [ERROR] E extends Exception declared in method <T,V,E>accept(ExprVisitor<T,V,E>,V)
      [ERROR] T extends Object declared in method <T,V,E>accept(ExprVisitor<T,V,E>,V)
      [ERROR] V extends Object declared in method <T,V,E>accept(ExprVisitor<T,V,E>,V)
      [ERROR]
      [ERROR] -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR] mvn <goals> -rf :drill-java-exec}}

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cgivre Charles Givre
                Reporter:
                cgivre Charles Givre
                Reviewer:
                Vova Vysotskyi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: