[ 
https://issues.apache.org/jira/browse/HCATALOG-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158612#comment-13158612
 ] 

Daniel Dai commented on HCATALOG-172:
-------------------------------------

Usage:

Install HCat server:
ant -Dmysql.driver.home=/home/daniel/mysql-connector-java-5.1.18 
-Dforrest.home=/home/daniel/util/apache-forrest-0.8 
-Dharness.hadoop.home=/home/daniel/hadoop-0.20.204.0 
-Dhcat.tarball=/home/daniel/tmp/hcat.tar.gz install

Deploy test data:
ant -Dharness.cluster.conf=/home/daniel/hadoop-0.20.204.0/conf 
-Dhive.metastore.uris=thrift://localhost:10888 
-Dhcat.server.url=localhost:10888 
-Dharness.hadoop.home=/home/daniel/hadoop-0.20.204.0 
-Dharness.cluster.bin=/home/daniel/hadoop-0.20.204.0/bin/hadoop 
-Dharness.pig.home=/home/daniel/pig deploy

Run tests:
ant -Dharness.cluster.conf=/home/daniel/hadoop-0.20.204.0/conf 
-Dhive.metastore.uris=thrift://localhost:10888 
-Dhcat.server.url=localhost:10888 
-Dharness.hadoop.home=/home/daniel/hadoop-0.20.204.0 
-Dharness.cluster.bin=/home/daniel/hadoop-0.20.204.0/bin/hadoop 
-Dharness.pig.home=/home/daniel/pig

Run a single test:
ant -Dharness.cluster.conf=/home/daniel/hadoop-0.20.204.0/conf 
-Dhive.metastore.uris=thrift://localhost:10888 
-Dhcat.server.url=localhost:10888 
-Dharness.hadoop.home=/home/daniel/hadoop-0.20.204.0 
-Dharness.cluster.bin=/home/daniel/hadoop-0.20.204.0/bin/hadoop 
-Dharness.pig.home=/home/daniel/pig -Dtests.to.run="-t Hadoop_Checkin_1"
                
> End-to-end test framework for HCatalog
> --------------------------------------
>
>                 Key: HCATALOG-172
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-172
>             Project: HCatalog
>          Issue Type: New Feature
>          Components: test
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.3
>
>         Attachments: HCATALOG-172-1.patch
>
>


--
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

        

Reply via email to