nilesh-kanawade opened a new issue #3459: Compilation Failure while executing 
"mvn install package  -DskipTests -Pbuild-shaded-jar"
URL: https://github.com/apache/incubator-pinot/issues/3459
 
 
   I was checking out pinot and was trying to install it locally in my machine. 
During "mvn install package  -DskipTests -Pbuild-shaded-jar" I received 
compilation error in PinotBuffer class (pinot-core). I tried searching if 
anybody encounter this issue before but nobody did. :(
   
   Here is the versions of tools I'm using:
   Java : openjdk version "11.0.1" 2018-10-16
   Maven : Apache Maven 3.6.0
   
   Below is the snippet of error in debug mode:
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) 
on project pinot-core: Compilation failure: Compilation failure: 
   [ERROR] 
/Users/nilesh/Documents/repositories/pinot/incubator-pinot/pinot-core/src/main/java/com/linkedin/pinot/core/segment/memory/PinotByteBuffer.java:[27,17]
 DirectBuffer is internal proprietary API and may be removed in a future release
   [ERROR] 
/Users/nilesh/Documents/repositories/pinot/incubator-pinot/pinot-core/src/main/java/com/linkedin/pinot/core/segment/memory/PinotByteBuffer.java:[26,15]
 error: cannot find symbol
   [ERROR]   symbol:   class Cleaner
   [ERROR]   location: package sun.misc
   [ERROR] 
/Users/nilesh/Documents/repositories/pinot/incubator-pinot/pinot-core/src/main/java/com/linkedin/pinot/core/segment/memory/PinotByteBuffer.java:[27,17]
 DirectBuffer is internal proprietary API and may be removed in a future release
   [ERROR] -> [Help 1]
   org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile 
(default-compile) on project pinot-core: Compilation failure
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:215)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:156)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:148)
       at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:117)
       at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:81)
       at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
 (SingleThreadedBuilder.java:56)
       at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
(LifecycleStarter.java:128)
       at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
       at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
       at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
       at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
       at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
       at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
       at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
       at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:62)
       at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke (Method.java:566)
       at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
(Launcher.java:289)
       at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
(Launcher.java:229)
       at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
(Launcher.java:415)
       at org.codehaus.plexus.classworlds.launcher.Launcher.main 
(Launcher.java:356)
   Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation 
failure
       at org.apache.maven.plugin.AbstractCompilerMojo.execute 
(AbstractCompilerMojo.java:729)
       at org.apache.maven.plugin.CompilerMojo.execute (CompilerMojo.java:128)
       at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
(DefaultBuildPluginManager.java:137)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:210)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:156)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:148)
       at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:117)
       at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:81)
       at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
 (SingleThreadedBuilder.java:56)
       at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
(LifecycleStarter.java:128)
       at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
       at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
       at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
       at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
       at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
       at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
       at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
       at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:62)
       at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke (Method.java:566)
       at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
(Launcher.java:289)
       at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
(Launcher.java:229)
       at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
(Launcher.java:415)
       at org.codehaus.plexus.classworlds.launcher.Launcher.main 
(Launcher.java:356)
   [ERROR] 
   [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 :pinot-core
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to