[
https://issues.apache.org/jira/browse/HIVE-4941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14380793#comment-14380793
]
Anthony Hsu commented on HIVE-4941:
-----------------------------------
I'm trying to run TestHiveMetaStore but I'm having trouble getting it to run.
I made the following changes to the root pom.xml file
{code}
diff --git a/pom.xml b/pom.xml
index 5d4f13c..a8098ce 100644
--- a/pom.xml
+++ b/pom.xml
@@ -712,12 +712,12 @@
<configuration>
<excludes>
<exclude>**/TestSerDe.java</exclude>
- <exclude>**/TestHiveMetaStore.java</exclude>
+ <!--exclude>**/TestHiveMetaStore.java</exclude-->
<exclude>**/ql/exec/vector/util/*.java</exclude>
<exclude>**/ql/exec/vector/udf/legacy/*.java</exclude>
<exclude>**/ql/exec/vector/udf/generic/*.java</exclude>
<exclude>**/TestHiveServer2Concurrency.java</exclude>
- <exclude>**/TestHiveMetaStore.java</exclude>
+ <!--exclude>**/TestHiveMetaStore.java</exclude-->
</excludes>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<reuseForks>false</reuseForks>
{code}
and then ran
{code}
mvn clean install -DskipTests -Phadoop-2
cd itests
mvn clean install -DskipTests -Phadoop-2
mvn test -Phadoop-2 -Dtest=TestHiveMetaStore
{code}
However, in the output, I see no tests were run:
{code}
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
{code}
A couple questions:
# Why is the TestHiveMetaStore test excluded?
# How do I run the TestHiveMetaStore test?
> PTest2 Investigate Ignores
> --------------------------
>
> Key: HIVE-4941
> URL: https://issues.apache.org/jira/browse/HIVE-4941
> Project: Hive
> Issue Type: Task
> Reporter: Brock Noland
> Assignee: Brock Noland
> Priority: Minor
>
> Currently we excluding the following tests:
> unitTests.exclude = TestHiveMetaStore TestSerDe TestBeeLineDriver
> TestHiveServer2Concurrency TestJdbcDriver2 TestHiveServer2Concurrency
> TestBeeLineDriver
> some of them we got from the build files but I am not sure about
> TestJdbcDriver2 for example. We should investigate why these are excluded.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)