[ https://issues.apache.org/jira/browse/HIVE-2391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13103968#comment-13103968 ]
Carl Steinbach commented on HIVE-2391: -------------------------------------- @Amareshwari: The OOM exception is a result of taskdefs being repeatedly defined in subant calls. It turns out that these taskdefs eat up memory since Ant does not free them when the subant call completes. The solution is to move these taskdefs out of build-common.xml (which gets sourced by each subant call) and into the top-level build.xml file. In fact, I was able to eliminate the OOM exception by moving the getversionpref taskdef into build.xml. Please see the attached patch for more details. > published POMs in Maven repo are incorrect > ------------------------------------------ > > Key: HIVE-2391 > URL: https://issues.apache.org/jira/browse/HIVE-2391 > Project: Hive > Issue Type: Bug > Components: Build Infrastructure > Affects Versions: 0.7.1 > Reporter: Alejandro Abdelnur > Priority: Critical > Attachments: HIVE-2391.wip.1.patch.txt > > > The Hive artifacts published in Apache Maven SNAPSHOTS repo are incorrect. > Dependencies are not complete. > Even after adding as dependencies ALL the Hive artifacts it is not possible > to compile a project using Hive JARs (I'm trying to integrate Oozie Hive > Action using Apache Hive). > As a reference the Hive CDH POMs dependencies could be used (Using those > artifacts I'm able to compile/test/run Hive from within Oozie). -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira