[
https://issues.apache.org/jira/browse/HIVE-18849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16390841#comment-16390841
]
Мирон commented on HIVE-18849:
------------------------------
At the moment I can only make it work by replacing standalone-metastore pom.xml
datanucleus-maven-plugin block. I have attached changed pom.xml with name
standalone-metastore.pom.xml.working.
********
Initial thought was to incrementally change property of current plugin
datanucleus-maven-plugin
<metadataIncludes>${project.build.directory}/classes/org/apache/hadoop/hive/metastore/model/*.class</metadataIncludes>
but at the moment it either doesn't work, or maven incorrectly reports no work
done, message reads:
"[WARNING] No files to run DataNucleus tool
'org.datanucleus.enhancer.DataNucleusEnhancer'"
Thought not ideal, it works, so, I am unblocked. I will resolve / close the bug
and leave it to your looks whether to pick up the change or troubleshoot
further, leave it as it is.
> Java 9 Building "mvn clean package -Pdist -rf :hive-common" get Caused by:
> java.lang.NullPointerException
> ---------------------------------------------------------------------------------------------------------
>
> Key: HIVE-18849
> URL: https://issues.apache.org/jira/browse/HIVE-18849
> Project: Hive
> Issue Type: Bug
> Reporter: Мирон
> Assignee: Мирон
> Priority: Blocker
> Attachments: Issue_Build_Complete_Log.txt, Issue_Stack_Trace.txt,
> metastore.pom.xml.working
>
>
> Please see attached stack trace, both, brief and complete capture, both using
> -X verbose output maven flag.
> Irrespective of the true cause, it would be very nice if this message of
> build tool ( maven )
> ------------------
> Caused by: java.lang.NullPointerException
> at com.sun.tools.javac.main.JavaCompiler.readSourceFile
> (JavaCompiler.java:825)
> at
> com.sun.tools.javac.processing.JavacProcessingEnvironment$ImplicitCompleter.complete
> (JavacProcessingEnvironment.java:1510)
> at com.sun.tools.javac.code.Symbol.complete (Symbol.java:633)
> ------------------
> carried actual file name, that was attempted reading and failed with
> exception.
>
> Git repository cloned from [https://github.com/apache/hive.git] yesterday -
> today overnight.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)