Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-3239

Compilation failure due to TypeParameterUnusedInFormals

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.14.0
    • 1.14.0
    • build
    • None

    Description

      Compilation failures noted while Kudu building on Ubuntu 18.04.

      It's coming from Google's ErrorProne static checker.

      Note: Some input files use or override a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      /home/bankim/src/rckudu/kudu/java/kudu-client/src/main/java/org/apache/kudu/client/KuduClient.java:466: error: An unhandled exception was thrown by the Error Prone static analysis plugin.
        static <R> R joinAndHandleException(Deferred<R> deferred) throws KuduException {
                     ^
           Please report this at https://github.com/google/error-prone/issues/new and include the following:
        
           error-prone version: 2.3.3
           BugPattern: TypeParameterUnusedInFormals
           Stack Trace:
           java.lang.NoSuchFieldError: bound
        	at com.google.errorprone.bugpatterns.TypeParameterUnusedInFormals.matchMethod(TypeParameterUnusedInFormals.java:71)
        	at com.google.errorprone.scanner.ErrorProneScanner.processMatchers(ErrorProneScanner.java:433)
        	at com.google.errorprone.scanner.ErrorProneScanner.visitMethod(ErrorProneScanner.java:725)
        	at com.google.errorprone.scanner.ErrorProneScanner.visitMethod(ErrorProneScanner.java:150)
        	at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:898)
        	at jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
      
      
      src/kudu/hms/CMakeFiles/hms_plugin_jar.dir/build.make:79: recipe for target 'bin/hms-plugin.jar' failed
      make[2]: *** [bin/hms-plugin.jar] Error 1
      CMakeFiles/Makefile2:7710: recipe for target 'src/kudu/hms/CMakeFiles/hms_plugin_jar.dir/all' failed
      make[1]: *** [src/kudu/hms/CMakeFiles/hms_plugin_jar.dir/all] Error 2
      make[1]: *** Waiting for unfinished jobs....
      Note: Some input files use or override a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      /home/bankim/src/rckudu/kudu/java/kudu-subprocess/src/main/java/org/apache/kudu/subprocess/QueueUtil.java:33: error: An unhandled exception was thrown by the Error Prone static analysis plugin.
        static <DataT> DataT take(BlockingQueue<DataT> queue) {
                             ^
           Please report this at https://github.com/google/error-prone/issues/new and include the following:
        
           error-prone version: 2.3.3
           BugPattern: TypeParameterUnusedInFormals
           Stack Trace:
           java.lang.NoSuchFieldError: bound
        	at com.google.errorprone.bugpatterns.TypeParameterUnusedInFormals.matchMethod(TypeParameterUnusedInFormals.java:71)
      

      Attachments

        Activity

          People

            granthenke Grant Henke
            bankim Bankim Bhavsar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: