Matthias Pohl created FLINK-34036:
-------------------------------------
Summary: Various HiveDialectQueryITCase tests fail in GitHub
Actions workflow with Hadoop 3.1.3 enabled
Key: FLINK-34036
URL: https://issues.apache.org/jira/browse/FLINK-34036
Project: Flink
Issue Type: Bug
Components: Connectors / Hadoop Compatibility, Connectors / Hive
Affects Versions: 1.19.0
Reporter: Matthias Pohl
The following {{HiveDialectQueryITCase}} tests fail consistently in the
FLINK-27075 GitHub Actions nightly workflow of Flink on {{master}} (but not
{{release-1.18}}!):
* {{testInsertDirectory}}
* {{testCastTimeStampToDecimal}}
* {{testNullLiteralAsArgument}}
{code}
Error: 03:38:45 03:38:45.661 [ERROR] Tests run: 22, Failures: 1, Errors: 2,
Skipped: 0, Time elapsed: 379.0 s <<< FAILURE! -- in
org.apache.flink.connectors.hive.HiveDialectQueryITCase
Error: 03:38:45 03:38:45.662 [ERROR]
org.apache.flink.connectors.hive.HiveDialectQueryITCase.testNullLiteralAsArgument
-- Time elapsed: 0.069 s <<< ERROR!
Jan 09 03:38:45 java.lang.NoSuchMethodError:
org.apache.hadoop.hive.serde2.objectinspector.primitive.PrimitiveObjectInspectorUtils.getTimestamp(Ljava/lang/Object;Lorg/apache/hadoop/hive/serde2/objectinspector/PrimitiveObjectInspector;)Ljava/sql/Timestamp;
Jan 09 03:38:45 at
org.apache.flink.connectors.hive.HiveDialectQueryITCase.testNullLiteralAsArgument(HiveDialectQueryITCase.java:959)
Jan 09 03:38:45 at java.lang.reflect.Method.invoke(Method.java:498)
Jan 09 03:38:45
Error: 03:38:45 03:38:45.662 [ERROR]
org.apache.flink.connectors.hive.HiveDialectQueryITCase.testCastTimeStampToDecimal
-- Time elapsed: 0.007 s <<< ERROR!
Jan 09 03:38:45 org.apache.flink.table.api.ValidationException: Table with
identifier 'test-catalog.default.t1' does not exist.
Jan 09 03:38:45 at
org.apache.flink.table.catalog.CatalogManager.dropTableInternal(CatalogManager.java:1266)
Jan 09 03:38:45 at
org.apache.flink.table.catalog.CatalogManager.dropTable(CatalogManager.java:1206)
Jan 09 03:38:45 at
org.apache.flink.table.operations.ddl.DropTableOperation.execute(DropTableOperation.java:74)
Jan 09 03:38:45 at
org.apache.flink.table.api.internal.TableEnvironmentImpl.executeInternal(TableEnvironmentImpl.java:1107)
Jan 09 03:38:45 at
org.apache.flink.table.api.internal.TableEnvironmentImpl.executeSql(TableEnvironmentImpl.java:735)
Jan 09 03:38:45 at
org.apache.flink.connectors.hive.HiveDialectQueryITCase.testCastTimeStampToDecimal(HiveDialectQueryITCase.java:835)
Jan 09 03:38:45 at java.lang.reflect.Method.invoke(Method.java:498)
Jan 09 03:38:45
Error: 03:38:45 03:38:45.663 [ERROR]
org.apache.flink.connectors.hive.HiveDialectQueryITCase.testInsertDirectory --
Time elapsed: 7.326 s <<< FAILURE!
Jan 09 03:38:45 org.opentest4j.AssertionFailedError:
Jan 09 03:38:45
Jan 09 03:38:45 expected: "A:english=90#math=100#history=85"
Jan 09 03:38:45 but was: "A:english=90math=100history=85"
Jan 09 03:38:45 at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Jan 09 03:38:45 at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
Jan 09 03:38:45 at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
Jan 09 03:38:45 at
org.apache.flink.connectors.hive.HiveDialectQueryITCase.testInsertDirectory(HiveDialectQueryITCase.java:498)
Jan 09 03:38:45 at java.lang.reflect.Method.invoke(Method.java:498)
{code}
The most-recent build failures in GHA workflow failures are:
*
https://github.com/XComp/flink/actions/runs/7455836411/job/20285758541#step:12:23332
*
https://github.com/XComp/flink/actions/runs/7447254277/job/20259593089#step:12:23378
*
https://github.com/XComp/flink/actions/runs/7442459819/job/20246101021#step:12:23332
*
https://github.com/XComp/flink/actions/runs/7438111934/job/20236674470#step:12:23375
*
https://github.com/XComp/flink/actions/runs/7435499743/job/20231030744#step:12:23367
Interestingly, the failure doesn't appear in the Azure Pipelines nightlies.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)