[
https://issues.apache.org/jira/browse/HIVE-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phabricator updated HIVE-2904:
------------------------------
Attachment: HIVE-2904.D2487.1.patch
tamtam180 requested code review of "HIVE-2904 [jira] ant gen-test failed".
Reviewers: JIRA
https://issues.apache.org/jira/browse/HIVE-2904
add if-task define to build-common.xml.
When I ran the commands introduced in Getting Started page, ant gen-test
failed with the following error.
$ ant gen-test
Buildfile: /Users/sho/src/apache/hive/ql/build.xml
test-conditions:
[echo] Project: ql
test-init:
[echo] Project: ql
[mkdir] Created dir: /Users/sho/src/apache/hive/build/ql/test/data
[mkdir] Created dir:
/Users/sho/src/apache/hive/build/ql/test/logs/clientpositive
[mkdir] Created dir:
/Users/sho/src/apache/hive/build/ql/test/logs/clientnegative
[mkdir] Created dir:
/Users/sho/src/apache/hive/build/ql/test/logs/positive
[mkdir] Created dir:
/Users/sho/src/apache/hive/build/ql/test/logs/negative
[mkdir] Created dir:
/Users/sho/src/apache/hive/build/ql/test/data/warehouse
[mkdir] Created dir: /Users/sho/src/apache/hive/build/ql/test/data/metadb
gen-test:
[echo] ql
[qtestgen] Template Path:/Users/sho/src/apache/hive/ql/src/test/templates
[qtestgen] 2012/03/25 15:27:10 org.apache.velocity.runtime.log.JdkLogChute
log
[qtestgen] ???: FileResourceLoader : adding path
'/Users/sho/src/apache/hive/ql/src/test/templates'
[qtestgen] Generated
/Users/sho/src/apache/hive/build/ql/test/src/org/apache/hadoop/hive/ql/parse/TestParse.java
from template TestParse.vm
[qtestgen] Template Path:/Users/sho/src/apache/hive/ql/src/test/templates
[qtestgen] 2012/03/25 15:27:10 org.apache.velocity.runtime.log.JdkLogChute
log
[qtestgen] ???: FileResourceLoader : adding path
'/Users/sho/src/apache/hive/ql/src/test/templates'
[qtestgen] Generated
/Users/sho/src/apache/hive/build/ql/test/src/org/apache/hadoop/hive/ql/parse/TestParseNegative.java
from template TestParseNegative.vm
[qtestgen] Template Path:/Users/sho/src/apache/hive/ql/src/test/templates
[qtestgen] 2012/03/25 15:27:10 org.apache.velocity.runtime.log.JdkLogChute
log
[qtestgen] ???: FileResourceLoader : adding path
'/Users/sho/src/apache/hive/ql/src/test/templates'
[qtestgen] Generated
/Users/sho/src/apache/hive/build/ql/test/src/org/apache/hadoop/hive/cli/TestCliDriver.java
from template TestCliDriver.vm
BUILD FAILED
/Users/sho/src/apache/hive/ql/build.xml:116: 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.
Getting Started:
https://cwiki.apache.org/confluence/display/Hive/GettingStarted+EclipseSetup
TEST PLAN
EMPTY
REVISION DETAIL
https://reviews.facebook.net/D2487
AFFECTED FILES
ql/build.xml
MANAGE HERALD DIFFERENTIAL RULES
https://reviews.facebook.net/herald/view/differential/
WHY DID I GET THIS EMAIL?
https://reviews.facebook.net/herald/transcript/5571/
Tip: use the X-Herald-Rules header to filter Herald messages in your client.
> ant gen-test failed
> -------------------
>
> Key: HIVE-2904
> URL: https://issues.apache.org/jira/browse/HIVE-2904
> Project: Hive
> Issue Type: Bug
> Reporter: Sho Shimauchi
> Attachments: HIVE-2904.1.patch, HIVE-2904.D2487.1.patch
>
>
> When I ran the commands introduced in Getting Started page, ant gen-test
> failed with the following error.
> {quote}
> $ ant gen-test
>
> Buildfile: /Users/sho/src/apache/hive/ql/build.xml
> test-conditions:
> [echo] Project: ql
> test-init:
> [echo] Project: ql
> [mkdir] Created dir: /Users/sho/src/apache/hive/build/ql/test/data
> [mkdir] Created dir:
> /Users/sho/src/apache/hive/build/ql/test/logs/clientpositive
> [mkdir] Created dir:
> /Users/sho/src/apache/hive/build/ql/test/logs/clientnegative
> [mkdir] Created dir:
> /Users/sho/src/apache/hive/build/ql/test/logs/positive
> [mkdir] Created dir:
> /Users/sho/src/apache/hive/build/ql/test/logs/negative
> [mkdir] Created dir:
> /Users/sho/src/apache/hive/build/ql/test/data/warehouse
> [mkdir] Created dir: /Users/sho/src/apache/hive/build/ql/test/data/metadb
> gen-test:
> [echo] ql
> [qtestgen] Template Path:/Users/sho/src/apache/hive/ql/src/test/templates
> [qtestgen] 2012/03/25 15:27:10 org.apache.velocity.runtime.log.JdkLogChute
> log
> [qtestgen] ???: FileResourceLoader : adding path
> '/Users/sho/src/apache/hive/ql/src/test/templates'
> [qtestgen] Generated
> /Users/sho/src/apache/hive/build/ql/test/src/org/apache/hadoop/hive/ql/parse/TestParse.java
> from template TestParse.vm
> [qtestgen] Template Path:/Users/sho/src/apache/hive/ql/src/test/templates
> [qtestgen] 2012/03/25 15:27:10 org.apache.velocity.runtime.log.JdkLogChute
> log
> [qtestgen] ???: FileResourceLoader : adding path
> '/Users/sho/src/apache/hive/ql/src/test/templates'
> [qtestgen] Generated
> /Users/sho/src/apache/hive/build/ql/test/src/org/apache/hadoop/hive/ql/parse/TestParseNegative.java
> from template TestParseNegative.vm
> [qtestgen] Template Path:/Users/sho/src/apache/hive/ql/src/test/templates
> [qtestgen] 2012/03/25 15:27:10 org.apache.velocity.runtime.log.JdkLogChute
> log
> [qtestgen] ???: FileResourceLoader : adding path
> '/Users/sho/src/apache/hive/ql/src/test/templates'
> [qtestgen] Generated
> /Users/sho/src/apache/hive/build/ql/test/src/org/apache/hadoop/hive/cli/TestCliDriver.java
> from template TestCliDriver.vm
> BUILD FAILED
> /Users/sho/src/apache/hive/ql/build.xml:116: 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.
> {quote}
> Getting Started:
> 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