[ 
https://issues.apache.org/jira/browse/KUDU-3239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bankim Bhavsar updated KUDU-3239:
---------------------------------
    Description: 
Compilation failures noted while Kudu building on Ubuntu 18.04.

It's coming from Google's ErrorProne static checker.
{noformat}
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)

{noformat}
{noformat}
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)
{noformat}

  was:
Compilation failures noted while Kudu building on Ubuntu 18.04.

{noformat}
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)

{noformat}

{noformat}
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)
{noformat}


> Compilation failure due to TypeParameterUnusedInFormals
> -------------------------------------------------------
>
>                 Key: KUDU-3239
>                 URL: https://issues.apache.org/jira/browse/KUDU-3239
>             Project: Kudu
>          Issue Type: Task
>          Components: build
>    Affects Versions: 1.14.0
>            Reporter: Bankim Bhavsar
>            Priority: Major
>
> Compilation failures noted while Kudu building on Ubuntu 18.04.
> It's coming from Google's ErrorProne static checker.
> {noformat}
> 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)
> {noformat}
> {noformat}
> 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)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to