[ 
https://issues.apache.org/jira/browse/HIVE-13052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Dere updated HIVE-13052:
------------------------------
    Attachment: HIVE-13052.1.patch

I've added this as a test in itests/, since there seem to be some issues with 
the dependencies, plus it looks like there are some settings/properties needed 
by MiniHS2 that are only set during mvn test. Also added support for MiniHS2 
and LLAP. The test will return immediately (so we don't hang unit tests) unless 
-DminiHS2.run=true has been specified.

Basic example running from itests/. Setting miniHS2.usePortsFromConf=true means 
the JDBC port will be at port 10000 (or whatever what specified by the config 
file), as opposed to the normal MiniHS2 behavior of grabbing the next available 
port:
{noformat}
mvn test -Dtest=TestMiniHS2Cluster -DminiHS2.run=true  
-DminiHS2.usePortsFromConf=true
{noformat}

An example, running MiniHS2 with LLAP:
{noformat}
mvn test -Dtest=TestMiniHS2Cluster  -Dtez.version=0.8.2 -DminiHS2.run=true 
-DminiHS2.clusterType=llap 
-DminiHS2.conf=../../data/conf/llap/hive-site.xml,../../data/conf/llap/tez-site.l,../../data/conf/llap/llap-daemon-site.xml
 -DminiHS2.usePortsFromConf=true
{noformat}

> Allow tests to start MiniHS2 for manual testing
> -----------------------------------------------
>
>                 Key: HIVE-13052
>                 URL: https://issues.apache.org/jira/browse/HIVE-13052
>             Project: Hive
>          Issue Type: Bug
>          Components: Testing Infrastructure
>            Reporter: Jason Dere
>            Assignee: Jason Dere
>         Attachments: HIVE-13052.1.patch
>
>
> Useful for some manual testing



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to