You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "ebyhr (via GitHub)" <gi...@apache.org> on 2026/06/09 06:07:06 UTC

[PR] Core: Extend org.apache.iceberg.hadoop.Configurable in HadoopConfigurable [iceberg]

ebyhr opened a new pull request, #16736:
URL: https://github.com/apache/iceberg/pull/16736

   `ResolvingFileIO` throws `NoClassDefFoundError` in Trino / Starburst because the project disallows Hadoop dependency as #14284 explains. Now, HadoopConfigurable extends `org.apache.iceberg.hadoop.Configurable` instead of `org.apache.hadoop.conf.Configurable`.
   
   ```
   java.util.concurrent.CompletionException: io.trino.spi.TrinoException: Error processing metadata for table jcf_scan_plan_test.test_table_1
   	at java.base/java.util.concurrent.CompletableFuture.wrapInCompletionException(CompletableFuture.java:323)
   	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:359)
   	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:364)
   	at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:1015)
   	at java.base/java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(CompletableFuture.java:995)
   	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:531)
   	at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2221)
   	at io.airlift.concurrent.MoreFutures$2.onFailure(MoreFutures.java:495)
   	at com.google.common.util.concurrent.Futures$CallbackListener.run(Futures.java:1111)
   	at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:30)
   	at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1021)
   	at com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:784)
   	at com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:533)
   	at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.afterRanInterruptiblyFailure(TrustedListenableFutureTask.java:138)
   	at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:89)
   	at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:80)
   	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
   	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
   	at java.base/java.lang.Thread.run(Thread.java:1474)
   Caused by: io.trino.spi.TrinoException: Error processing metadata for table schema.table
   	at io.trino.plugin.iceberg.IcebergExceptions.translateMetadataException(IcebergExceptions.java:54)
   	at io.trino.plugin.iceberg.IcebergSplitSource.lambda$getNextBatch$2(IcebergSplitSource.java:282)
   	at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:1011)
   	... 15 more
   Caused by: java.lang.IllegalArgumentException: Cannot initialize FileIO implementation org.apache.iceberg.io.ResolvingFileIO: Cannot find constructor for interface org.apache.iceberg.io.FileIO
   	Missing org.apache.iceberg.io.ResolvingFileIO [java.lang.NoClassDefFoundError: org/apache/hadoop/conf/Configurable]
   	at org.apache.iceberg.CatalogUtil.loadFileIO(CatalogUtil.java:407)
   	at org.apache.iceberg.rest.RESTTableScan.scanFileIO(RESTTableScan.java:238)
   	at org.apache.iceberg.rest.RESTTableScan.planTableScan(RESTTableScan.java:213)
   	at org.apache.iceberg.rest.RESTTableScan.planFiles(RESTTableScan.java:196)
   	at io.trino.plugin.iceberg.IcebergSplitSource.planFiles(IcebergSplitSource.java:371)
   	at io.trino.plugin.iceberg.IcebergSplitSource.getNextBatchInternal(IcebergSplitSource.java:305)
   	at io.trino.plugin.iceberg.IcebergSplitSource.lambda$getNextBatch$1(IcebergSplitSource.java:277)
   	at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:128)
   	at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:74)
   	... 4 more
   Caused by: java.lang.NoSuchMethodException: Cannot find constructor for interface org.apache.iceberg.io.FileIO
   	Missing org.apache.iceberg.io.ResolvingFileIO [java.lang.NoClassDefFoundError: org/apache/hadoop/conf/Configurable]
   	at org.apache.iceberg.common.DynConstructors.buildCheckedException(DynConstructors.java:253)
   	at org.apache.iceberg.common.DynConstructors$Builder.buildChecked(DynConstructors.java:211)
   	at org.apache.iceberg.CatalogUtil.loadFileIO(CatalogUtil.java:404)
   	... 12 more
   	Suppressed: java.lang.NoClassDefFoundError: org/apache/hadoop/conf/Configurable
   		at java.base/java.lang.ClassLoader.defineClass1(Native Method)
   		at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:962)
   		at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:144)
   		at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:454)
   		at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:367)
   		at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:557)
   		at io.trino.server.PluginClassLoader.loadClass(PluginClassLoader.java:124)
   		at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
   		at java.base/java.lang.ClassLoader.defineClass1(Native Method)
   		at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:962)
   		at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:144)
   		at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:454)
   		at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:367)
   		at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:557)
   		at io.trino.server.PluginClassLoader.loadClass(PluginClassLoader.java:124)
   		at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
   		at java.base/java.lang.Class.forName0(Native Method)
   		at java.base/java.lang.Class.forName(Class.java:547)
   		at org.apache.iceberg.common.DynConstructors$Builder.classForName(DynConstructors.java:224)
   		at org.apache.iceberg.common.DynConstructors$Builder.impl(DynConstructors.java:145)
   		at org.apache.iceberg.CatalogUtil.loadFileIO(CatalogUtil.java:403)
   		... 12 more
   	Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.conf.Configurable
   		at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:377)
   		at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:557)
   		at io.trino.server.PluginClassLoader.loadClass(PluginClassLoader.java:124)
   		at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
   		... 33 more
   ```


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] Core: Extend org.apache.iceberg.hadoop.Configurable in HadoopConfigurable [iceberg]

Posted by "pvary (via GitHub)" <gi...@apache.org>.
pvary commented on code in PR #16736:
URL: https://github.com/apache/iceberg/pull/16736#discussion_r3465981443


##########
core/src/main/java/org/apache/iceberg/hadoop/HadoopConfigurable.java:
##########
@@ -43,4 +42,23 @@ public interface HadoopConfigurable extends Configurable {
    */
   void serializeConfWith(
       Function<Configuration, SerializableSupplier<Configuration>> confSerializer);
+
+  /**
+   * Set the configuration to be used by this object.
+   *
+   * @param conf configuration to be used
+   */
+  @Override
+  default void setConf(Configuration conf) {
+    throw new UnsupportedOperationException("setConf is not implemented");

Review Comment:
   So all of the available implementations implement this method



-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] Core: Extend org.apache.iceberg.hadoop.Configurable in HadoopConfigurable [iceberg]

Posted by "pvary (via GitHub)" <gi...@apache.org>.
pvary commented on PR #16736:
URL: https://github.com/apache/iceberg/pull/16736#issuecomment-4889870528

   Merged to main.
   Thanks @ebyhr for the PR and @nastra, @manuzhang, @wombatu-kun for the reviews!


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] Core: Extend org.apache.iceberg.hadoop.Configurable in HadoopConfigurable [iceberg]

Posted by "ebyhr (via GitHub)" <gi...@apache.org>.
ebyhr commented on PR #16736:
URL: https://github.com/apache/iceberg/pull/16736#issuecomment-4787972033

   Right, this can be a breaking change. However, I don't have an alternative approach. Do you have any other suggestions?


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] Core: Extend org.apache.iceberg.hadoop.Configurable in HadoopConfigurable [iceberg]

Posted by "nastra (via GitHub)" <gi...@apache.org>.
nastra commented on code in PR #16736:
URL: https://github.com/apache/iceberg/pull/16736#discussion_r3429221333


##########
core/src/main/java/org/apache/iceberg/hadoop/HadoopConfigurable.java:
##########
@@ -31,7 +30,7 @@
  * object to implement this interface so that a serializable supplier of configuration can be
  * provided instead of an actual Hadoop configuration which is not serializable.
  */
-public interface HadoopConfigurable extends Configurable {
+public interface HadoopConfigurable extends Configurable<Configuration> {

Review Comment:
   I'm fine with this change but we might eventually want to change this to `HadoopConfigurable extends Configurable<Object>` so that this is really only loaded in environments that actually have Hadoop on the classpath



-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] Core: Extend org.apache.iceberg.hadoop.Configurable in HadoopConfigurable [iceberg]

Posted by "nastra (via GitHub)" <gi...@apache.org>.
nastra commented on PR #16736:
URL: https://github.com/apache/iceberg/pull/16736#issuecomment-4731767994

   @ebyhr does this actually solve the issue for Trino? Because we still have `org.apache.hadoop.conf.Configuration` in `HadoopConfigurable`. Wouldn't that fail if Trino excludes the hadoop-common dependency?


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] Core: Extend org.apache.iceberg.hadoop.Configurable in HadoopConfigurable [iceberg]

Posted by "pvary (via GitHub)" <gi...@apache.org>.
pvary commented on PR #16736:
URL: https://github.com/apache/iceberg/pull/16736#issuecomment-4788589052

   I'm ok with the change, I don't see a better solution, but this is pretty low level change and might affect a wide range of people.
   
   Maybe drop a mail to the dev list and say that if there is no objection in a week, then we merge this?


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] Core: Extend org.apache.iceberg.hadoop.Configurable in HadoopConfigurable [iceberg]

Posted by "manuzhang (via GitHub)" <gi...@apache.org>.
manuzhang commented on PR #16736:
URL: https://github.com/apache/iceberg/pull/16736#issuecomment-4797266816

   Will it better to add a new interface and move ResolvingFileIO to it?


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] Core: Extend org.apache.iceberg.hadoop.Configurable in HadoopConfigurable [iceberg]

Posted by "ebyhr (via GitHub)" <gi...@apache.org>.
ebyhr commented on code in PR #16736:
URL: https://github.com/apache/iceberg/pull/16736#discussion_r3466060032


##########
core/src/main/java/org/apache/iceberg/hadoop/HadoopConfigurable.java:
##########
@@ -43,4 +42,23 @@ public interface HadoopConfigurable extends Configurable {
    */
   void serializeConfWith(
       Function<Configuration, SerializableSupplier<Configuration>> confSerializer);
+
+  /**
+   * Set the configuration to be used by this object.
+   *
+   * @param conf configuration to be used
+   */
+  @Override
+  default void setConf(Configuration conf) {
+    throw new UnsupportedOperationException("setConf is not implemented");

Review Comment:
   These defaults were added to avoid a revapi `java.method.addedToInterface error`. That said, I'm open to removing them if you prefer. 



-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] Core: Extend org.apache.iceberg.hadoop.Configurable in HadoopConfigurable [iceberg]

Posted by "pvary (via GitHub)" <gi...@apache.org>.
pvary merged PR #16736:
URL: https://github.com/apache/iceberg/pull/16736


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] Core: Extend org.apache.iceberg.hadoop.Configurable in HadoopConfigurable [iceberg]

Posted by "wombatu-kun (via GitHub)" <gi...@apache.org>.
wombatu-kun commented on code in PR #16736:
URL: https://github.com/apache/iceberg/pull/16736#discussion_r3385094974


##########
core/src/main/java/org/apache/iceberg/io/ResolvingFileIO.java:
##########
@@ -72,7 +72,7 @@ public class ResolvingFileIO
   private final AtomicBoolean isClosed = new AtomicBoolean(false);
   private final transient StackTraceElement[] createStack;
   private SerializableMap<String, String> properties;
-  private SerializableSupplier<Configuration> hadoopConf;
+  private SerializableSupplier<Object> hadoopConf;

Review Comment:
   The Object retype here (and the unchecked casts it forces at lines 153, 159, 164, plus both `@SuppressWarnings("unchecked")`) is not required for the interface swap: `ResolvingFileIO` already has `setConf(Configuration)` and `getConf()`, and `getConf()` is now just a default it overrides, so this class compiles unchanged with the field left as `SerializableSupplier<Configuration>`. Generics are erased, so `Object` buys nothing at runtime, and unlike the `CatalogUtil`/`RESTTable` Object-for-conf precedent, this class still references `Configuration` directly in `setConf`/`getConf`/`serializeConfWith` and the import, so the retype removes no Hadoop reference. Suggest keeping `SerializableSupplier<Configuration>` and dropping the three casts and both `@SuppressWarnings`.



-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] Core: Extend org.apache.iceberg.hadoop.Configurable in HadoopConfigurable [iceberg]

Posted by "pvary (via GitHub)" <gi...@apache.org>.
pvary commented on code in PR #16736:
URL: https://github.com/apache/iceberg/pull/16736#discussion_r3466576914


##########
core/src/main/java/org/apache/iceberg/hadoop/HadoopConfigurable.java:
##########
@@ -43,4 +42,23 @@ public interface HadoopConfigurable extends Configurable {
    */
   void serializeConfWith(
       Function<Configuration, SerializableSupplier<Configuration>> confSerializer);
+
+  /**
+   * Set the configuration to be used by this object.
+   *
+   * @param conf configuration to be used
+   */
+  @Override
+  default void setConf(Configuration conf) {
+    throw new UnsupportedOperationException("setConf is not implemented");

Review Comment:
   We need them, otherwise we need to cast when used



-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] Core: Extend org.apache.iceberg.hadoop.Configurable in HadoopConfigurable [iceberg]

Posted by "ebyhr (via GitHub)" <gi...@apache.org>.
ebyhr commented on PR #16736:
URL: https://github.com/apache/iceberg/pull/16736#issuecomment-4678878357

   @stevenzwu @nastra Could you please review this PR when you have 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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] Core: Extend org.apache.iceberg.hadoop.Configurable in HadoopConfigurable [iceberg]

Posted by "nastra (via GitHub)" <gi...@apache.org>.
nastra commented on PR #16736:
URL: https://github.com/apache/iceberg/pull/16736#issuecomment-4786689552

   would be good to get some feedback from @pvary and @stevenzwu on this as well before merging


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] Core: Extend org.apache.iceberg.hadoop.Configurable in HadoopConfigurable [iceberg]

Posted by "pvary (via GitHub)" <gi...@apache.org>.
pvary commented on PR #16736:
URL: https://github.com/apache/iceberg/pull/16736#issuecomment-4787835005

   Shouldn't this be a breaking change?
   The code is source compatible, but it is not binary compatible


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] Core: Extend org.apache.iceberg.hadoop.Configurable in HadoopConfigurable [iceberg]

Posted by "pvary (via GitHub)" <gi...@apache.org>.
pvary commented on code in PR #16736:
URL: https://github.com/apache/iceberg/pull/16736#discussion_r3465966877


##########
core/src/main/java/org/apache/iceberg/hadoop/HadoopConfigurable.java:
##########
@@ -43,4 +42,23 @@ public interface HadoopConfigurable extends Configurable {
    */
   void serializeConfWith(
       Function<Configuration, SerializableSupplier<Configuration>> confSerializer);
+
+  /**
+   * Set the configuration to be used by this object.
+   *
+   * @param conf configuration to be used
+   */
+  @Override
+  default void setConf(Configuration conf) {
+    throw new UnsupportedOperationException("setConf is not implemented");

Review Comment:
   What happens if we call `IcebergRecordReader.checkAndSetIoConfig`?



-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] Core: Extend org.apache.iceberg.hadoop.Configurable in HadoopConfigurable [iceberg]

Posted by "ebyhr (via GitHub)" <gi...@apache.org>.
ebyhr commented on PR #16736:
URL: https://github.com/apache/iceberg/pull/16736#issuecomment-4731809741

   @nastra I've confirmed this PR resolves our issue. We don't call the methods depending on `org.apache.hadoop.conf.Configuration` (at least for now). 


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] Core: Extend org.apache.iceberg.hadoop.Configurable in HadoopConfigurable [iceberg]

Posted by "manuzhang (via GitHub)" <gi...@apache.org>.
manuzhang commented on code in PR #16736:
URL: https://github.com/apache/iceberg/pull/16736#discussion_r3472619152


##########
core/src/main/java/org/apache/iceberg/hadoop/HadoopConfigurable.java:
##########
@@ -31,7 +30,7 @@
  * object to implement this interface so that a serializable supplier of configuration can be
  * provided instead of an actual Hadoop configuration which is not serializable.
  */
-public interface HadoopConfigurable extends Configurable {
+public interface HadoopConfigurable extends Configurable<Configuration> {

Review Comment:
   @ebyhr The javadoc above needs update as well.



-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] Core: Extend org.apache.iceberg.hadoop.Configurable in HadoopConfigurable [iceberg]

Posted by "ebyhr (via GitHub)" <gi...@apache.org>.
ebyhr commented on PR #16736:
URL: https://github.com/apache/iceberg/pull/16736#issuecomment-4784417353

   Can we merge this PR? 


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org