luoyuxia commented on code in PR #19876:
URL: https://github.com/apache/flink/pull/19876#discussion_r892162595


##########
flink-connectors/flink-connector-hive/pom.xml:
##########
@@ -1024,9 +1024,25 @@ under the License.
        <profiles>
                <!-- Activate these profiles with -Phive-x.x.x to build and 
test against different Hive versions -->
                <profile>
-                       <id>hive-3.1.1</id>
+                       <id>hive-3.1.2</id>
+                       <build>
+                               <plugins>
+                                       <plugin>
+                                               
<groupId>org.apache.maven.plugins</groupId>
+                                               
<artifactId>maven-surefire-plugin</artifactId>
+                                               <configuration>
+                                                       <!-- disable running 
test in parallel for hive 3.1.2, otherwise, there'll be some concurrency issues 
-->

Review Comment:
   When remove the following configuration and run test with `mvn test -Phive3` 
in `flink/flink-connectors/flink-connector-hive`, it will throw the exception 
   `Caused by: MetaException(message:Required table missing : "DBS" in Catalog 
"" Schema "". DataNucleus requires this table to perform its persistence 
operations. Either your MetaData is incorrect, or you need to enable 
"datanucleus.schema.autoCreateTables")`.
   
   But after add the following configuration  to disable running in parallel, 
and run with `mvn test -Phive3`, everything is ok without throw any exception.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to