You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sho Shimauchi (Created) (JIRA)" <ji...@apache.org> on 2012/03/25 08:34:31 UTC
[jira] [Created] (HIVE-2904) ant gen-test failed
ant gen-test failed
-------------------
Key: HIVE-2904
URL: https://issues.apache.org/jira/browse/HIVE-2904
Project: Hive
Issue Type: Bug
Reporter: Sho Shimauchi
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
[jira] [Updated] (HIVE-2904) ant gen-test failed
Posted by "Srinivasan Sembakkam Rajivelu (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Srinivasan Sembakkam Rajivelu updated HIVE-2904:
------------------------------------------------
Tags: ant gen-test failed
Labels: patch (was: )
Affects Version/s: 0.8.1
Release Note:
For this error,
You have to download Ant contrib file from http://ant-contrib.sourceforge.net/,
And place this ant contrib file in ant installation directory,
And add the following line,
<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
to the build.xml file under <project name="ql" default="jar"> line.
Your ant gen-test will work!!
Status: Patch Available (was: Open)
For this error,
You have to download Ant contrib file from http://ant-contrib.sourceforge.net/,
And place this ant contrib file in ant installation directory,
And add the following line,
<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
to the build.xml file under <project name="ql" default="jar"> line.
Your ant gen-test will work!!
> ant gen-test failed
> -------------------
>
> Key: HIVE-2904
> URL: https://issues.apache.org/jira/browse/HIVE-2904
> Project: Hive
> Issue Type: Bug
> Affects Versions: 0.8.1
> Reporter: Sho Shimauchi
> Labels: patch
> Attachments: HIVE-2904.1.patch, HIVE-2904.D2487.1.patch, HIVE-2904.D2487.2.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
[jira] [Updated] (HIVE-2904) ant gen-test failed
Posted by "Phabricator (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phabricator updated HIVE-2904:
------------------------------
Attachment: HIVE-2904.D2925.1.patch
cwsteinbach requested code review of "HIVE-2904 [jira] ant gen-test failed".
Reviewers: ashutoshc, JIRA
Add gen-test Ant target to top-level build.xml file.
TEST PLAN
EMPTY
REVISION DETAIL
https://reviews.facebook.net/D2925
AFFECTED FILES
build.xml
> ant gen-test failed
> -------------------
>
> Key: HIVE-2904
> URL: https://issues.apache.org/jira/browse/HIVE-2904
> Project: Hive
> Issue Type: Bug
> Affects Versions: 0.8.1
> Reporter: Sho Shimauchi
> Assignee: tamtam180
> Labels: patch
> Attachments: HIVE-2904.1.patch, HIVE-2904.D2487.1.patch, HIVE-2904.D2487.2.patch, HIVE-2904.D2487.3.patch, HIVE-2904.D2925.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
[jira] [Commented] (HIVE-2904) ant gen-test failed
Posted by "Phabricator (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259822#comment-13259822 ]
Phabricator commented on HIVE-2904:
-----------------------------------
ashutoshc has accepted the revision "HIVE-2904 [jira] ant gen-test failed".
+1 will commit if tests pass.
On a sidenote, looks like ant-contrib jar is checked-in the svn repo. Ideally, it should be pulled down from ivy and should not be repo. But that can be tracked in a separate issue.
REVISION DETAIL
https://reviews.facebook.net/D2487
BRANCH
svn
> ant gen-test failed
> -------------------
>
> Key: HIVE-2904
> URL: https://issues.apache.org/jira/browse/HIVE-2904
> Project: Hive
> Issue Type: Bug
> Affects Versions: 0.8.1
> Reporter: Sho Shimauchi
> Assignee: tamtam180
> Labels: patch
> Attachments: HIVE-2904.1.patch, HIVE-2904.D2487.1.patch, HIVE-2904.D2487.2.patch, HIVE-2904.D2487.3.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
[jira] [Commented] (HIVE-2904) ant gen-test failed
Posted by "Namit Jain (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13254453#comment-13254453 ]
Namit Jain commented on HIVE-2904:
----------------------------------
Otherwise, it looks good. Will commit after that
> ant gen-test failed
> -------------------
>
> Key: HIVE-2904
> URL: https://issues.apache.org/jira/browse/HIVE-2904
> Project: Hive
> Issue Type: Bug
> Affects Versions: 0.8.1
> Reporter: Sho Shimauchi
> Labels: patch
> Attachments: HIVE-2904.1.patch, HIVE-2904.D2487.1.patch, HIVE-2904.D2487.2.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
[jira] [Updated] (HIVE-2904) ant gen-test failed
Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carl Steinbach updated HIVE-2904:
---------------------------------
Attachment: HIVE-2904.D2925.1.patch
> ant gen-test failed
> -------------------
>
> Key: HIVE-2904
> URL: https://issues.apache.org/jira/browse/HIVE-2904
> Project: Hive
> Issue Type: Bug
> Affects Versions: 0.8.1
> Reporter: Sho Shimauchi
> Assignee: tamtam180
> Labels: patch
> Attachments: HIVE-2904.1.patch, HIVE-2904.D2487.1.patch, HIVE-2904.D2487.2.patch, HIVE-2904.D2487.3.patch, HIVE-2904.D2925.1.patch, HIVE-2904.D2925.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
[jira] [Updated] (HIVE-2904) ant gen-test failed
Posted by "Phabricator (Updated) (JIRA)" <ji...@apache.org>.
[ 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.3.patch
tamtam180 updated the revision "HIVE-2904 [jira] ant gen-test failed".
Reviewers: JIRA
REVISION DETAIL
https://reviews.facebook.net/D2487
AFFECTED FILES
ql/build.xml
> ant gen-test failed
> -------------------
>
> Key: HIVE-2904
> URL: https://issues.apache.org/jira/browse/HIVE-2904
> Project: Hive
> Issue Type: Bug
> Affects Versions: 0.8.1
> Reporter: Sho Shimauchi
> Labels: patch
> Attachments: HIVE-2904.1.patch, HIVE-2904.D2487.1.patch, HIVE-2904.D2487.2.patch, HIVE-2904.D2487.3.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
[jira] [Assigned] (HIVE-2904) ant gen-test failed
Posted by "tamtam180 (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
tamtam180 reassigned HIVE-2904:
-------------------------------
Assignee: tamtam180
> ant gen-test failed
> -------------------
>
> Key: HIVE-2904
> URL: https://issues.apache.org/jira/browse/HIVE-2904
> Project: Hive
> Issue Type: Bug
> Affects Versions: 0.8.1
> Reporter: Sho Shimauchi
> Assignee: tamtam180
> Labels: patch
> Attachments: HIVE-2904.1.patch, HIVE-2904.D2487.1.patch, HIVE-2904.D2487.2.patch, HIVE-2904.D2487.3.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
[jira] [Commented] (HIVE-2904) ant gen-test failed
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263426#comment-13263426 ]
Hudson commented on HIVE-2904:
------------------------------
Integrated in Hive-trunk-h0.21 #1400 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1400/])
HIVE-2904 ant gen-test failed
(Carl Stienbach via namit) (Revision 1331162)
Result = FAILURE
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1331162
Files :
* /hive/trunk/build.xml
> ant gen-test failed
> -------------------
>
> Key: HIVE-2904
> URL: https://issues.apache.org/jira/browse/HIVE-2904
> Project: Hive
> Issue Type: Bug
> Affects Versions: 0.8.1
> Reporter: Sho Shimauchi
> Assignee: tamtam180
> Labels: patch
> Attachments: HIVE-2904.1.patch, HIVE-2904.D2487.1.patch, HIVE-2904.D2487.2.patch, HIVE-2904.D2487.3.patch, HIVE-2904.D2925.1.patch, HIVE-2904.D2925.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
[jira] [Commented] (HIVE-2904) ant gen-test failed
Posted by "tamtam180 (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13254256#comment-13254256 ]
tamtam180 commented on HIVE-2904:
---------------------------------
Hi,
I have two questions.
1.
There is ant-contrib under $\{hive.root\}/testlibs.
Refer to this or should not? (as $\{hive.root\}/build.xml)
In $\{hive.root\}/build.xml
{noformat}
77 <taskdef resource="net/sf/antcontrib/antcontrib.properties">
78 <classpath>
79 <pathelement location="${hive.root}/testlibs/ant-contrib-1.0b3.jar"/>
80 </classpath>
81 </taskdef>
{noformat}
2.
Used "<if>" In $\{hive.root\}/build-common.xml, and build-common.xml included from $\{hive.root\}/*/build.xml.
But IfTask does not defined in build-common.xml.
I think occur in the also $\{hive.root\}/*/build.xml.
In this case, should I change only ql/build.xml?
thanks.
> ant gen-test failed
> -------------------
>
> Key: HIVE-2904
> URL: https://issues.apache.org/jira/browse/HIVE-2904
> Project: Hive
> Issue Type: Bug
> Affects Versions: 0.8.1
> Reporter: Sho Shimauchi
> Labels: patch
> Attachments: HIVE-2904.1.patch, HIVE-2904.D2487.1.patch, HIVE-2904.D2487.2.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
[jira] [Updated] (HIVE-2904) ant gen-test failed
Posted by "tamtam180 (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
tamtam180 updated HIVE-2904:
----------------------------
Release Note: (was: For this error,
You have to download Ant contrib file from http://ant-contrib.sourceforge.net/,
And place this ant contrib file in ant installation directory,
And add the following line,
<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
to the build.xml file under <project name="ql" default="jar"> line.
Your ant gen-test will work!!)
Status: Patch Available (was: Open)
changed as follows
- edit only ql/build.xml.
- use to ant-contrib-1.0b3.jar from testlibs.
> ant gen-test failed
> -------------------
>
> Key: HIVE-2904
> URL: https://issues.apache.org/jira/browse/HIVE-2904
> Project: Hive
> Issue Type: Bug
> Affects Versions: 0.8.1
> Reporter: Sho Shimauchi
> Labels: patch
> Attachments: HIVE-2904.1.patch, HIVE-2904.D2487.1.patch, HIVE-2904.D2487.2.patch, HIVE-2904.D2487.3.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
[jira] [Updated] (HIVE-2904) ant gen-test failed
Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carl Steinbach updated HIVE-2904:
---------------------------------
Status: Patch Available (was: Open)
> ant gen-test failed
> -------------------
>
> Key: HIVE-2904
> URL: https://issues.apache.org/jira/browse/HIVE-2904
> Project: Hive
> Issue Type: Bug
> Affects Versions: 0.8.1
> Reporter: Sho Shimauchi
> Assignee: tamtam180
> Labels: patch
> Attachments: HIVE-2904.1.patch, HIVE-2904.D2487.1.patch, HIVE-2904.D2487.2.patch, HIVE-2904.D2487.3.patch, HIVE-2904.D2925.1.patch, HIVE-2904.D2925.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
[jira] [Commented] (HIVE-2904) ant gen-test failed
Posted by "Srinivasan Sembakkam Rajivelu (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13254198#comment-13254198 ]
Srinivasan Sembakkam Rajivelu commented on HIVE-2904:
-----------------------------------------------------
For this error,
You have to download Ant contrib file from http://ant-contrib.sourceforge.net/,
And place this ant contrib file in ant installation directory,
And add the following line,
<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
to the build.xml file under <project name="ql" default="jar"> line.
Your ant gen-test will work!!
> 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, HIVE-2904.D2487.2.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
[jira] [Updated] (HIVE-2904) ant gen-test failed
Posted by "Namit Jain (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Namit Jain updated HIVE-2904:
-----------------------------
Status: Open (was: Patch Available)
> ant gen-test failed
> -------------------
>
> Key: HIVE-2904
> URL: https://issues.apache.org/jira/browse/HIVE-2904
> Project: Hive
> Issue Type: Bug
> Affects Versions: 0.8.1
> Reporter: Sho Shimauchi
> Labels: patch
> Attachments: HIVE-2904.1.patch, HIVE-2904.D2487.1.patch, HIVE-2904.D2487.2.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
[jira] [Commented] (HIVE-2904) ant gen-test failed
Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263281#comment-13263281 ]
Namit Jain commented on HIVE-2904:
----------------------------------
+1
> ant gen-test failed
> -------------------
>
> Key: HIVE-2904
> URL: https://issues.apache.org/jira/browse/HIVE-2904
> Project: Hive
> Issue Type: Bug
> Affects Versions: 0.8.1
> Reporter: Sho Shimauchi
> Assignee: tamtam180
> Labels: patch
> Attachments: HIVE-2904.1.patch, HIVE-2904.D2487.1.patch, HIVE-2904.D2487.2.patch, HIVE-2904.D2487.3.patch, HIVE-2904.D2925.1.patch, HIVE-2904.D2925.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
[jira] [Updated] (HIVE-2904) ant gen-test failed
Posted by "Phabricator (Updated) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (HIVE-2904) ant gen-test failed
Posted by "Ashutosh Chauhan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashutosh Chauhan updated HIVE-2904:
-----------------------------------
Affects Version/s: 0.9.0
Fix Version/s: 0.10.0
> ant gen-test failed
> -------------------
>
> Key: HIVE-2904
> URL: https://issues.apache.org/jira/browse/HIVE-2904
> Project: Hive
> Issue Type: Bug
> Affects Versions: 0.8.1, 0.9.0
> Reporter: Sho Shimauchi
> Assignee: tamtam180
> Labels: patch
> Fix For: 0.10.0
>
> Attachments: HIVE-2904.1.patch, HIVE-2904.D2487.1.patch, HIVE-2904.D2487.2.patch, HIVE-2904.D2487.3.patch, HIVE-2904.D2925.1.patch, HIVE-2904.D2925.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
[jira] [Updated] (HIVE-2904) ant gen-test failed
Posted by "tamtam180 (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
tamtam180 updated HIVE-2904:
----------------------------
Attachment: HIVE-2904.1.patch
added if-task define to build-common.xml.
> 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
>
>
> 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
[jira] [Updated] (HIVE-2904) ant gen-test failed
Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Namit Jain updated HIVE-2904:
-----------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
Committed. Thanks Carl
> ant gen-test failed
> -------------------
>
> Key: HIVE-2904
> URL: https://issues.apache.org/jira/browse/HIVE-2904
> Project: Hive
> Issue Type: Bug
> Affects Versions: 0.8.1
> Reporter: Sho Shimauchi
> Assignee: tamtam180
> Labels: patch
> Attachments: HIVE-2904.1.patch, HIVE-2904.D2487.1.patch, HIVE-2904.D2487.2.patch, HIVE-2904.D2487.3.patch, HIVE-2904.D2925.1.patch, HIVE-2904.D2925.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
[jira] [Commented] (HIVE-2904) ant gen-test failed
Posted by "Namit Jain (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13254452#comment-13254452 ]
Namit Jain commented on HIVE-2904:
----------------------------------
1. You should use the ant-contrib-1.0b3.jar from testlibs.
2. Yes, only change ql/build.xml
> ant gen-test failed
> -------------------
>
> Key: HIVE-2904
> URL: https://issues.apache.org/jira/browse/HIVE-2904
> Project: Hive
> Issue Type: Bug
> Affects Versions: 0.8.1
> Reporter: Sho Shimauchi
> Labels: patch
> Attachments: HIVE-2904.1.patch, HIVE-2904.D2487.1.patch, HIVE-2904.D2487.2.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
[jira] [Updated] (HIVE-2904) ant gen-test failed
Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carl Steinbach updated HIVE-2904:
---------------------------------
Status: Open (was: Patch Available)
-1
Running ant from any of the subproject directories is not supported. Also, ant-contrib taskdefs are already defined in the top-level build.xml file, and including them in subproject build files has caused problems in the past. Instead, we should add a gen-test target to the top-level build.xml file and define a default gen-test target in build-commom.xml.
> ant gen-test failed
> -------------------
>
> Key: HIVE-2904
> URL: https://issues.apache.org/jira/browse/HIVE-2904
> Project: Hive
> Issue Type: Bug
> Affects Versions: 0.8.1
> Reporter: Sho Shimauchi
> Assignee: tamtam180
> Labels: patch
> Attachments: HIVE-2904.1.patch, HIVE-2904.D2487.1.patch, HIVE-2904.D2487.2.patch, HIVE-2904.D2487.3.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
[jira] [Updated] (HIVE-2904) ant gen-test failed
Posted by "Phabricator (Updated) (JIRA)" <ji...@apache.org>.
[ 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.2.patch
tamtam180 updated the revision "HIVE-2904 [jira] ant gen-test failed".
Reviewers: JIRA
REVISION DETAIL
https://reviews.facebook.net/D2487
AFFECTED FILES
build-common.xml
> 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, HIVE-2904.D2487.2.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