Skip to content

Fix: update glue datacatalog hive3 client jar npe - #361

Merged
jamespfaulkner merged 2 commits into
mainfrom
fix/update-glue-datacatalog-hive3-client-jar-npe
Aug 3, 2026
Merged

Fix: update glue datacatalog hive3 client jar npe#361
jamespfaulkner merged 2 commits into
mainfrom
fix/update-glue-datacatalog-hive3-client-jar-npe

Conversation

@jamespfaulkner

@jamespfaulkner jamespfaulkner commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Rebuilds the bundled aws-glue-datacatalog-hive3-client-3.4.0-WD-1.jar with JDK 8 (matching the fork's 1.8 source/target), picking up upstream fix b52cbc9 which guards BaseCatalogToHiveConverter against a null SerdeInfo and null Compressed/NumberOfBuckets/StoredAsSubDirectories on Iceberg tables whose StorageDescriptor was stripped (e.g. by Glue's managed column-statistics service).
  • This rebuild uses the correct JDK 8 toolchain, verified via manifest (Build-Jdk-Spec: 1.8) and class bytecode major version (52).

Test plan

  • Confirmed rebuilt jar manifest reports Build-Jdk-Spec: 1.8 and class files are bytecode major version 52 (Java 8), matching WD's own jdk.version=1.8 compile target.
  • Ran the upstream fix's test classes (Hive3CatalogToHiveConverterTest, GlueMetastoreClientDelegateTest, EntityConversionTest) against the rebuilt module — 140/140 pass, 0 failures.
  • Decompiled (javap) the new jar's BaseCatalogToHiveConverter and HiveTableValidator classes and diffed against the pre-fix jar (from before last week's Iceberg SD work) to confirm the null-guards (firstNonNull on Compressed/NumberOfBuckets/StoredAsSubDirectories, early-return ifnonnull check in convertSerDeInfo) are actually present in the bundled bytecode, not just in source.

🤖 Generated with Claude Code

jamespfaulkner and others added 2 commits August 3, 2026 10:25
Rebuilds the bundled aws-glue-datacatalog-hive3-client-3.4.0-WD-1 jar
from branch/waggle-dance with JDK 8 (matching the pom's 1.8 source/target),
picking up upstream commit b52cbc9 which guards
BaseCatalogToHiveConverter against a null SerdeInfo and null
Compressed/NumberOfBuckets/StoredAsSubDirectories fields on Iceberg
tables whose StorageDescriptor was stripped (e.g. by Glue's managed
column-statistics service). The previous jar rebuild for this fix was
built with JDK 25 by mistake; verified via javap bytecode diff against
the pre-fix jar that the null-guards are present and the class files
target Java 8.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Every recent CHANGELOG entry (including the immediately preceding 4.1.8
entry) is committed under a resolved [version] - date heading rather
than [Unreleased]. pom.xml is already at 4.1.9-SNAPSHOT, so this entry
should match that convention.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@jamespfaulkner jamespfaulkner changed the title Fix/update glue datacatalog hive3 client jar npe Fix: update glue datacatalog hive3 client jar npe Aug 3, 2026
@jamespfaulkner
jamespfaulkner marked this pull request as ready for review August 3, 2026 09:29
@jamespfaulkner
jamespfaulkner requested a review from a team as a code owner August 3, 2026 09:29
@jamespfaulkner
jamespfaulkner merged commit 90b11e0 into main Aug 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants