You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Darren Yin (JIRA)" <ji...@apache.org> on 2012/11/15 09:04:15 UTC
[jira] [Commented] (HIVE-3377) ant model-jar command fails in
metastore
[ https://issues.apache.org/jira/browse/HIVE-3377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497833#comment-13497833 ]
Darren Yin commented on HIVE-3377:
----------------------------------
The problem likely comes from ant-contrib not being loaded by ant when ant model-jar is run. If you want it to run without deleting that line, you may be able to run something like
ant -lib /usr/share/java model-jar
assuming that you have the ant-contrib jar sitting in /usr/share/java.
> ant model-jar command fails in metastore
> ----------------------------------------
>
> Key: HIVE-3377
> URL: https://issues.apache.org/jira/browse/HIVE-3377
> Project: Hive
> Issue Type: Bug
> Components: Metastore
> Affects Versions: 0.10.0
> Reporter: Vandana Ayyalasomayajula
> Priority: Minor
> Labels: build
>
> Running "ant model-jar" command to set up eclipse dev environment from the following wiki:
> https://cwiki.apache.org/Hive/gettingstarted-eclipsesetup.html
> fails with the following message:
> BUILD FAILED
> **/workspace/hive-trunk/metastore/build.xml:22: The following error occurred while executing this line:
> **/workspace/hive-trunk/build-common.xml:112: Problem: failed to create task or type osfamily
> Cause: The name is undefined.
> Action: Check the spelling.
> Action: Check that any custom tasks/types have been declared.
> Action: Check that any <presetdef>/<macrodef> declarations have taken place.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira