[
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 6:47 PM:
--------------------------------------------------------------
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=/home/daniel/hadoop-0.20.204.0
-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/[email protected]"
install
Deploy test data:
ant -Dharness.cluster.conf=/etc/hadoop
-Dhive.metastore.uris=thrift://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 -Dhcat.install.dir=/usr/local/hcat deploy
Run tests:
ant -Dharness.cluster.conf=/etc/hadoop
-Dhive.metastore.uris=thrift://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 -Dhcat.install.dir=/usr/local/hcat
-Dmetastore.principal=hcat/[email protected]
Run a single test:
ant -Dharness.cluster.conf=/etc/hadoop
-Dhive.metastore.uris=thrift://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 -Dhcat.install.dir=/usr/local/hcat
-Dmetastore.principal=hcat/[email protected]
-Dtests.to.run="-t Hadoop_Checkin_1"
For non-secure cluster, simply remove value of 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=10888
-Dmetastore.sasl.enabled=true
-Dmetastore.keytabpath=/etc/security/keytabs/hcat.service.keytab
-Dmetastore.principal="hcat/[email protected]"
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/[email protected]
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/[email protected]
-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