FANNG1 commented on PR #4548:
URL: https://github.com/apache/gravitino/pull/4548#issuecomment-2339489837
> 1. 2.9M
distribution/package/iceberg-rest-server/libs/guava-32.1.3-jre.jar
> 2. 1.8M
distribution/package/iceberg-rest-server/libs/log4j-core-2.22.0.jar
Iceberg REST server could run on standalone mode, couldn't reuse the jars
from Gravitino server, so the two jars seems necessary.
> 3. 1.6M
distribution/package/iceberg-rest-server/libs/hadoop-mapreduce-client-core-2.10.2.jar
There are runtime dependences for the MapReduce client.
```
Caused by: java.lang.NoClassDefFoundError: org/apache/hadoop/mapred/JobConf
at org.apache.hadoop.hive.conf.HiveConf.initialize(HiveConf.java:4051)
at org.apache.hadoop.hive.conf.HiveConf.<init>(HiveConf.java:4019)
at org.apache.iceberg.hive.HiveClientPool.<init>(HiveClientPool.java:55)
at
org.apache.iceberg.hive.CachedClientPool.lambda$clientPool$0(CachedClientPool.java:96)
at
com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2406)
at
java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:[191](https://github.com/apache/gravitino/actions/runs/10784541742/job/29908323252?pr=4863#step:8:192)6)
at
com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2404)
at
com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2387)
at
com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:108)
at
com.github.benmanes.caffeine.cache.LocalManualCache.get(LocalManualCache.java:62)
at
org.apache.iceberg.hive.CachedClientPool.clientPool(CachedClientPool.java:96)
at
org.apache.iceberg.hive.CachedClientPool.run(CachedClientPool.java:122)
at
org.apache.iceberg.hive.HiveCatalog.loadNamespaceMetadata(HiveCatalog.java:443)
```
--
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]