incubator-hcatalog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (Issue Comment Edited) (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (HCATALOG-172) End-to-end test framework for HCatalog
Date Thu, 01 Dec 2011 07:33:40 GMT

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

Daniel Dai edited comment on HCATALOG-172 at 12/1/11 7:33 AM:
--------------------------------------------------------------

Usage:

Install HCat server:
ant -Dmysql.driver.home=/home/daniel/mysql-connector-java-5.1.18 -Dhcat.install.dir=/usr/local/hcat
-Dforrest.home=/home/daniel/apache-forrest-0.8 -Dharness.hadoop.home=/usr -Dhcat.tarball=/home/daniel/tmp/hcat.tar.gz
-Dhcat.port=10888 -Dmetastore.sasl.enabled=true -Dmetastore.keytabpath=/etc/security/keytabs/hcat.service.keytab
-Dmetastore.principal="hcat/hrt9n16.cc1.ygridcore.net@HORTON.YGRIDCORE.NET" install

Deploy test data:
ant -Dharness.cluster.conf=/etc/hadoop -Dhive.metastore.uris=thrift://localhost:10888 -Dharness.hadoop.home=/usr
-Dharness.cluster.bin=/usr/bin/hadoop -Dharness.pig.home=/home/daniel/pig -Dhcat.install.dir=/usr/local/hcat
deploy

Run tests:
ant -Dharness.cluster.conf=/etc/hadoop -Dhive.metastore.uris=thrift://localhost:10888 -Dharness.hadoop.home=/usr
-Dharness.cluster.bin=/usr/bin/hadoop -Dharness.pig.home=/home/daniel/pig -Dhcat.install.dir=/usr/local/hcat
-Dmetastore.principal=hcat/hrt9n16.cc1.ygridcore.net@HORTON.YGRIDCORE.NET

Run a single test:
ant -Dharness.cluster.conf=/etc/hadoop -Dhive.metastore.uris=thrift://localhost:10888 -Dharness.hadoop.home=/usr
-Dharness.cluster.bin=/usr/bin/hadoop -Dharness.pig.home=/home/daniel/pig -Dhcat.install.dir=/usr/local/hcat
-Dmetastore.principal=hcat/hrt9n16.cc1.ygridcore.net@HORTON.YGRIDCORE.NET -Dtests.to.run="-t
Hadoop_Checkin_1"

For non-secure cluster, simply remove option metastore.principal
                
      was (Author: daijy):
    Usage:

Install HCat server:
ant -Dmysql.driver.home=/home/daniel/mysql-connector-java-5.1.18 -Dhcat.install.dir=/usr/local/hcat
-Dforrest.home=/home/daniel/apache-forrest-0.8 -Dharness.hadoop.home=/usr -Dhcat.tarball=/home/daniel/tmp/hcat.tar.gz
-Dhcat.port=8088 -Dmetastore.sasl.enabled=true -Dmetastore.keytabpath=/etc/security/keytabs/hcat.service.keytab
-Dmetastore.principal=hcat/hrt9n16.cc1.ygridcore.net@HORTON.YGRIDCORE.NET install

Deploy test data:
ant -Dharness.cluster.conf=/etc/hadoop -Dhive.metastore.uris=thrift://localhost:8088 -Dharness.hadoop.home=/usr/share/hadoop
-Dharness.cluster.bin=/usr/bin/hadoop -Dharness.pig.home=/home/daniel/pig deploy

Run tests:
ant -Dharness.cluster.conf=/etc/hadoop -Dhive.metastore.uris=thrift://localhost:8088 -Dharness.hadoop.home=/usr
-Dharness.cluster.bin=/usr/bin/hadoop -Dharness.pig.home=/home/daniel/pig -Dhcat.install.dir=/usr/local/hcat
-Dmetastore.principal=hcat/hrt9n16.cc1.ygridcore.net@HORTON.YGRIDCORE.NET

Run a single test:
ant -Dharness.cluster.conf=/etc/hadoop -Dhive.metastore.uris=thrift://localhost:8088 -Dharness.hadoop.home=/usr
-Dharness.cluster.bin=/usr/bin/hadoop -Dharness.pig.home=/home/daniel/pig -Dhcat.install.dir=/usr/local/hcat
-Dmetastore.principal=hcat/hrt9n16.cc1.ygridcore.net@HORTON.YGRIDCORE.NET -Dtests.to.run="-t
Hadoop_Checkin_1"

For non-secure cluster, simply remove option metastore.principal
                  
> 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, HCATALOG-172-2.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

        

Mime
View raw message