[ https://issues.apache.org/jira/browse/HIVE-2473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13118598#comment-13118598 ]
Carl Steinbach commented on HIVE-2473: -------------------------------------- Workaround: either remove the $HADOOP_HOME/build directory (which was created when ant was run), or else set $HADOOP_HOME to point to the build subdirectory. Cause: The root cause of the bug is that the aspectjtools-1.6.5.jar appears twice on the CLASSPATH when the build subdirectory is present, and when this happens DataNucleus throws an NPE. > Hive throws an NPE when $HADOOP_HOME points to a tarball install directory > that contains a build/ subdirectory. > --------------------------------------------------------------------------------------------------------------- > > Key: HIVE-2473 > URL: https://issues.apache.org/jira/browse/HIVE-2473 > Project: Hive > Issue Type: Bug > Environment: hadoop-0.20.204.0 > Reporter: Carl Steinbach > Assignee: Carl Steinbach > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira