slachiewicz commented on PR #37: URL: https://github.com/apache/flink-connector-hive/pull/37#issuecomment-6110124885
I ran this branch end to end: Flink 2.0-preview1 with the connector built at `b0ac9fdb`, a HiveCatalog against an `apache/hive:4.2.1` metastore, and a script that creates a database, plain and partitioned tables, inserts, prunes partitions, creates a view and a function, renames, and drops everything. Every statement succeeded, through the Hive 4 `*_req` calls. Run: https://github.com/slachiewicz/hms-client-go/actions/runs/38145920995 (the `flink-hive4-pr37` job in [census.yml](https://github.com/slachiewicz/hms-client-go/blob/agent/census-hive4/.github/workflows/census.yml)). I had to work around three things: - There is no `flink-sql-connector-hive-4.x` bundle, so I assembled the classpath from `flink-connector-hive-4.0.0`'s dependencies. - That tree resolves `hadoop-common` 3.3.0 beside 3.3.6 for the other Hadoop artifacts. Catalog creation fails with `NoClassDefFoundError: org/apache/hadoop/fs/LeaseRecoverable` until `hadoop-common` is 3.3.6. - `mvn install -pl flink-connector-hive -Phive4` hangs after maven-shade-plugin writes the dependency-reduced POM. CI only runs `mvn test`, so it doesn't get there. FLINK-39640 bumps the shade plugin and may cover it. I built without `-Phive4` and put the shim jar next to the connector. -- 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]
