You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gang Tim Liu (JIRA)" <ji...@apache.org> on 2012/05/04 19:20:48 UTC
[jira] [Commented] (HIVE-3003) "ant gen-test" fails in ./ql
[ https://issues.apache.org/jira/browse/HIVE-3003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13268545#comment-13268545 ]
Gang Tim Liu commented on HIVE-3003:
------------------------------------
Root-cause
==========
ant-contrib is not configured in ql/build.xml
Solution
========
Add it to it. Reference is here http://ant-contrib.sourceforge.net/
> "ant gen-test" fails in ./ql
> ----------------------------
>
> Key: HIVE-3003
> URL: https://issues.apache.org/jira/browse/HIVE-3003
> Project: Hive
> Issue Type: Bug
> Components: Tests
> Reporter: Gang Tim Liu
> Assignee: Gang Tim Liu
> Priority: Minor
>
> ant gen-test fails in <hive-root>/ql.
> Expected behavior
> =================
> BUILD SUCCESSFUL
> Actual behavior
> ================
> BUILD FAILED
> ./hive/ql/build.xml:85: Problem: failed to create task or type if
> 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.
> How to reproduce it
> ===================
> 1. git clone git://github.com/facebook/arcanist.git
> 2. ant clean package eclipse-files
> 3. cd metastore/
> 4. ant model-jar
> 5. cd ../ql
> 6. ant gen-test
> Details in https://cwiki.apache.org/confluence/display/Hive/GettingStarted+EclipseSetup
--
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