[ https://issues.apache.org/jira/browse/HIVE-19966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16519996#comment-16519996 ]
Vihang Karajgaonkar commented on HIVE-19966: -------------------------------------------- [~prasanth_j] [~sershe] Any idea how to fix this? Does this mean we can build Hive only using Oracle jdk? > Compile error when using open-jdk > --------------------------------- > > Key: HIVE-19966 > URL: https://issues.apache.org/jira/browse/HIVE-19966 > Project: Hive > Issue Type: Bug > Reporter: Vihang Karajgaonkar > Priority: Major > > When you compile Hive using open-jdk-8 you see this error > {noformat} > hive/ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/EncodedReaderImpl.java:[72,16] > sun.misc.Cleaner is internal proprietary API and may be removed in a future > release > [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 :hive-exec > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)