MichaelHan0228 opened a new issue, #14118:
URL: https://github.com/apache/iceberg/issues/14118
### Apache Iceberg version
1.10.0 (latest release)
### Query engine
Flink
### Please describe the bug 🐞
1. `java.lang.NoClassDefFoundError: org/apache/hadoop/util/Sets` appears
when it comes to checkpoint. I write data to s3, below is some config. Also
this seems a Class of `hadoop-common`, but `hadoop-common` does not have this
class.
```
org.apache.hadoop.conf.Configuration hadoopConf = new
org.apache.hadoop.conf.Configuration();
hadoopConf.set("fs.s3a.impl", "org.apache.hadoop.fs.s3a.S3AFileSystem");
Map<String, String> properties = new HashMap<>();
properties.put("type", "iceberg");
properties.put("clients", "5");
properties.put("property-version", "1");
properties.put("catalog-type", "hive");
properties.put("warehouse", ICEBERG_WAREHOUSE);
properties.put("uri", HIVE_METASTORE);
CatalogLoader catalogLoader = CatalogLoader.hive("test_dynamicsink",
hadoopConf, properties);
```
2. The doc shows we can use code below, but it seems that there is no
non-parameter constructor provided to do this
```
DynamicRecord record = new DynamicRecord();
// Set table name based on business logic
TableIdentifier tableIdentifier = TableIdentifier.of(database, tableName);
record.setTableIdentifier(tableIdentifier);
```
### Willingness to contribute
- [ ] I can contribute a fix for this bug independently
- [ ] I would be willing to contribute a fix for this bug with guidance from
the Iceberg community
- [x] I cannot contribute a fix for this bug at this time
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]